|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.indi.objects.Object<Object>
org.indi.objects.Element
public abstract class Element
A class representing a single indielement to be accomodated by an indivector
Field Summary | |
---|---|
protected java.lang.String |
label
the label of the indielement to be uses in a GUI |
protected java.lang.String |
name
the name of the indielement to identify it uniquely |
protected java.lang.String |
value
the value of the indielement |
Fields inherited from class org.indi.objects.Object |
---|
children, message, transferType |
Constructor Summary | |
---|---|
Element(java.lang.String name,
java.lang.String label,
java.lang.String value)
class constructor |
Method Summary | |
---|---|
java.lang.String |
getEndTag(TransferType type)
Get the closing XML tag for the element |
java.lang.String |
getName()
|
java.lang.String |
getStartTag(TransferType type)
Get the opening XML tag for the element |
protected abstract java.lang.String |
getType()
|
java.lang.String |
getValue(TransferType type)
get the value of the indielement |
java.lang.String |
getXML(TransferType type)
|
int |
hashCode()
|
boolean |
oEquals(Object o)
Check the equality with an other object, exculding subobject. |
void |
setValue(java.lang.String value)
set the value of the indielement |
Methods inherited from class org.indi.objects.Object |
---|
equals, getChildren, getMessage, getTransferType, getXML, setTransferType, treeEquals |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String value
protected java.lang.String label
protected java.lang.String name
Constructor Detail |
---|
public Element(java.lang.String name, java.lang.String label, java.lang.String value)
name
- the name of the indielement (unique identiyer)label
- the label of the indielement (for use in GUI)value
- the indielement (the data it carries)Method Detail |
---|
protected abstract java.lang.String getType()
public java.lang.String getStartTag(TransferType type)
type
- the transfertype to be used
public java.lang.String getEndTag(TransferType type)
type
- the transfertype to be used
public java.lang.String getValue(TransferType type)
type
- the treansfertype to be used
public void setValue(java.lang.String value)
value
- the new value to be setpublic java.lang.String getXML(TransferType type)
type
- the transfertype to be used
public java.lang.String getName()
public boolean oEquals(Object o)
Object
oEquals
in class Object<Object>
public int hashCode()
hashCode
in class Object<Object>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |