com.edustructures.sifworks.datamodel
Class FeesForUse

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<FeeForUse>
                  extended by com.edustructures.sifworks.datamodel.FeesForUse
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<FeeForUse>, java.util.Collection<FeeForUse>

public class FeesForUse
extends SIFKeyedList<FeeForUse>

A container for fees for use of the content in the object.

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
FeesForUse()
          Constructor
FeesForUse(FeeForUse feeForUse)
          Constructor that accepts values for all mandatory fields
 
Method Summary
 void addFeeForUse(java.lang.String meteringType)
          Adds a new <FeeForUse> repeatable element.
 FeeForUse getFeeForUse(java.lang.String meteringType)
          Gets a FeeForUse object instance.
 FeeForUse[] getFeeForUses()
          Gets all FeeForUse object instances.
 void removeFeeForUse(java.lang.String meteringType)
          Removes a FeeForUse object instance.
 void setFeeForUses(FeeForUse[] feeforuses)
          Sets an array of FeeForUse 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

FeesForUse

public FeesForUse()
Constructor


FeesForUse

public FeesForUse(FeeForUse feeForUse)
Constructor that accepts values for all mandatory fields

Parameters:
feeForUse -
Method Detail

addFeeForUse

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

Parameters:
meteringType -
Since:
2.0

removeFeeForUse

public void removeFeeForUse(java.lang.String meteringType)
Removes a FeeForUse object instance. More than one instance can be defined for this object because it is a repeatable field element.

Parameters:
meteringType - Identifies the FeeForUse object to remove by its MeteringType value
Since:
2.0

getFeeForUse

public FeeForUse getFeeForUse(java.lang.String meteringType)
Gets a FeeForUse object instance. More than one instance can be defined for this object because it is a repeatable field element.

Parameters:
meteringType - Identifies the FeeForUse object to return by its "MeteringType" attribute value
Returns:
A FeeForUse object
Since:
2.0

getFeeForUses

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

Returns:
An array of FeeForUse objects
Since:
2.0

setFeeForUses

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

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.