|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--us.openinternet.luge.valueobject.ValueObject | +--us.openinternet.luge.valueobject.PersonVO
This is a ValueObject specialized to handle person data.
Don't forget to take a close look at the methods inherited from ValueObject.
Constructor Summary | |
PersonVO()
|
|
PersonVO(java.util.Hashtable ht)
Use this constructor to load initial attribute:value data or you can use the empty constructor and the method setAllAttributes(Hashtable ht) |
Method Summary | |
java.lang.String |
getCity()
Use this method to get the ldap value for l (that's right... |
java.lang.String |
getCommonName()
Use this method to get the ldap value for cn or just use getAttributeValue("cn") |
java.lang.String |
getDisplayName()
Use this method to get the ldap value for the displayName attribute |
java.lang.String |
getEmail()
Use this method to get the ldap value for mail or just use getAttributeValue("mail") |
java.lang.String |
getFaxNumber()
Use this method to get the ldap value for facsimileTelephoneNumber or just use getAttributeValue("facsimileTelephoneNumber") |
java.lang.String |
getFirstName()
Use this method to get the ldap value for first name or "given name." Or just use getAttributeValue("givenname") |
java.lang.String |
getLastName()
Use this method to get the ldap value for sn or just use getAttributeValue("sn") |
java.lang.String |
getMiddleName()
Use this method to get the ldap value for initials or just use getAttributeValue("initials") |
java.lang.String |
getName()
This method returns first uid and then cn.if uid is not found. |
java.lang.String |
getTelephoneNumber()
Use this method to get the ldap value for the telephoneNumber attribute |
java.lang.String |
getUID()
Use this method to get the ldap value for uid or just use getAttributeValue("uid") |
void |
setCity(java.lang.String city)
Use this method to set the ldap value for l (that's right... |
void |
setDisplayName(java.lang.String displayName)
Use this method to set the ldap value for the displayName attribute |
void |
setEmail(java.lang.String eMailAddress)
Use this method to set the ldap value for mail or just use setAttributeValue("mail", "foo_bar@spam.com") |
void |
setFaxNumber(java.lang.String faxNumber)
Use this method to set the ldap value for facsimileTelephoneNumber or just use setAttributeValue("facsimileTelephoneNumber", "1-732-750-5800") |
void |
setFirstName(java.lang.String firstName)
Use this method to set the ldap value for uid or just use setAttributeValue("givenname", "Foo") |
void |
setLastName(java.lang.String lastName)
Use this method to set the ldap value for sn or just use setAttributeValue("sn", "Bar") |
void |
setMiddleName(java.lang.String middleName)
Use this method to set the ldap value for initials or just use setAttributeValue("initials", "MyMiddleName") |
void |
setName(java.lang.String name)
This method sets the uid of the person, |
void |
setTelephoneNumber(java.lang.String telephoneNumber)
Use this method to set the ldap value for the telephoneNumber attribute |
void |
setUID(java.lang.String uid)
Use this method to set the ldap value for uid and currently also for cn, although this may change in the future. |
Methods inherited from class us.openinternet.luge.valueobject.ValueObject |
addValueToAttribute, appendAttributes, getAllAttributes, getAttributeNames, getAttributeValue, getMultiValuedAttribute, setAllAttributes, setAttributeValue, setAttributeValues, size, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public PersonVO()
public PersonVO(java.util.Hashtable ht)
Method Detail |
public java.lang.String getName()
public void setName(java.lang.String name)
public void setUID(java.lang.String uid)
public java.lang.String getUID()
public void setLastName(java.lang.String lastName)
public java.lang.String getLastName()
public void setFirstName(java.lang.String firstName)
public java.lang.String getFirstName()
public java.lang.String getCommonName()
public void setMiddleName(java.lang.String middleName)
public java.lang.String getMiddleName()
public void setTelephoneNumber(java.lang.String telephoneNumber)
public java.lang.String getTelephoneNumber()
public void setEmail(java.lang.String eMailAddress)
public java.lang.String getEmail()
public void setCity(java.lang.String city)
public java.lang.String getCity()
public void setDisplayName(java.lang.String displayName)
public java.lang.String getDisplayName()
public void setFaxNumber(java.lang.String faxNumber)
public java.lang.String getFaxNumber()
|
Copyright 2003, Michael Schwartz All Rights Reserved. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |