|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nih.nci.caarray.domain.AbstractCaArrayObject
gov.nih.nci.caarray.domain.AbstractCaArrayEntity
gov.nih.nci.caarray.domain.contact.AbstractContact
gov.nih.nci.caarray.domain.contact.Person
public class Person
Field Summary |
---|
Fields inherited from class gov.nih.nci.caarray.domain.AbstractCaArrayEntity |
---|
CAARRAY_LSID_AUTHORITY, CAARRAY_LSID_NAMESPACE |
Fields inherited from class gov.nih.nci.caarray.domain.AbstractCaArrayObject |
---|
DEFAULT_BATCH_SIZE, DEFAULT_STRING_COLUMN_SIZE, LARGE_TEXT_FIELD_LENGTH |
Constructor Summary | |
---|---|
Person()
Default constructor. |
|
Person(gov.nih.nci.security.authorization.domainobjects.User user)
Constructor for a Person based on a CSM User instance. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object object)
The default comparison uses the id. |
java.util.Set<Organization> |
getAffiliations()
Gets the affiliations. |
java.lang.String |
getFirstName()
Gets the firstName. |
java.lang.String |
getLastName()
Gets the lastName. |
java.lang.String |
getMiddleInitials()
Gets the middleInitials. |
java.lang.String |
getName()
|
int |
hashCode()
Default hashCode goes off of id. |
void |
setFirstName(java.lang.String firstNameVal)
Sets the firstName. |
void |
setLastName(java.lang.String lastNameVal)
Sets the lastName. |
void |
setMiddleInitials(java.lang.String middleInitialsVal)
Sets the middleInitials. |
java.lang.String |
toString()
|
Methods inherited from class gov.nih.nci.caarray.domain.contact.AbstractContact |
---|
getAddress, getEmail, getFax, getPhone, getUrl, setAddress, setEmail, setFax, setPhone, setUrl |
Methods inherited from class gov.nih.nci.caarray.domain.AbstractCaArrayEntity |
---|
getLsid, getLsidAuthority, getLsidNamespace, getLsidObjectId, setLsid, setLsid, setLsidForEntity |
Methods inherited from class gov.nih.nci.caarray.domain.AbstractCaArrayObject |
---|
getCaBigId, getId, getPostLoadSecurityPolicies, getRemoteApiSecurityPolicies, setCaBigId, setId |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Person()
public Person(gov.nih.nci.security.authorization.domainobjects.User user)
user
- the user from which to copy name and contact propertiesMethod Detail |
---|
@Length(max=254) public java.lang.String getFirstName()
public void setFirstName(java.lang.String firstNameVal)
firstNameVal
- the firstName@Length(max=254) public java.lang.String getLastName()
public void setLastName(java.lang.String lastNameVal)
lastNameVal
- the lastName@Length(max=254) public java.lang.String getMiddleInitials()
public void setMiddleInitials(java.lang.String middleInitialsVal)
middleInitialsVal
- the middleInitialspublic java.util.Set<Organization> getAffiliations()
public java.lang.String getName()
public java.lang.String toString()
toString
in class AbstractContact
public boolean equals(java.lang.Object object)
equals
in class AbstractContact
object
- other object
public int hashCode()
hashCode
in class AbstractContact
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |