|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.edustructures.sifworks.Element
com.edustructures.sifworks.SIFElement
com.edustructures.sifworks.SIFKeyedElement
com.edustructures.sifworks.common.Name
public class Name
The name of a person
| Field Summary |
|---|
| Fields inherited from class com.edustructures.sifworks.Element |
|---|
CURRENT_SERIALIZE_VERSION |
| Constructor Summary | |
|---|---|
Name()
Constructor |
|
Name(NameType type,
java.lang.String lastName,
java.lang.String firstName)
Constructor that accepts values for all mandatory fields |
|
| Method Summary | |
|---|---|
java.lang.String |
getFirstName()
Gets the value of the <FirstName> element. |
java.lang.String |
getFullName()
Gets the value of the <FullName> element. |
java.lang.String |
getKey()
Gets the key of this object |
ElementDef[] |
getKeyFields()
Gets the metadata fields that make up the key of this object |
java.lang.String |
getLastName()
Gets the value of the <LastName> element. |
java.lang.String |
getMiddleName()
Gets the value of the <MiddleName> element. |
java.lang.String |
getPreferredName()
Gets the value of the <PreferredName> element. |
java.lang.String |
getPrefix()
Gets the value of the <Prefix> element. |
java.lang.String |
getSortName()
Gets the value of the <SortName> element. |
java.lang.String |
getSuffix()
Gets the value of the <Suffix> element. |
java.lang.String |
getType()
Gets the value of the Type attribute. |
void |
setFirstName(java.lang.String value)
Sets the value of the <FirstName> element. |
void |
setFullName(java.lang.String value)
Sets the value of the <FullName> element. |
void |
setLastName(java.lang.String value)
Sets the value of the <LastName> element. |
void |
setMiddleName(java.lang.String value)
Sets the value of the <MiddleName> element. |
void |
setPreferredName(java.lang.String value)
Sets the value of the <PreferredName> element. |
void |
setPrefix(java.lang.String value)
Sets the value of the <Prefix> element. |
void |
setSortName(java.lang.String value)
Sets the value of the <SortName> element. |
void |
setSuffix(java.lang.String value)
Sets the value of the <Suffix> element. |
void |
setType(NameType value)
Sets the value of the Type attribute. |
void |
setType(java.lang.String value)
Sets the value of the Type attribute as a String. |
| Methods inherited from class com.edustructures.sifworks.SIFElement |
|---|
addChild, addChild, clone, compareGraphTo, create, effectiveSIFVersion, getChild, getChild, getChild, getChild, getChild, getChildCount, getChildList, getChildList, getChildList, getChildren, getChildren, getContent, getContent, getField, getField, getFieldCount, getFields, getFieldValue, getSIFValue, getSIFVersion, getTextValue, getXmlId, hasTextValue, removeChild, removeChild, removeChild, removeChild, restoreImplementationDef, setChanged, setChildren, setEmpty, setField, setField, setField, setField, setSIFValue, setSIFVersion, setTextValue, setXmlId, tag |
| Methods inherited from class com.edustructures.sifworks.Element |
|---|
compareTo, getElementDef, getParent, getRoot, isChanged, isDoNotEncode, isEmpty, setChanged, setDoNotEncode, setElementDef, setEmpty, setParent, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Name()
public Name(NameType type,
java.lang.String lastName,
java.lang.String firstName)
type - Code that specifies what type of name this is. If unsure, use 04.lastName - The last name.firstName - The first name.| Method Detail |
|---|
public java.lang.String getKey()
getKey in class SIFElementpublic ElementDef[] getKeyFields()
public java.lang.String getType()
Type attribute.
The SIF specification defines the meaning of this attribute as: "Code that specifies what type of name this is. If unsure, use 04."
Type attribute of this object.public void setType(NameType value)
Type attribute.
The SIF specification defines the meaning of this attribute as: "Code that specifies what type of name this is. If unsure, use 04."
value - A constant defined by the NameType classpublic void setType(java.lang.String value)
Type attribute as a String.
The SIF specification defines the meaning of this attribute as: "Code that specifies what type of name this is. If unsure, use 04."
value - The value as a Stringpublic java.lang.String getPrefix()
<Prefix> element.
The SIF specification defines the meaning of this element as: "A prefix associated with the name like Mr., Ms., etc."
Prefix element of this object.public void setPrefix(java.lang.String value)
<Prefix> element.
The SIF specification defines the meaning of this element as: "A prefix associated with the name like Mr., Ms., etc."
value - A String objectpublic java.lang.String getLastName()
<LastName> element.
The SIF specification defines the meaning of this element as: "The last name."
LastName element of this object.public void setLastName(java.lang.String value)
<LastName> element.
The SIF specification defines the meaning of this element as: "The last name."
value - A String objectpublic java.lang.String getFirstName()
<FirstName> element.
The SIF specification defines the meaning of this element as: "The first name."
FirstName element of this object.public void setFirstName(java.lang.String value)
<FirstName> element.
The SIF specification defines the meaning of this element as: "The first name."
value - A String objectpublic java.lang.String getMiddleName()
<MiddleName> element.
The SIF specification defines the meaning of this element as: "The middle name or initial."
MiddleName element of this object.public void setMiddleName(java.lang.String value)
<MiddleName> element.
The SIF specification defines the meaning of this element as: "The middle name or initial."
value - A String objectpublic java.lang.String getSuffix()
<Suffix> element.
The SIF specification defines the meaning of this element as: "Generation of suffix like II, Jr., etc."
Suffix element of this object.public void setSuffix(java.lang.String value)
<Suffix> element.
The SIF specification defines the meaning of this element as: "Generation of suffix like II, Jr., etc."
value - A String objectpublic java.lang.String getPreferredName()
<PreferredName> element.
The SIF specification defines the meaning of this element as: "This is a name that the person prefers to be called by."
PreferredName element of this object.public void setPreferredName(java.lang.String value)
<PreferredName> element.
The SIF specification defines the meaning of this element as: "This is a name that the person prefers to be called by."
value - A String objectpublic java.lang.String getSortName()
<SortName> element.
The SIF specification defines the meaning of this element as: "This is the name to be used for sorting purposes."
SortName element of this object.public void setSortName(java.lang.String value)
<SortName> element.
The SIF specification defines the meaning of this element as: "This is the name to be used for sorting purposes."
value - A String objectpublic java.lang.String getFullName()
<FullName> element.
The SIF specification defines the meaning of this element as: "A free text field for the complete name."
FullName element of this object.public void setFullName(java.lang.String value)
<FullName> element.
The SIF specification defines the meaning of this element as: "A free text field for the complete name."
value - A String object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||