|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javawebparts.misc.chain.Catalog
This class represents a Catalog.
Field Summary | |
private java.util.Map |
chains
The collection of Chains that belong to this Catalog.. |
private java.lang.String |
extendsID
The ID of the Catalog this Catalog extends, if any |
private java.lang.String |
id
The ID of this Catalog. |
Constructor Summary | |
Catalog()
Constructor. |
|
Catalog(java.lang.String inID,
java.lang.String inExtendsID)
Constructor. |
Method Summary | |
void |
addChain(Chain inChain)
Adds a Chain to this Catalog. |
java.util.Map |
cloneChains()
Returns a clone of the Chains collection for this Catalog. |
Chain |
findChain(java.lang.String inID)
Looks up and returns a named Chain from this catalog. |
java.lang.String |
getExtendsID()
Gets the ID of the Catalog that this Catalog extends. |
java.lang.String |
getId()
Gets the ID of this Catalog. |
void |
setExtendsID(java.lang.String inExtendsID)
Sets the ID of the Catalog that this Catalog extends. |
void |
setId(java.lang.String inID)
Sets the ID of this Catalog. |
java.lang.String |
toString()
Overridden toString method. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private java.lang.String id
private java.lang.String extendsID
private java.util.Map chains
Constructor Detail |
public Catalog()
public Catalog(java.lang.String inID, java.lang.String inExtendsID)
inID
- The ID that identifies this Catalog.inExtendsID
- The ID of the Catalog that this Catalog extends. Pass
null if not extending any Catalog.Method Detail |
public java.util.Map cloneChains()
public void setId(java.lang.String inID)
inID
- The ID of this Catalog.public java.lang.String getId()
public void setExtendsID(java.lang.String inExtendsID)
inExtendsID
- The ID of the Catalog this Catalog extends, if any.public java.lang.String getExtendsID()
public void addChain(Chain inChain)
inChain
- Adds the passed in Chain to this Catalog.public Chain findChain(java.lang.String inID)
inID
- The ID of the Chain to look up in this Catalog.
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |