com.edustructures.sifworks.instr
Class SupportingActivities

java.lang.Object
  extended by com.edustructures.sifworks.Element
      extended by com.edustructures.sifworks.SIFElement
          extended by com.edustructures.sifworks.SIFList<T>
              extended by com.edustructures.sifworks.SIFKeyedList<ActivityRefId>
                  extended by com.edustructures.sifworks.instr.SupportingActivities
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<ActivityRefId>, java.util.Collection<ActivityRefId>

public class SupportingActivities
extends SIFKeyedList<ActivityRefId>

Since:
1.5r1
Version:
2.0
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.edustructures.sifworks.Element
CURRENT_SERIALIZE_VERSION
 
Constructor Summary
SupportingActivities()
          Constructor
SupportingActivities(ActivityRefId activityRefId)
          Constructor that accepts values for all mandatory fields
 
Method Summary
 void addActivityRefId(java.lang.String value)
          Adds a new <ActivityRefId> repeatable element.
 ActivityRefId getActivityRefId(java.lang.String value)
          Gets an ActivityRefId object instance.
 ActivityRefId[] getActivityRefIds()
          Gets all ActivityRefId object instances.
 void removeActivityRefId(java.lang.String value)
          Removes an ActivityRefId object instance.
 void setActivityRefIds(ActivityRefId[] activityrefids)
          Sets an array of ActivityRefId objects.
 
Methods inherited from class com.edustructures.sifworks.SIFKeyedList
getChild, getChild
 
Methods inherited from class com.edustructures.sifworks.SIFList
add, addAll, clear, contains, containsAll, get, iterator, remove, remove, removeAll, retainAll, size, toArray, toArray
 
Methods inherited from class com.edustructures.sifworks.SIFElement
addChild, addChild, clone, compareGraphTo, create, effectiveSIFVersion, 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
 
Methods inherited from interface java.util.Collection
equals, hashCode, isEmpty
 

Constructor Detail

SupportingActivities

public SupportingActivities()
Constructor


SupportingActivities

public SupportingActivities(ActivityRefId activityRefId)
Constructor that accepts values for all mandatory fields

Parameters:
activityRefId - Links to Activity objects that may support the lesson
Method Detail

addActivityRefId

public void addActivityRefId(java.lang.String value)
Adds a new <ActivityRefId> repeatable element. This form of setActivityRefId is provided as a convenience method that is functionally equivalent to the version of setActivityRefId that accepts a single ActivityRefId object.

Parameters:
value - Gets or sets the content value of the <ActivityRefId> element
Since:
1.5r1

removeActivityRefId

public void removeActivityRefId(java.lang.String value)
Removes an ActivityRefId object instance. More than one instance can be defined for this object because it is a repeatable field element.

Parameters:
value - Identifies the ActivityRefId object to remove by its Value value
Since:
1.5r1

getActivityRefId

public ActivityRefId getActivityRefId(java.lang.String value)
Gets an ActivityRefId object instance. More than one instance can be defined for this object because it is a repeatable field element.

Parameters:
value - Identifies the ActivityRefId object to return by its "Value" attribute value
Returns:
An ActivityRefId object
Since:
1.5r1

getActivityRefIds

public ActivityRefId[] getActivityRefIds()
Gets all ActivityRefId object instances. More than one instance can be defined for this object because it is a repeatable field element.

Returns:
An array of ActivityRefId objects
Since:
1.5r1

setActivityRefIds

public void setActivityRefIds(ActivityRefId[] activityrefids)
Sets an array of ActivityRefId objects. All existing ActivityRefId instances are removed and replaced with this list. Calling this method with the parameter value set to null removes all ActivityRefIds.

Since:
1.5r1


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.