com.edustructures.sifworks.datamodel
Class RightsElement

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

public class RightsElement
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
RightsElement()
          Constructor
 
Method Summary
 void addFeesForUse(FeesForUse value)
          Adds a new <FeesForUse> child element.
 java.lang.String getCopyrightStatement()
          Gets the value of the <CopyrightStatement> element.
 java.lang.Boolean getCost()
          Gets the value of the <Cost> element.
 FeesForUse[] getFeesForUses()
          Gets all FeesForUse object instances.
 java.lang.String getTermsOfUse()
          Gets the value of the <TermsOfUse> element.
 void setCopyrightStatement(java.lang.String value)
          Sets the value of the <CopyrightStatement> element.
 void setCost(java.lang.Boolean value)
          Sets the value of the <Cost> element.
 void setFeesForUses(FeesForUse[] feesforuses)
          Sets an array of FeesForUse objects.
 void setTermsOfUse(java.lang.String value)
          Sets the value of the <TermsOfUse> 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

RightsElement

public RightsElement()
Constructor

Method Detail

getCost

public java.lang.Boolean getCost()
Gets the value of the <Cost> element.

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

setCost

public void setCost(java.lang.Boolean value)
Sets the value of the <Cost> element.

Parameters:
value - A Boolean object
Since:
2.0

addFeesForUse

public void addFeesForUse(FeesForUse value)
Adds a new <FeesForUse> child element.

Parameters:
value - A FeesForUse object
Since:
2.0

getFeesForUses

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

Returns:
An array of FeesForUse objects
Since:
2.0

setFeesForUses

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

Since:
2.0

getCopyrightStatement

public java.lang.String getCopyrightStatement()
Gets the value of the <CopyrightStatement> element.

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

setCopyrightStatement

public void setCopyrightStatement(java.lang.String value)
Sets the value of the <CopyrightStatement> element.

Parameters:
value - A String object
Since:
2.0

getTermsOfUse

public java.lang.String getTermsOfUse()
Gets the value of the <TermsOfUse> element.

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

setTermsOfUse

public void setTermsOfUse(java.lang.String value)
Sets the value of the <TermsOfUse> element.

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