|
AROM-2_2_13 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--arom.kr.parser.standard.SimpleNode
|
+--arom.kr.parser.standard.AromTreeNode
|
+--arom.kr.parser.standard.AromDocTreeNode
|
+--arom.kr.parser.standard.AromInstanceNode
AromInstanceNode.java This class is the used to represent Arom Instances nodes. It defines the name of the instance's owner and it's documentation. Created: Mon Sep 10 13:58:58 2001
| Field Summary | |
static int |
OBJECT_NODE
A value of instance node type. the instance represents an Arom Object. |
static String |
TUPLE_NAME
Value of this node name if the node type is TUPLE_NODE. |
static int |
TUPLE_NODE
A value of instance node type. the instance represents an Arom Tuple. |
| Fields inherited from class arom.kr.parser.standard.AromDocTreeNode |
DOCUMENTATION_NONE, DOCUMENTATION_TEXT, DOCUMENTATION_URL |
| Constructor Summary | |
AromInstanceNode(int id)
|
|
AromInstanceNode(arom.kr.parser.standard.StandardParser p,
int id)
|
|
| Method Summary | |
Object |
childrenAccept(arom.kr.parser.standard.StandardParserVisitor visitor,
Object data)
|
void |
dump(String prefix)
|
int |
getNodeType()
Return the type of the instance represented by this node |
String |
getOwner()
Get the name of the strcuture this instance belongs to. |
Map |
getSlotsValues()
Get the Map of all slots name and the values associated to them for this instance. |
Object |
jjtAccept(arom.kr.parser.standard.StandardParserVisitor visitor,
Object data)
|
void |
setNodeType(int type)
Set the type of the instance represented by this node. |
void |
setOwner(String owner)
Set the name of the structure this instance belongs to. |
void |
setSlotEntry(String slotName,
Object slotValue)
Set the specified value to the specified slot for this instance. |
String |
toString()
|
| Methods inherited from class arom.kr.parser.standard.AromDocTreeNode |
getDocumentation, getDocumentationType, setDocumentation |
| Methods inherited from class arom.kr.parser.standard.AromTreeNode |
getName, setName |
| Methods inherited from class arom.kr.parser.standard.SimpleNode |
jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, toString |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int OBJECT_NODE
public static final int TUPLE_NODE
public static final String TUPLE_NAME
| Constructor Detail |
public AromInstanceNode(int id)
public AromInstanceNode(arom.kr.parser.standard.StandardParser p,
int id)
| Method Detail |
public void setOwner(String owner)
owner - the name of this instance ownerpublic String getOwner()
public void setNodeType(int type)
throws arom.kr.parser.standard.ParseException
type - the Type of this instance.
ParseException - if the type is unknown.public int getNodeType()
public void setSlotEntry(String slotName,
Object slotValue)
throws arom.kr.parser.standard.ParseException
slotName - the name of the slot the specified value is associated toslotValue - the value to associate to the specifed slot.
ParseException - if a value has already been set for the slot.public Map getSlotsValues()
public String toString()
toString in class AromTreeNodepublic void dump(String prefix)
dump in class AromTreeNode
public Object jjtAccept(arom.kr.parser.standard.StandardParserVisitor visitor,
Object data)
jjtAccept in interface arom.kr.parser.standard.NodejjtAccept in class AromTreeNode
public Object childrenAccept(arom.kr.parser.standard.StandardParserVisitor visitor,
Object data)
childrenAccept in class AromTreeNode
|
AROM-2_2_13 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||