com.edustructures.sifworks.library
Class Transaction

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

public class Transaction
extends SIFElement

Since:
1.1
Version:
2.0
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.edustructures.sifworks.Element
CURRENT_SERIALIZE_VERSION
 
Constructor Summary
Transaction()
          Constructor
 
Method Summary
 CheckoutInfo getCheckoutInfo()
          Gets the value of the <CheckoutInfo> element.
 FineInfoList getFineInfoList()
          Gets the value of the <FineInfoList> element.
 HoldInfoList getHoldInfoList()
          Gets the value of the <HoldInfoList> element.
 ItemInfo getItemInfo()
          Gets the value of the <ItemInfo> element.
 void removeCheckoutInfo()
          Removes the CheckoutInfo child element previously created by calling setCheckoutInfo
 void removeFineInfoList()
          Removes the FineInfoList child element previously created by calling setFineInfoList
 void removeHoldInfoList()
          Removes the HoldInfoList child element previously created by calling setHoldInfoList
 void removeItemInfo()
          Removes the ItemInfo child element previously created by calling setItemInfo
 void setCheckoutInfo(java.util.Calendar returnBy)
          Sets the value of the <CheckoutInfo> child element.
 void setCheckoutInfo(CheckoutInfo value)
          Sets the value of the <CheckoutInfo> element.
 void setFineInfoList(FineInfoList value)
          Sets the value of the <FineInfoList> element.
 void setHoldInfoList(HoldInfoList value)
          Sets the value of the <HoldInfoList> element.
 void setItemInfo(ItemInfo value)
          Sets the value of the <ItemInfo> element.
 void setItemInfo(ItemType type, java.lang.String title)
          Sets the value of the <ItemInfo> child 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

Transaction

public Transaction()
Constructor

Method Detail

setItemInfo

public void setItemInfo(ItemInfo value)
Sets the value of the <ItemInfo> element.

Parameters:
value - A ItemInfo object
Since:
1.1

setItemInfo

public void setItemInfo(ItemType type,
                        java.lang.String title)
Sets the value of the <ItemInfo> child element. This form of setItemInfo is provided as a convenience method that is functionally equivalent to the version of setItemInfo that accepts a single ItemInfo object.

Parameters:
type -
title - The title of the item being referenced by this Transaction.
Since:
1.1

getItemInfo

public ItemInfo getItemInfo()
Gets the value of the <ItemInfo> element.

Returns:
An ItemInfo object
Since:
1.1

removeItemInfo

public void removeItemInfo()
Removes the ItemInfo child element previously created by calling setItemInfo

Since:
1.1

setCheckoutInfo

public void setCheckoutInfo(CheckoutInfo value)
Sets the value of the <CheckoutInfo> element. This element is known by more than one tag name depending on the version of SIF in use. The ADK will use the tag names shown below when parsing and rendering elements of this kind.

VersionTag
1.1"DueInfo"
SIF2.0"CheckoutInfo"

Parameters:
value - A CheckoutInfo object
Since:
1.1

setCheckoutInfo

public void setCheckoutInfo(java.util.Calendar returnBy)
Sets the value of the <CheckoutInfo> child element. This form of setCheckoutInfo is provided as a convenience method that is functionally equivalent to the version of setCheckoutInfo that accepts a single CheckoutInfo object.

Parameters:
returnBy - The date and time that this item is due to be returned.
Since:
1.1

getCheckoutInfo

public CheckoutInfo getCheckoutInfo()
Gets the value of the <CheckoutInfo> element. This element is known by more than one tag name depending on the version of SIF in use. The ADK will use the tag names shown below when parsing and rendering elements of this kind.

VersionTag
1.1"DueInfo"
SIF2.0"CheckoutInfo"

Returns:
A CheckoutInfo object
Since:
1.1

removeCheckoutInfo

public void removeCheckoutInfo()
Removes the CheckoutInfo child element previously created by calling setCheckoutInfo

Since:
1.1

setFineInfoList

public void setFineInfoList(FineInfoList value)
Sets the value of the <FineInfoList> element.

Parameters:
value - A FineInfoList object
Since:
1.1

getFineInfoList

public FineInfoList getFineInfoList()
Gets the value of the <FineInfoList> element.

Returns:
A FineInfoList object
Since:
1.1

removeFineInfoList

public void removeFineInfoList()
Removes the FineInfoList child element previously created by calling setFineInfoList

Since:
1.1

setHoldInfoList

public void setHoldInfoList(HoldInfoList value)
Sets the value of the <HoldInfoList> element.

Parameters:
value - A HoldInfoList object
Since:
1.1

getHoldInfoList

public HoldInfoList getHoldInfoList()
Gets the value of the <HoldInfoList> element.

Returns:
An HoldInfoList object
Since:
1.1

removeHoldInfoList

public void removeHoldInfoList()
Removes the HoldInfoList child element previously created by calling setHoldInfoList

Since:
1.1


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.