|
||||||||||
| 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.reporting.SLContact
public class SLContact
Typically used to provide the state information about a student's parents and legal guardians.
| Field Summary |
|---|
| Fields inherited from class com.edustructures.sifworks.Element |
|---|
CURRENT_SERIALIZE_VERSION |
| Constructor Summary | |
|---|---|
SLContact()
Constructor |
|
SLContact(Relationship relationship)
Constructor that accepts values for all mandatory fields |
|
| Method Summary | |
|---|---|
void |
addName(Name value)
Adds a new <Name> child element. |
void |
addName(NameType type,
java.lang.String lastName,
java.lang.String firstName)
Adds a new <Name> repeatable element. |
java.lang.String |
getEducationalLevel()
Gets the value of the <EducationalLevel> 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 |
Name |
getName(NameType type)
Gets a Name object instance. |
Name[] |
getNames()
Gets all Name object instances. |
OtherId |
getOtherId()
Gets the value of the <OtherId> element. |
Relationship |
getRelationship()
Gets the value of the <Relationship> element. |
void |
removeName(NameType type)
Removes a Name object instance. |
void |
removeOtherId()
Removes the OtherId child element previously created by calling setOtherId |
void |
removeRelationship()
Removes the Relationship child element previously created by calling setRelationship |
void |
setEducationalLevel(EducationalLevelCode value)
Sets the value of the <EducationalLevel> element. |
void |
setEducationalLevel(java.lang.String value)
Sets the value of the <EducationalLevel> element as a String. |
void |
setNames(Name[] names)
Sets an array of Name objects. |
void |
setOtherId(OtherId value)
Sets the value of the <OtherId> element. |
void |
setOtherId(OtherIdType type,
java.lang.String value)
Sets the value of the <OtherId> child element. |
void |
setRelationship(Relationship value)
Sets the value of the <Relationship> element. |
void |
setRelationship(RelationshipCode code)
Sets the value of the <Relationship> child element. |
| 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 SLContact()
public SLContact(Relationship relationship)
relationship - Relationship to the student.| Method Detail |
|---|
public java.lang.String getKey()
getKey in class SIFElementpublic ElementDef[] getKeyFields()
public void setRelationship(Relationship value)
<Relationship> element.
The SIF specification defines the meaning of this element as: "Relationship to the student."
value - A Relationship objectpublic void setRelationship(RelationshipCode code)
<Relationship> child element.
This form of setRelationship is provided as a convenience method
that is functionally equivalent to the version of setRelationship
that accepts a single Relationship object.
code - Code representing the relationship.public Relationship getRelationship()
<Relationship> element.
The SIF specification defines the meaning of this element as: "Relationship to the student."
Relationship objectpublic void removeRelationship()
Relationship child element previously created by calling setRelationship
public void addName(Name value)
<Name> child element.
The SIF specification defines the meaning of this element as: "The name(s) of the contact."
value - A Name object
public void addName(NameType type,
java.lang.String lastName,
java.lang.String firstName)
<Name> repeatable element.
This form of setName is provided as a convenience method
that is functionally equivalent to the version of setName
that accepts a single Name object.
type - Code that specifies what type of name this is. If unsure, use 04.lastName - The last name.firstName - The first name.public void removeName(NameType type)
Name object instance. More than one instance can be defined for this object because it is a repeatable field element.
type - Identifies the Name object to remove by its Type valuepublic Name getName(NameType type)
Name object instance. More than one instance can be defined for this object because it is a repeatable field element.
type - Identifies the Name object to return by its "Type" attribute value
Name objectpublic Name[] getNames()
Name object instances. More than one instance can be defined for this object because it is a repeatable field element.
Name objectspublic void setNames(Name[] names)
Name objects. All existing
Name instances
are removed and replaced with this list. Calling this method with the
parameter value set to null removes all Names.
public void setOtherId(OtherId value)
<OtherId> element.
The SIF specification defines the meaning of this element as: "The ID(s) of the contact."
value - A OtherId object
public void setOtherId(OtherIdType type,
java.lang.String value)
<OtherId> child element.
This form of setOtherId is provided as a convenience method
that is functionally equivalent to the version of setOtherId
that accepts a single OtherId object.
type - Code that defines the type of this other ID. Note: A subset of valid values may be specified in data objects.value - Gets or sets the content value of the <OtherId> elementpublic OtherId getOtherId()
<OtherId> element.
The SIF specification defines the meaning of this element as: "The ID(s) of the contact."
OtherId objectpublic void removeOtherId()
OtherId child element previously created by calling setOtherId
public java.lang.String getEducationalLevel()
<EducationalLevel> element.
The SIF specification defines the meaning of this element as: "Highest level of education completed by the contact."
EducationalLevel element of this object.public void setEducationalLevel(EducationalLevelCode value)
<EducationalLevel> element.
The SIF specification defines the meaning of this element as: "Highest level of education completed by the contact."
value - A constant defined by the EducationalLevelCode classpublic void setEducationalLevel(java.lang.String value)
<EducationalLevel> element as a String.
The SIF specification defines the meaning of this element as: "Highest level of education completed by the contact."
value - The value as a String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||