|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcrn.IE
The Information Entity.
Field Summary | |
private java.util.ArrayList |
caseReferences
The list of all cases this IE reference to. |
java.lang.String |
name
The name of the value held in this IE instance. |
java.lang.String |
value
The value of this IE. |
Constructor Summary | |
IE(IE other)
Copy constructor. |
|
IE(java.lang.String name,
java.lang.String value)
Constructor. |
Method Summary | |
void |
AddCaseReference(Case travelCase)
Adds a case reference to this IE. |
boolean |
ContainsCase(Case travelCase)
Check if there is a given case on the list of references of this IE. |
boolean |
equals(java.lang.Object object)
|
int |
GetCaseReferencesCount()
Gets the count of the case references of this IE. |
java.util.Iterator |
GetCaseReferencesInterator()
Gets the interator for the cases this IE reference to. |
boolean |
IsEqual(IE otherIE)
Checks whether this and the given IEs are equal. |
void |
RemoveCaseReference(Case travelCase)
Removes the given case form from the references list of this IE. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.util.ArrayList caseReferences
public java.lang.String name
public java.lang.String value
Constructor Detail |
public IE(java.lang.String name, java.lang.String value)
name
- The name of the value held in this IE instance.value
- The value of this IE.public IE(IE other)
other
- The other IE to be copied.Method Detail |
public boolean equals(java.lang.Object object)
Object.equals(java.lang.Object)
public boolean IsEqual(IE otherIE)
otherIE
-
public java.util.Iterator GetCaseReferencesInterator()
public void AddCaseReference(Case travelCase)
travelCase
- The case to add reference to.public int GetCaseReferencesCount()
public void RemoveCaseReference(Case travelCase) throws java.lang.IllegalArgumentException
travelCase
- The case to remove reference to.
java.lang.IllegalArgumentException
- Thrown if the given case is not on the refernces list of this IE.public boolean ContainsCase(Case travelCase)
travelCase
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |