antsnest.datastructure
Interface AntElement

All Superinterfaces:
AntNode, Serializable
All Known Implementing Classes:
DefaultAntElement

public interface AntElement
extends AntNode

Represents a type or task node

Author:
Chris Clohosy
See Also:
AntNode

Method Summary
 String getID()
          Get the ID of this element
 String getTaskname()
          Get the taskname of this element
 void introduceAttributes()
          Lets all the node's attributes discover the status of each other
 boolean isProperty()
          Finds out whether this element is a property
 void setID(String id)
          Set the ID of this element
 void setTaskname(String taskname)
          Set the taskname of this element
 
Methods inherited from interface antsnest.datastructure.AntNode
addAttribute, addAttribute, addNode, addNode, changeAttribute, cloneNode, getAttribute, getAttribute, getAttributeSize, getData, getDescription, getIDPool, getName, getNode, getNodeID, getNodeSize, getNodeText, getParent, getType, getTypeAt, indexOfAttribute, indexOfNode, moveAttribute, moveNode, removeAttribute, removeAttribute, removeNode, removeNode, setData, setDescription, setIDPool, setName, setNodeID, setParent
 

Method Detail

getID

String getID()
Get the ID of this element

Returns:
a String, the ID

setID

void setID(String id)
Set the ID of this element

Parameters:
id - the new ID

getTaskname

String getTaskname()
Get the taskname of this element

Returns:
a String, the taskname

setTaskname

void setTaskname(String taskname)
Set the taskname of this element

Parameters:
taskname - the new taskname

isProperty

boolean isProperty()
Finds out whether this element is a property

Returns:
a boolean, whether this element is a property

introduceAttributes

void introduceAttributes()
Lets all the node's attributes discover the status of each other