ist.palcom.resource.descriptor
Class ASTNode
java.lang.Object
ist.palcom.resource.descriptor.ASTNode
- Direct Known Subclasses:
- AbstractXMLRepresentable, BroadcastTopicList, ConnectionList, ControlItem, GroupcastGroupIDList, GroupID, HeartBeat, List, NetworkNode, Opt, Selector, Topic, Universe, URL, URN, URNLeaf, VariableType
public class ASTNode
- extends java.lang.Object
|
Method Summary |
void |
addASTtoList(ArrayList l)
Hack to add a whole (sub)tree to an ArrayList |
void |
addChild(ASTNode node)
|
ASTNode |
copy()
|
AbstractResourceAddress |
Define_AbstractResourceAddress_custServiceAddress(ASTNode caller,
ASTNode child)
|
CommandInfo |
Define_CommandInfo_ci(ASTNode caller,
ASTNode child)
|
Device |
Define_Device_parentDevice(ASTNode caller,
ASTNode child)
|
Identifier |
Define_Identifier_getLocalName(ASTNode caller,
ASTNode child)
|
NetworkNode |
Define_NetworkNode_lookup(ASTNode caller,
ASTNode child,
java.lang.Object o)
|
PRDAssemblyVer |
Define_PRDAssemblyVer_av(ASTNode caller,
ASTNode child)
|
Service |
Define_Service_inhCust(ASTNode caller,
ASTNode child,
Connection c)
|
Service |
Define_Service_inhProv(ASTNode caller,
ASTNode child,
Connection c)
|
Service |
Define_Service_parentService(ASTNode caller,
ASTNode child)
|
java.lang.String |
Define_String_expectedType(ASTNode caller,
ASTNode child)
|
java.lang.String |
Define_String_parentServiceName(ASTNode caller,
ASTNode child)
|
java.lang.String |
Define_String_serviceKindFromSubList(ASTNode caller,
ASTNode child)
|
Universe |
Define_Universe_universe(ASTNode caller,
ASTNode child)
|
boolean |
encloseInBraces()
|
void |
flushCache()
|
ASTNode |
fullCopy()
|
java.lang.String |
getAssemblyLabel()
|
java.lang.String |
getBrowserLabel()
|
ASTNode |
getChild(int i)
|
java.lang.Object[] |
getChildArray()
Helper method for the TreeView |
ASTNode |
getChildNoTransform(int i)
|
ArrayList |
getErrorList()
|
java.lang.String |
getIDforEditing()
get the ID (name, etc) of the attribute or child to be edited
when selecting the node. |
java.lang.String |
getIndent()
|
int |
getIndexOfChild(ASTNode node)
|
int |
getNumChild()
|
int |
getNumChildNoTransform()
|
ASTNode |
getParent()
|
PRDAssemblyVer |
getParentPRDAssemblyVer()
This is a hack used for the released flag check. |
java.lang.String |
getPrettyClosingString()
|
java.lang.String |
getPrettyString()
|
void |
init$copy(java.lang.Object o)
|
void |
insertChild(ASTNode node,
int i)
|
protected int |
numChildren()
|
void |
prettyprint(java.io.PrintStream s)
|
boolean |
prettyPrintChildren()
|
boolean |
remove()
|
void |
removeChild(int i)
|
void |
resetTree()
|
void |
setChild(ASTNode node,
int i)
|
void |
setParent(ASTNode node)
|
ASTNode$State |
state()
|
boolean |
updateIDfromEditor(java.lang.String id)
Set the new name (ID, etc). |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
generatedWithCircularEnabled
public static final boolean generatedWithCircularEnabled
- See Also:
- Constant Field Values
generatedWithCacheCycle
public static final boolean generatedWithCacheCycle
- See Also:
- Constant Field Values
generatedWithComponentCheck
public static final boolean generatedWithComponentCheck
- See Also:
- Constant Field Values
parent
protected ASTNode parent
children
protected ASTNode[] children
numChildren
protected int numChildren
getParentPRDAssemblyVer_visited
protected boolean getParentPRDAssemblyVer_visited
getErrorList_visited
protected boolean getErrorList_visited
getBrowserLabel_visited
protected boolean getBrowserLabel_visited
getAssemblyLabel_visited
protected boolean getAssemblyLabel_visited
prettyPrintChildren_visited
protected boolean prettyPrintChildren_visited
getPrettyString_visited
protected boolean getPrettyString_visited
getPrettyClosingString_visited
protected boolean getPrettyClosingString_visited
encloseInBraces_visited
protected boolean encloseInBraces_visited
getIndent_visited
protected boolean getIndent_visited
ASTNode
public ASTNode()
flushCache
public void flushCache()
init$copy
public void init$copy(java.lang.Object o)
copy
public ASTNode copy()
fullCopy
public ASTNode fullCopy()
getIDforEditing
public java.lang.String getIDforEditing()
- get the ID (name, etc) of the attribute or child to be edited
when selecting the node.
updateIDfromEditor
public boolean updateIDfromEditor(java.lang.String id)
- Set the new name (ID, etc).
- Returns:
- true if the tree was actually changed.
getChildArray
public java.lang.Object[] getChildArray()
- Helper method for the TreeView
- Returns:
- The (interesting) children of a node, as an Object array
possibly bypassing levels in the tree or ignoring certain children.
addASTtoList
public void addASTtoList(ArrayList l)
- Hack to add a whole (sub)tree to an ArrayList
prettyprint
public void prettyprint(java.io.PrintStream s)
resetTree
public void resetTree()
remove
public boolean remove()
state
public final ASTNode$State state()
getChild
public ASTNode getChild(int i)
getIndexOfChild
public int getIndexOfChild(ASTNode node)
addChild
public void addChild(ASTNode node)
getChildNoTransform
public final ASTNode getChildNoTransform(int i)
numChildren
protected int numChildren()
getNumChild
public int getNumChild()
getNumChildNoTransform
public final int getNumChildNoTransform()
setChild
public void setChild(ASTNode node,
int i)
insertChild
public void insertChild(ASTNode node,
int i)
getParent
public ASTNode getParent()
setParent
public void setParent(ASTNode node)
removeChild
public void removeChild(int i)
getParentPRDAssemblyVer
public PRDAssemblyVer getParentPRDAssemblyVer()
- This is a hack used for the released flag check.
(as ASTNode cannot inherit ai())
- Returns:
- the PRDAssemblyVer at the root of the tree or null
Declared in AssemblyVersioning.jadd at line 195
getErrorList
public ArrayList getErrorList()
getBrowserLabel
public java.lang.String getBrowserLabel()
getAssemblyLabel
public java.lang.String getAssemblyLabel()
prettyPrintChildren
public boolean prettyPrintChildren()
getPrettyString
public java.lang.String getPrettyString()
getPrettyClosingString
public java.lang.String getPrettyClosingString()
encloseInBraces
public boolean encloseInBraces()
getIndent
public java.lang.String getIndent()
Define_Service_parentService
public Service Define_Service_parentService(ASTNode caller,
ASTNode child)
Define_AbstractResourceAddress_custServiceAddress
public AbstractResourceAddress Define_AbstractResourceAddress_custServiceAddress(ASTNode caller,
ASTNode child)
Define_PRDAssemblyVer_av
public PRDAssemblyVer Define_PRDAssemblyVer_av(ASTNode caller,
ASTNode child)
Define_String_parentServiceName
public java.lang.String Define_String_parentServiceName(ASTNode caller,
ASTNode child)
Define_Identifier_getLocalName
public Identifier Define_Identifier_getLocalName(ASTNode caller,
ASTNode child)
Define_CommandInfo_ci
public CommandInfo Define_CommandInfo_ci(ASTNode caller,
ASTNode child)
Define_String_expectedType
public java.lang.String Define_String_expectedType(ASTNode caller,
ASTNode child)
Define_Universe_universe
public Universe Define_Universe_universe(ASTNode caller,
ASTNode child)
Define_Service_inhCust
public Service Define_Service_inhCust(ASTNode caller,
ASTNode child,
Connection c)
Define_Service_inhProv
public Service Define_Service_inhProv(ASTNode caller,
ASTNode child,
Connection c)
Define_NetworkNode_lookup
public NetworkNode Define_NetworkNode_lookup(ASTNode caller,
ASTNode child,
java.lang.Object o)
Define_Device_parentDevice
public Device Define_Device_parentDevice(ASTNode caller,
ASTNode child)
Define_String_serviceKindFromSubList
public java.lang.String Define_String_serviceKindFromSubList(ASTNode caller,
ASTNode child)