org.jasig.services.persondir.support
Class MessageFormatPersonAttributeDao.FormatAttribute

java.lang.Object
  extended by org.jasig.services.persondir.support.MessageFormatPersonAttributeDao.FormatAttribute
Enclosing class:
MessageFormatPersonAttributeDao

public static class MessageFormatPersonAttributeDao.FormatAttribute
extends Object

Sets up a formatted attribute


Constructor Summary
MessageFormatPersonAttributeDao.FormatAttribute()
           
MessageFormatPersonAttributeDao.FormatAttribute(Set<String> attributeNames, String format, List<String> sourceAttributes)
           
 
Method Summary
 boolean equals(Object object)
           
 Set<String> getAttributeNames()
           
 String getFormat()
           
 List<String> getSourceAttributes()
           
 int hashCode()
           
 void setAttributeNames(Set<String> attributeNames)
           
 void setFormat(String format)
           
 void setSourceAttributes(List<String> sourceAttributes)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MessageFormatPersonAttributeDao.FormatAttribute

public MessageFormatPersonAttributeDao.FormatAttribute()

MessageFormatPersonAttributeDao.FormatAttribute

public MessageFormatPersonAttributeDao.FormatAttribute(Set<String> attributeNames,
                                                       String format,
                                                       List<String> sourceAttributes)
Method Detail

getAttributeNames

public Set<String> getAttributeNames()

setAttributeNames

public void setAttributeNames(Set<String> attributeNames)
Parameters:
attributeNames - The resulting attributes the formatted string should be returned under

getFormat

public String getFormat()

setFormat

public void setFormat(String format)
Parameters:
format - The MessageFormat string used to generate the attribute

getSourceAttributes

public List<String> getSourceAttributes()

setSourceAttributes

public void setSourceAttributes(List<String> sourceAttributes)
Parameters:
sourceAttributes - The attributes to pass as arguments to the MessageFormat

equals

public boolean equals(Object object)
Overrides:
equals in class Object
See Also:
Object.equals(Object)

hashCode

public int hashCode()
Overrides:
hashCode in class Object
See Also:
Object.hashCode()

toString

public String toString()
Overrides:
toString in class Object
See Also:
Object.toString()


Copyright © 2012 Jasig. All Rights Reserved.