|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.edustructures.sifworks.Element
com.edustructures.sifworks.SIFElement
com.edustructures.sifworks.SIFKeyedElement
com.edustructures.sifworks.datamodel.FeeForUse
public class FeeForUse
| Field Summary |
|---|
| Fields inherited from class com.edustructures.sifworks.Element |
|---|
CURRENT_SERIALIZE_VERSION |
| Constructor Summary | |
|---|---|
FeeForUse()
Constructor |
|
FeeForUse(java.lang.String meteringType)
Constructor that accepts values for all mandatory fields |
|
| Method Summary | |
|---|---|
java.lang.String |
getKey()
Gets the key of this object |
ElementDef[] |
getKeyFields()
Gets the metadata fields that make up the key of this object |
java.lang.String |
getMeteringType()
Gets the value of the <MeteringType> element. |
java.lang.String |
getMeteringURL()
Gets the value of the <MeteringURL> element. |
MonetaryAmountType |
getPerUseCharge()
Gets the value of the <PerUseCharge> element. |
java.lang.String |
getUseType()
Gets the value of the <UseType> element. |
void |
removePerUseCharge()
Removes the PerUseCharge child element previously created by calling setPerUseCharge |
void |
setMeteringType(java.lang.String value)
Sets the value of the <MeteringType> element. |
void |
setMeteringURL(java.lang.String value)
Sets the value of the <MeteringURL> element. |
void |
setPerUseCharge(MonetaryAmountType value)
Sets the value of the <PerUseCharge> element. |
void |
setPerUseCharge(java.lang.String value)
Sets the value of the <PerUseCharge> child element. |
void |
setUseType(java.lang.String value)
Sets the value of the <UseType> 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, 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 |
|---|
public FeeForUse()
public FeeForUse(java.lang.String meteringType)
meteringType - | Method Detail |
|---|
public java.lang.String getKey()
getKey in class SIFElementpublic ElementDef[] getKeyFields()
public java.lang.String getUseType()
<UseType> element.
The SIF specification defines the meaning of this element as: "A description of the fee structure for this resource. Some resources may be licensed differently depending upon their context. For example, a content provider might charge one fee structure for resources used in the classroom and a separate fee for those resources available to parents from home."
UseType element of this object.public void setUseType(java.lang.String value)
<UseType> element.
The SIF specification defines the meaning of this element as: "A description of the fee structure for this resource. Some resources may be licensed differently depending upon their context. For example, a content provider might charge one fee structure for resources used in the classroom and a separate fee for those resources available to parents from home."
value - A String objectpublic java.lang.String getMeteringType()
<MeteringType> element.
MeteringType element of this object.public void setMeteringType(java.lang.String value)
<MeteringType> element.
value - A String objectpublic java.lang.String getMeteringURL()
<MeteringURL> element.
MeteringURL element of this object.public void setMeteringURL(java.lang.String value)
<MeteringURL> element.
value - A String objectpublic void setPerUseCharge(MonetaryAmountType value)
<PerUseCharge> element.
value - A MonetaryAmountType objectpublic void setPerUseCharge(java.lang.String value)
<PerUseCharge> child element.
This form of setPerUseCharge is provided as a convenience method
that is functionally equivalent to the version of setPerUseCharge
that accepts a single MonetaryAmountType object.
value - Gets or sets the content value of the <MonetaryAmountType> elementpublic MonetaryAmountType getPerUseCharge()
<PerUseCharge> element.
MonetaryAmountType objectpublic void removePerUseCharge()
PerUseCharge child element previously created by calling setPerUseCharge
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||