|
||||||||||
| 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.library.HoldInfo
public class HoldInfo
| Field Summary |
|---|
| Fields inherited from class com.edustructures.sifworks.Element |
|---|
CURRENT_SERIALIZE_VERSION |
| Constructor Summary | |
|---|---|
HoldInfo()
Constructor |
|
HoldInfo(HoldStatus type,
java.util.Calendar datePlaced)
Constructor that accepts values for all mandatory fields |
|
| Method Summary | |
|---|---|
java.util.Calendar |
getDateNeeded()
Gets the value of the <DateNeeded> element. |
java.util.Calendar |
getDatePlaced()
Gets the value of the <DatePlaced> element. |
java.util.Calendar |
getExpires()
Gets the value of the <Expires> 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.util.Calendar |
getMadeAvailable()
Gets the value of the <MadeAvailable> element. |
java.lang.String |
getType()
Gets the value of the Type attribute. |
void |
setDateNeeded(java.util.Calendar value)
Sets the value of the <DateNeeded> element. |
void |
setDatePlaced(java.util.Calendar value)
Sets the value of the <DatePlaced> element. |
void |
setExpires(java.util.Calendar value)
Sets the value of the <Expires> element. |
void |
setMadeAvailable(java.util.Calendar value)
Sets the value of the <MadeAvailable> element. |
void |
setType(HoldStatus value)
Sets the value of the Type attribute. |
void |
setType(java.lang.String value)
Sets the value of the Type attribute as a String. |
| 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 HoldInfo()
public HoldInfo(HoldStatus type,
java.util.Calendar datePlaced)
type - The type of hold being referenced.datePlaced - The date that the patron placed the hold.| Method Detail |
|---|
public java.lang.String getKey()
getKey in class SIFElementpublic ElementDef[] getKeyFields()
public java.lang.String getType()
Type attribute.
The SIF specification defines the meaning of this attribute as: "The type of hold being referenced."
Type attribute of this object.public void setType(HoldStatus value)
Type attribute.
The SIF specification defines the meaning of this attribute as: "The type of hold being referenced."
value - A constant defined by the HoldStatus classpublic void setType(java.lang.String value)
Type attribute as a String.
The SIF specification defines the meaning of this attribute as: "The type of hold being referenced."
value - The value as a Stringpublic java.util.Calendar getDatePlaced()
<DatePlaced> element.
The SIF specification defines the meaning of this element as: "The date that the patron placed the hold."
DatePlaced element of this object.public void setDatePlaced(java.util.Calendar value)
<DatePlaced> element.
The SIF specification defines the meaning of this element as: "The date that the patron placed the hold."
value - A Calendar objectpublic java.util.Calendar getDateNeeded()
<DateNeeded> element.
The SIF specification defines the meaning of this element as: "The date that the patron needs this item by."
DateNeeded element of this object.public void setDateNeeded(java.util.Calendar value)
<DateNeeded> element.
The SIF specification defines the meaning of this element as: "The date that the patron needs this item by."
value - A Calendar objectpublic java.util.Calendar getMadeAvailable()
<MadeAvailable> element.
The SIF specification defines the meaning of this element as: "The date that this item became available for the patron to pick up."
MadeAvailable element of this object.public void setMadeAvailable(java.util.Calendar value)
<MadeAvailable> element.
The SIF specification defines the meaning of this element as: "The date that this item became available for the patron to pick up."
value - A Calendar objectpublic java.util.Calendar getExpires()
<Expires> element.
The SIF specification defines the meaning of this element as: "The date when this ready hold will expire freeing the item to be assigned to another patron."
Expires element of this object.public void setExpires(java.util.Calendar value)
<Expires> element.
The SIF specification defines the meaning of this element as: "The date when this ready hold will expire freeing the item to be assigned to another patron."
value - A Calendar object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||