|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.toscanaj.model.context.FCAElementImplementation
Constructor Summary | |
FCAElementImplementation(org.jdom.Element xmlelement)
|
|
FCAElementImplementation(java.lang.Object data)
|
|
FCAElementImplementation(java.lang.Object data,
org.jdom.Element description)
|
Method Summary | |
int |
compareTo(java.lang.Object o)
Determines order based on the context position stored. |
boolean |
equals(java.lang.Object other)
|
int |
getContextPosition()
Return the position in a context if available. |
java.lang.Object |
getData()
Returns the data stored in this FCAElement. |
org.jdom.Element |
getDescription()
Returns the description of the FCAElement. |
int |
hashCode()
|
void |
readXML(org.jdom.Element elem)
Read this element as the content of elem. |
void |
setContextPosition(int contextPosition)
Sets an index within a context. |
void |
setData(java.lang.Object data)
Changes the data stored in this FCAElement. |
void |
setDescription(org.jdom.Element description)
Sets a description for the FCAElement. |
java.lang.String |
toString()
|
org.jdom.Element |
toXML()
Write this element as the content of elem. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public FCAElementImplementation(java.lang.Object data)
public FCAElementImplementation(java.lang.Object data, org.jdom.Element description)
public FCAElementImplementation(org.jdom.Element xmlelement) throws XMLSyntaxError
Method Detail |
public java.lang.Object getData()
FCAElement
getData
in interface FCAElement
public org.jdom.Element getDescription()
FCAElement
getDescription
in interface FCAElement
public java.lang.String toString()
public void setData(java.lang.Object data)
WritableFCAElement
setData
in interface WritableFCAElement
data
- The new data, must not be null.public void setDescription(org.jdom.Element description)
WritableFCAElement
setDescription
in interface WritableFCAElement
description
- The new description, can be null.public int getContextPosition()
FCAElement
getContextPosition
in interface FCAElement
public void setContextPosition(int contextPosition)
WritableFCAElement
setContextPosition
in interface WritableFCAElement
contextPosition
- The position of the object or attribute in the context or
-1 if there is no such order.public boolean equals(java.lang.Object other)
public int hashCode()
public org.jdom.Element toXML()
XMLizable
toXML
in interface XMLizable
public void readXML(org.jdom.Element elem) throws XMLSyntaxError
XMLizable
readXML
in interface XMLizable
XMLSyntaxError
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |