|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mycore.user.MCRUserContact
public class MCRUserContact
Instances of this class store contact information of MyCoRe users. MCRUserContact is part of the MyCoRe user component and must not be used directly by other components. MCRUserContact is aggregated by MCRUser and all user objects are managed by the user manager (the instance of the singleton MCRUserMgr).
MCRUserMgr,
MCRUser| Field Summary | |
|---|---|
static int |
cellphone_len
The maximum length of the cellphone string |
static int |
city_len
The maximum length of the city string |
static int |
country_len
The maximum length of the country string |
static int |
department_len
The maximum length of the department string |
static int |
email_len
The maximum length of the email string |
static int |
faculty_len
The maximum length of the faculty string |
static int |
fax_len
The maximum length of the fax string |
static int |
firstname_len
The maximum length of the firstname string |
static int |
institute_len
The maximum length of the institute string |
static int |
institution_len
The maximum length of the institution string |
static int |
lastname_len
The maximum length of the lastname string |
static int |
postalcode_len
The maximum length of the postalcode string |
static int |
salutation_len
The maximum length of the salutation string |
static int |
state_len
The maximum length of the state string |
static int |
street_len
The maximum length of the street string |
static int |
telephone_len
The maximum length of the telephone string |
| Constructor Summary | |
|---|---|
MCRUserContact()
Constructor for an empty object. |
|
MCRUserContact(Element elm)
Constructor. |
|
MCRUserContact(String salutation,
String firstname,
String lastname,
String street,
String city,
String postalcode,
String country,
String state,
String institution,
String faculty,
String department,
String institute,
String telephone,
String fax,
String email,
String cellphone)
Constructor. |
|
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int salutation_len
public static final int firstname_len
public static final int lastname_len
public static final int street_len
public static final int city_len
public static final int postalcode_len
public static final int country_len
public static final int state_len
public static final int institution_len
public static final int faculty_len
public static final int department_len
public static final int institute_len
public static final int telephone_len
public static final int fax_len
public static final int email_len
public static final int cellphone_len
| Constructor Detail |
|---|
public MCRUserContact()
public MCRUserContact(String salutation,
String firstname,
String lastname,
String street,
String city,
String postalcode,
String country,
String state,
String institution,
String faculty,
String department,
String institute,
String telephone,
String fax,
String email,
String cellphone)
public MCRUserContact(Element elm)
elm - the JDOM Element| Method Detail |
|---|
public Object clone()
clone in class Objectpublic final void setFromJDOMElement(Element elm)
elm - the JDOM Elementpublic final String getSalutation()
public final String getFirstName()
public final String getLastName()
public final String getStreet()
public final String getCity()
public final String getPostalCode()
public final String getCountry()
public final String getState()
public final String getInstitution()
public final String getFaculty()
public final String getDepartment()
public final String getInstitute()
public final String getTelephone()
public final String getFax()
public final String getEmail()
public final String getCellphone()
public final void setSalutation(String v)
public final void setFirstName(String v)
public final void setLastName(String v)
public final void setStreet(String v)
public final void setCity(String v)
public final void setPostalCode(String v)
public final void setCountry(String v)
public final void setState(String v)
public final void setInstitution(String v)
public final void setFaculty(String v)
public final void setDepartment(String v)
public final void setInstitute(String v)
public final void setTelephone(String v)
public final void setFax(String v)
public final void setEmail(String v)
public final void setCellphone(String v)
public final Element toJDOMElement()
public final void debug()
public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||