com.edustructures.sifworks.programs
Class Accommodation

java.lang.Object
  extended by com.edustructures.sifworks.Element
      extended by com.edustructures.sifworks.SIFElement
          extended by com.edustructures.sifworks.programs.Accommodation
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class Accommodation
extends SIFElement

Since:
2.0
Version:
2.0
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.edustructures.sifworks.Element
CURRENT_SERIALIZE_VERSION
 
Constructor Summary
Accommodation()
          Constructor
 
Method Summary
 AccommodationCategory getAccommodationCategory()
          Gets the value of the <AccommodationCategory> element.
 java.lang.String getCode()
          Gets the value of the <Code> element.
 OtherCodeList getOtherCodeList()
          Gets the value of the <OtherCodeList> element.
 java.lang.Boolean getSpecialMaterials()
          Gets the value of the <SpecialMaterials> element.
 void removeAccommodationCategory()
          Removes the AccommodationCategory child element previously created by calling setAccommodationCategory
 void removeOtherCodeList()
          Removes the OtherCodeList child element previously created by calling setOtherCodeList
 void setAccommodationCategory(AccommodationCategory value)
          Sets the value of the <AccommodationCategory> element.
 void setCode(AccommodationCode value)
          Sets the value of the <Code> element.
 void setCode(java.lang.String value)
          Sets the value of the <Code> element as a String.
 void setOtherCodeList(OtherCodeList value)
          Sets the value of the <OtherCodeList> element.
 void setSpecialMaterials(java.lang.Boolean value)
          Sets the value of the <SpecialMaterials> 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, getKey, 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

Accommodation

public Accommodation()
Constructor

Method Detail

getCode

public java.lang.String getCode()
Gets the value of the <Code> element.

The SIF specification defines the meaning of this element as: "Identifies the specific accommodation. At least one required if the repeating group is sent."

Returns:
The Code element of this object.
Since:
2.0

setCode

public void setCode(AccommodationCode value)
Sets the value of the <Code> element.

The SIF specification defines the meaning of this element as: "Identifies the specific accommodation. At least one required if the repeating group is sent."

Parameters:
value - A constant defined by the AccommodationCode class
Since:
2.0

setCode

public void setCode(java.lang.String value)
Sets the value of the <Code> element as a String.

The SIF specification defines the meaning of this element as: "Identifies the specific accommodation. At least one required if the repeating group is sent."

Parameters:
value - The value as a String
Since:
2.0

setOtherCodeList

public void setOtherCodeList(OtherCodeList value)
Sets the value of the <OtherCodeList> element.

Parameters:
value - A OtherCodeList object
Since:
2.0

getOtherCodeList

public OtherCodeList getOtherCodeList()
Gets the value of the <OtherCodeList> element.

Returns:
An OtherCodeList object
Since:
2.0

removeOtherCodeList

public void removeOtherCodeList()
Removes the OtherCodeList child element previously created by calling setOtherCodeList

Since:
2.0

setAccommodationCategory

public void setAccommodationCategory(AccommodationCategory value)
Sets the value of the <AccommodationCategory> element.

Parameters:
value - A AccommodationCategory object
Since:
2.0

getAccommodationCategory

public AccommodationCategory getAccommodationCategory()
Gets the value of the <AccommodationCategory> element.

Returns:
An AccommodationCategory object
Since:
2.0

removeAccommodationCategory

public void removeAccommodationCategory()
Removes the AccommodationCategory child element previously created by calling setAccommodationCategory

Since:
2.0

getSpecialMaterials

public java.lang.Boolean getSpecialMaterials()
Gets the value of the <SpecialMaterials> element.

The SIF specification defines the meaning of this element as: "Accommodation specified requires special materials. Required if the repeating group is sent."

Returns:
The SpecialMaterials element of this object.
Since:
2.0

setSpecialMaterials

public void setSpecialMaterials(java.lang.Boolean value)
Sets the value of the <SpecialMaterials> element.

The SIF specification defines the meaning of this element as: "Accommodation specified requires special materials. Required if the repeating group is sent."

Parameters:
value - A Boolean object
Since:
2.0


Copyright © 2001-2007 Edustructures LLC. All Rights Reserved. SIFWorks® and ADK® are registered trademarks of Edustructures LLC. SIF™ and Schools Interoperability Framework are trademarks of the Schools Interoperability Framework Association.