|
||||||||||
| 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.SIFDataObject
com.edustructures.sifworks.hrfin.Billing
public class Billing
This object contains an amount to be billed to an outside entity.
| Field Summary |
|---|
| Fields inherited from class com.edustructures.sifworks.Element |
|---|
CURRENT_SERIALIZE_VERSION |
| Constructor Summary | |
|---|---|
Billing()
Constructor |
|
Billing(java.lang.String refId,
BilledEntity billedEntity,
java.lang.String entityId,
java.util.Calendar billingDate,
java.lang.String transactionDescription,
java.lang.String billedAmount)
Constructor that accepts values for all mandatory fields |
|
| Method Summary | |
|---|---|
java.lang.String |
getBilledAmount()
Gets the value of the <BilledAmount> element. |
BilledEntity |
getBilledEntity()
Gets the value of the <BilledEntity> element. |
java.util.Calendar |
getBillingDate()
Gets the value of the <BillingDate> element. |
java.lang.String |
getEntityId()
Gets the value of the <EntityId> element. |
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 |
getRefId()
Gets the value of the RefId attribute. |
java.lang.String |
getTransactionDescription()
Gets the value of the <TransactionDescription> element. |
void |
removeBilledEntity()
Removes the BilledEntity child element previously created by calling setBilledEntity |
void |
setBilledAmount(java.lang.String value)
Sets the value of the <BilledAmount> element. |
void |
setBilledEntity(BilledEntity value)
Sets the value of the <BilledEntity> element. |
void |
setBilledEntity(BilledEntityObject sifRefObject,
java.lang.String value)
Sets the value of the <BilledEntity> child element. |
void |
setBillingDate(java.util.Calendar value)
Sets the value of the <BillingDate> element. |
void |
setEntityId(java.lang.String value)
Sets the value of the <EntityId> element. |
void |
setRefId(java.lang.String value)
Sets the value of the RefId attribute. |
void |
setTransactionDescription(java.lang.String value)
Sets the value of the <TransactionDescription> element. |
| Methods inherited from class com.edustructures.sifworks.SIFDataObject |
|---|
addSIFExtendedElement, clone, getElementOrAttribute, getObjectTag, getObjectType, getSIFExtendedElement, getSIFExtendedElements, getSIFExtendedElementsContainer, getSIFMetadata, getSIFVersion, setElementOrAttribute, setElementOrAttribute, setElementOrAttribute, setSIFExtendedElements, setSIFExtendedElementsContainer, setSIFMetadata, setSIFVersion, toXML |
| Methods inherited from class com.edustructures.sifworks.SIFElement |
|---|
addChild, addChild, compareGraphTo, create, effectiveSIFVersion, getChild, getChild, getChild, getChild, getChild, getChildCount, getChildList, getChildList, getChildList, getChildren, getChildren, getContent, getContent, getField, getField, getFieldCount, getFields, getFieldValue, getSIFValue, getTextValue, getXmlId, hasTextValue, removeChild, removeChild, removeChild, removeChild, restoreImplementationDef, setChanged, setChildren, setEmpty, setField, setField, setField, setField, setSIFValue, 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 Billing()
public Billing(java.lang.String refId,
BilledEntity billedEntity,
java.lang.String entityId,
java.util.Calendar billingDate,
java.lang.String transactionDescription,
java.lang.String billedAmount)
refId - GUID for this transaction. The application that owns this object is responsible for generating this unique ID.billedEntity - entityId - ID of the entity being billed for this billing activity (e.g. student ID, employee ID, organization, etc.)billingDate - Date of the transaction.transactionDescription - Description of the transaction.billedAmount - Amount to be billed.| Method Detail |
|---|
public java.lang.String getKey()
getKey in class SIFElementpublic ElementDef[] getKeyFields()
public java.lang.String getRefId()
RefId attribute.
The SIF specification defines the meaning of this attribute as: "GUID for this transaction. The application that owns this object is responsible for generating this unique ID."
getRefId in class SIFDataObjectRefId attribute of this object.public void setRefId(java.lang.String value)
RefId attribute.
The SIF specification defines the meaning of this attribute as: "GUID for this transaction. The application that owns this object is responsible for generating this unique ID."
value - A String objectpublic void setBilledEntity(BilledEntity value)
<BilledEntity> element.
value - A BilledEntity object
public void setBilledEntity(BilledEntityObject sifRefObject,
java.lang.String value)
<BilledEntity> child element.
This form of setBilledEntity is provided as a convenience method
that is functionally equivalent to the version of setBilledEntity
that accepts a single BilledEntity object.
sifRefObject - SIF object referenced by SIF_RefId.value - Gets or sets the content value of the <BilledEntity> elementpublic BilledEntity getBilledEntity()
<BilledEntity> element.
BilledEntity objectpublic void removeBilledEntity()
BilledEntity child element previously created by calling setBilledEntity
public java.lang.String getEntityId()
<EntityId> element.
The SIF specification defines the meaning of this element as: "ID of the entity being billed for this billing activity (e.g. student ID, employee ID, organization, etc.)"
EntityId element of this object.public void setEntityId(java.lang.String value)
<EntityId> element.
The SIF specification defines the meaning of this element as: "ID of the entity being billed for this billing activity (e.g. student ID, employee ID, organization, etc.)"
value - A String objectpublic java.util.Calendar getBillingDate()
<BillingDate> element.
The SIF specification defines the meaning of this element as: "Date of the transaction."
BillingDate element of this object.public void setBillingDate(java.util.Calendar value)
<BillingDate> element.
The SIF specification defines the meaning of this element as: "Date of the transaction."
value - A Calendar objectpublic java.lang.String getTransactionDescription()
<TransactionDescription> element.
The SIF specification defines the meaning of this element as: "Description of the transaction."
TransactionDescription element of this object.public void setTransactionDescription(java.lang.String value)
<TransactionDescription> element.
The SIF specification defines the meaning of this element as: "Description of the transaction."
value - A String objectpublic java.lang.String getBilledAmount()
<BilledAmount> element.
The SIF specification defines the meaning of this element as: "Amount to be billed."
BilledAmount element of this object.public void setBilledAmount(java.lang.String value)
<BilledAmount> element.
The SIF specification defines the meaning of this element as: "Amount to be billed."
value - A String object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||