com.edustructures.sifworks.datamodel
Class LifeCycle

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

public class LifeCycle
extends SIFElement

This common metadata element describes the life cycle of the object it represents, based on the IEEE LOM LifeCycle element

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
LifeCycle()
          Constructor
 
Method Summary
 Created getCreated()
          Gets the value of the <Created> element.
 ModificationHistory getModificationHistory()
          Gets the value of the <ModificationHistory> element.
 TimeElements getTimeElements()
          Gets the value of the <TimeElements> element.
 void removeCreated()
          Removes the Created child element previously created by calling setCreated
 void removeModificationHistory()
          Removes the ModificationHistory child element previously created by calling setModificationHistory
 void removeTimeElements()
          Removes the TimeElements child element previously created by calling setTimeElements
 void setCreated(java.util.Calendar dateTime)
          Sets the value of the <Created> child element.
 void setCreated(Created value)
          Sets the value of the <Created> element.
 void setModificationHistory(ModificationHistory value)
          Sets the value of the <ModificationHistory> element.
 void setTimeElements(TimeElements value)
          Sets the value of the <TimeElements> 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

LifeCycle

public LifeCycle()
Constructor

Method Detail

setCreated

public void setCreated(Created value)
Sets the value of the <Created> element.

Parameters:
value - A Created object
Since:
2.0

setCreated

public void setCreated(java.util.Calendar dateTime)
Sets the value of the <Created> child element. This form of setCreated is provided as a convenience method that is functionally equivalent to the version of setCreated that accepts a single Created object.

Parameters:
dateTime -
Since:
2.0

getCreated

public Created getCreated()
Gets the value of the <Created> element.

Returns:
A Created object
Since:
2.0

removeCreated

public void removeCreated()
Removes the Created child element previously created by calling setCreated

Since:
2.0

setModificationHistory

public void setModificationHistory(ModificationHistory value)
Sets the value of the <ModificationHistory> element.

Parameters:
value - A ModificationHistory object
Since:
2.0

getModificationHistory

public ModificationHistory getModificationHistory()
Gets the value of the <ModificationHistory> element.

Returns:
A ModificationHistory object
Since:
2.0

removeModificationHistory

public void removeModificationHistory()
Removes the ModificationHistory child element previously created by calling setModificationHistory

Since:
2.0

setTimeElements

public void setTimeElements(TimeElements value)
Sets the value of the <TimeElements> element.

Parameters:
value - A TimeElements object
Since:
2.0

getTimeElements

public TimeElements getTimeElements()
Gets the value of the <TimeElements> element.

Returns:
A TimeElements object
Since:
2.0

removeTimeElements

public void removeTimeElements()
Removes the TimeElements child element previously created by calling setTimeElements

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.