public interface IXholonClass extends IXholon
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
URI_APPSPECIFIC_AUTH_DEFAULT
Default app-specific authority of the base Uniform Resource Identifier (URI),
for use with getUri() setUri(String).
|
static java.lang.String |
URI_APPSPECIFIC_DEFAULT
Default app-specific Uniform Resource Identifier (URI),
for use with getUri() setUri(String).
|
static java.lang.String |
URI_APPSPECIFIC_PATH_DEFAULT
Default app-specific path of the Uniform Resource Identifier (URI),
for use with getUri() setUri(String).
|
static int |
XhtypeActivity |
static int |
XhtypeBehFgsCon
Active Object + Passive Object + Container.
|
static int |
XhtypeBehFgsxxx
Active Object + Passive Object.
|
static int |
XhtypeBehxxxCon
Active Object + Container.
|
static int |
XhtypeBehxxxxxx
Pure Active Object.
|
static int |
XhtypeBraneCalcEntity |
static int |
XhtypeBraneCalcEntityActive |
static int |
XhtypeBraneCalcEntityPassive |
static int |
XhtypeConfigContainer |
static int |
XhtypeCtrnnEntity |
static int |
XhtypeCtrnnEntityActive |
static int |
XhtypeCtrnnEntityActivePassive |
static int |
XhtypeGridEntity |
static int |
XhtypeGridEntityActive |
static int |
XhtypeGridEntityActivePassive |
static int |
XhtypeMemCompEntity |
static int |
XhtypeMemCompEntityActive |
static int |
XhtypeMemCompEntityActiveContainer |
static int |
XhtypeMemCompEntityPassive |
static int |
XhtypeNone |
static int |
XhtypePort |
static int |
XhtypePureActiveObject |
static int |
XhtypePureContainer |
static int |
XhtypePurePassiveObject |
static int |
XhtypeStateMachineEntity |
static int |
XhtypeStateMachineEntityActive |
static int |
XhtypexxxFgsCon
Passive Object + Container.
|
static int |
XhtypexxxFgsxxx
Pure Passive Object.
|
static int |
XhtypexxxxxxCon
Pure Container.
|
static int |
Xhtypexxxxxxxxx
Mechanism - Composite Structure.
|
DEFAULT_SIZE_MSG_Q, DEFAULT_SIZE_SYSTEM_MSG_Q, GETNAME_DEFAULT, GETNAME_LOCALPART_ID, GETNAME_NOROLENAME, GETNAME_ROLENAME_OR_CLASSNAME, GETNAME_ROLENAMESEP_, GETNAME_SIZE_TEMPLATE, NINCLUDE_PSC, NINCLUDE_PSx, NINCLUDE_PxC, NINCLUDE_Pxx, NINCLUDE_xSC, NINCLUDE_xSx, NINCLUDE_xxC, NINCLUDE_xxx, XHOLON_ID_DEFAULT, XHOLON_ID_NULL
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getChildSuperClass()
Get the optional child superClass.
|
java.lang.String |
getConfigurationInstructions()
Get configuration instructions.
|
IDecoration |
getDecoration()
Get the optional decoration object.
|
java.lang.String |
getDefaultContent() |
java.lang.String |
getImplName()
Get the name of the Java class that implements this Xholon class.
|
java.lang.String |
getLocalPart()
Get only the local part of the name of this IXholonClass, without the prefix.
|
IMechanism |
getMechanism()
Get the mechanism that this IXholonClass belongs to.
|
java.lang.String |
getNavInfo()
Get navigation information.
|
java.util.List |
getPortInformation()
Get information about each potential port,
including the fieldName, fieldNameIndex, and xpathExpression.
|
java.lang.String |
getPrefix()
Get the XML namespace default prefix.
|
java.lang.String |
getPrefixedName()
Get the name of this IXholonClass in the format: prefix:name .
|
java.lang.Object |
getPrototype()
Get the value of the prototype object, which is a JavaScriptObject.
|
QName |
getQName()
Get the name of this IXholonClass as a QName.
|
int |
getXhType()
Get xholon type.
|
java.lang.String |
getXhTypeName()
Get the name of the xholon type.
|
boolean |
hasAncestor(int tnId)
Does this instance of XholonClass have the specified ancestor
somewhere in its inheritance tree.
|
boolean |
hasAncestor(java.lang.String tnName)
Does this instance of XholonClass have the specified ancestor
somewhere in its inheritance tree.
|
boolean |
hasConfigurationInstructions()
Does this instance of IXholonClass have configuration instructions?
|
void |
inOrderPrint(int level)
In-order print.
|
boolean |
isPrefixed()
Get whether the XholonClass name must be prefixed.
|
void |
postOrderPrint(int level)
Post-order print.
|
void |
preOrderPrint(int level)
Pre-order print.
|
java.lang.String |
prototype(java.lang.String jsCode)
If the JavaScript code starts with a constructor,
then create a protoype object,
and return a String that can be used to create an object that derives from that prototype.
|
void |
setChildSuperClass(java.lang.String childSuperClass)
Set the optional child superClass.
|
void |
setDecoration(IDecoration decoration)
Set the optional decoration object.
|
void |
setDefaultContent(java.lang.String defaultContent) |
void |
setImplName(java.lang.String implName)
Set the name of the Java class that implements this Xholon class.
|
void |
setMechanism(IMechanism mechanism)
Set the mechanism that this IXholonClass belongs to.
|
void |
setMechanism(java.lang.String name,
java.lang.String namespaceUri,
java.lang.String defaultPrefix,
int rangeStart)
Set the mechanism that this IXholonClass belongs to.
|
void |
setName(java.lang.String className)
Set name of this XholonClass.
|
void |
setNavInfo(java.lang.String navInfo)
Set navigation information.
|
void |
setPortInformation(java.util.List portInformation)
Set the list of information about each potential port.
|
void |
setPrefixed(boolean prefixed)
Set whether the XholonClass name must be prefixed.
|
void |
setPrototype(java.lang.Object prototype) |
void |
setXhType(int xhType)
Set xholon type.
|
act, actNr, appendChild, appendChild, appendChild, appendsOwnChildren, bindPorts, cleanup, configure, configure, consoleLog, decVal, decVal, depth, doAction, findFirstChildWithXhClass, findFirstChildWithXhClass, forwardMessage, forwardSyncMessage, getActionList, getAllPorts, getAnnotation, getApp, getAttributeNodeXh, getAttributeXh, getChildNodes, getClassNode, getClassNode, getFirstChild, getFirstSibling, getId, getLastChild, getLastSibling, getName, getName, getNeighbors, getNextSibling, getNthChild, getNthSibling, getNumChildren, getNumLevels, getNumSiblings, getParentNode, getPort, getPort, getPreviousSibling, getRoleName, getRootNode, getSelfAndSiblings, getSelfAndSiblingsIndex, getService, getSiblings, getUid, getUri, getVal_boolean, getVal_byte, getVal_char, getVal_double, getVal_float, getVal_int, getVal_long, getVal_Object, getVal_short, getVal_String, getVal, getXhc, getXhcId, getXhcName, getXholon2Xml, getXml2Xholon, handleNodeSelection, handleNodeSelection, hasAnnotation, hasAttributeXh, hasChildNodes, hasChildOrSiblingNodes, hasNextSibling, hasParentNode, hasSiblingNodes, height, incVal, incVal, initialize, initStatics, insertAfter, insertAfter, insertAfter, insertBefore, insertBefore, insertBefore, insertFirstChild, isActiveObject, isAttributeHandler, isBound, isContainer, isExternal, isInternal, isLeaf, isPassiveObject, isRootNode, isUniqueSibling, isUniqueSiblingRoleName, performActivity, performActivity, performBooleanActivity, performBooleanActivity, performDoubleActivity, performGuard, performVoidActivity, postAct, postConfigure, postReconfigure, preAct, preConfigure, preReconfigure, print, println, processMessageQ, processReceivedMessage, processReceivedSyncMessage, processSystemMessageQ, reconfigure, registerMessageForwardee, remove, removeAttributeNodeXh, removeAttributeXh, removeChild, replaceNode, searchForReferencingNodes, sendMessage, sendMessage, sendMessage, sendSyncMessage, sendSyncMessage, sendSyncMessage, sendSystemMessage, sendSystemMessage, setActionList, setAnnotation, setApp, setAttributeNodeXh, setAttributeVal, setAttributeXh, setFirstChild, setId, setNextSibling, setParentChildLinks, setParentNode, setParentSiblingLinks, setPort, setPort, setPorts, setRoleName, setUid, setUri, setVal_boolean, setVal_byte, setVal_char, setVal_double, setVal_float, setVal_int, setVal_long, setVal_Object, setVal_short, setVal_String, setVal, setVal, setVal, setVal, setVal, setVal, setVal, setVal, setVal, setVal, setXhc, showAnnotation, swapNode, terminate, toXml, toXmlAttribute, toXmlAttributes, toXmlText, treeSize, visit
static final int Xhtypexxxxxxxxx
static final int XhtypexxxxxxCon
static final int XhtypexxxFgsxxx
static final int XhtypexxxFgsCon
static final int XhtypeBehxxxxxx
static final int XhtypeBehxxxCon
static final int XhtypeBehFgsxxx
static final int XhtypeBehFgsCon
static final int XhtypeNone
static final int XhtypePureContainer
static final int XhtypePurePassiveObject
static final int XhtypePureActiveObject
static final int XhtypeActivity
static final int XhtypeConfigContainer
static final int XhtypeStateMachineEntity
static final int XhtypeStateMachineEntityActive
static final int XhtypeCtrnnEntity
static final int XhtypeCtrnnEntityActive
static final int XhtypeCtrnnEntityActivePassive
static final int XhtypeMemCompEntity
static final int XhtypeMemCompEntityActive
static final int XhtypeMemCompEntityPassive
static final int XhtypeMemCompEntityActiveContainer
static final int XhtypeBraneCalcEntity
static final int XhtypeBraneCalcEntityActive
static final int XhtypeBraneCalcEntityPassive
static final int XhtypePort
static final int XhtypeGridEntity
static final int XhtypeGridEntityActive
static final int XhtypeGridEntityActivePassive
static final java.lang.String URI_APPSPECIFIC_AUTH_DEFAULT
static final java.lang.String URI_APPSPECIFIC_PATH_DEFAULT
static final java.lang.String URI_APPSPECIFIC_DEFAULT
void setName(java.lang.String className)
QName getQName()
java.lang.String getPrefixedName()
java.lang.String getPrefix()
java.lang.String getLocalPart()
void setPrefixed(boolean prefixed)
prefixed
- boolean isPrefixed()
void setNavInfo(java.lang.String navInfo)
navInfo
- A configuration string describing ports, attributes
and commands for this XholonClass and its Xholon instances.java.lang.String getNavInfo()
void setPortInformation(java.util.List portInformation)
portInformation
- An array of PortInformation instances.java.util.List getPortInformation()
int getXhType()
java.lang.String getXhTypeName()
void setXhType(int xhType)
xhType
- The new Xholon type.
(ex: XhtypePureContainer, XhtypePurePassiveObject, XhtypePureActiveObject)java.lang.String getImplName()
ex: org.primordion.user.app.APartOfTheSystem
void setImplName(java.lang.String implName)
ex: org.primordion.user.app.APartOfTheSystem
implName
- The full package name of a Java class.IDecoration getDecoration()
void setDecoration(IDecoration decoration)
An
- instance of IDecoration.java.lang.String getDefaultContent()
void setDefaultContent(java.lang.String defaultContent)
defaultContent
- The default content of instances of this Xholon class.java.lang.Object getPrototype()
void setPrototype(java.lang.Object prototype)
java.lang.String prototype(java.lang.String jsCode)
jsCode
- JavaScript code.boolean hasAncestor(java.lang.String tnName)
hasAncestor
in interface IXholon
tnName
- the name of the searched-for ancestorIMechanism getMechanism()
void setMechanism(IMechanism mechanism)
mechanism
- An instance of IMechanism.void setMechanism(java.lang.String name, java.lang.String namespaceUri, java.lang.String defaultPrefix, int rangeStart)
name
- The name/roleName of the mechanism.namespaceUri
- A namespace URI that uniquely identifies the mechanism.defaultPrefix
- rangeStart
- boolean hasAncestor(int tnId)
tnId
- the ID of the searched-for ancestorjava.lang.String getConfigurationInstructions()
boolean hasConfigurationInstructions()
java.lang.String getChildSuperClass()
void setChildSuperClass(java.lang.String childSuperClass)
childSuperClass
- void preOrderPrint(int level)
IXholon
preOrderPrint
in interface IXholon
level
- Level in the tree, where the root node is level 0.void inOrderPrint(int level)
IXholon
inOrderPrint
in interface IXholon
level
- Level in the tree, where the root node is level 0.void postOrderPrint(int level)
IXholon
postOrderPrint
in interface IXholon
level
- Level in the tree, where the root node is level 0.