com.edustructures.sifworks.gradebook
Class AuditInfo

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

public class AuditInfo
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
AuditInfo()
          Constructor
 
Method Summary
 java.util.Calendar getCreationDateTime()
          Gets the value of the <CreationDateTime> element.
 CreationUser getCreationUser()
          Gets the value of the <CreationUser> element.
 void removeCreationUser()
          Removes the CreationUser child element previously created by calling setCreationUser
 void setCreationDateTime(java.util.Calendar value)
          Sets the value of the <CreationDateTime> element.
 void setCreationUser(AuditInfoType type, java.lang.String userId)
          Sets the value of the <CreationUser> child element.
 void setCreationUser(CreationUser value)
          Sets the value of the <CreationUser> 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

AuditInfo

public AuditInfo()
Constructor

Method Detail

setCreationUser

public void setCreationUser(CreationUser value)
Sets the value of the <CreationUser> element.

Parameters:
value - A CreationUser object
Since:
2.0

setCreationUser

public void setCreationUser(AuditInfoType type,
                            java.lang.String userId)
Sets the value of the <CreationUser> child element. This form of setCreationUser is provided as a convenience method that is functionally equivalent to the version of setCreationUser that accepts a single CreationUser object.

Parameters:
type - The role of the staff member for that created this attendance record.
userId - Unique identifier of the user that created the attendance record. This will depend on the user and the source. The preferred identifier would be a RefId for a StaffPersonal, StudentContact, or StudentPersonal Object. However, the user may not be associated with any of these SIF objects. In that case a unique ID given by the source should be used.
Since:
2.0

getCreationUser

public CreationUser getCreationUser()
Gets the value of the <CreationUser> element.

Returns:
A CreationUser object
Since:
2.0

removeCreationUser

public void removeCreationUser()
Removes the CreationUser child element previously created by calling setCreationUser

Since:
2.0

getCreationDateTime

public java.util.Calendar getCreationDateTime()
Gets the value of the <CreationDateTime> element.

The SIF specification defines the meaning of this element as: "The date and time of this attendance record was created."

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

setCreationDateTime

public void setCreationDateTime(java.util.Calendar value)
Sets the value of the <CreationDateTime> element.

The SIF specification defines the meaning of this element as: "The date and time of this attendance record was created."

Parameters:
value - A Calendar 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.