org.primordion.xholon.base
Class Attribute

java.lang.Object
  extended byorg.primordion.xholon.base.Xholon
      extended byorg.primordion.xholon.base.Attribute
All Implemented Interfaces:
IXholon
Direct Known Subclasses:
Attribute.Attribute_boolean, Attribute.Attribute_byte, Attribute.Attribute_char, Attribute.Attribute_double, Attribute.Attribute_float, Attribute.Attribute_int, Attribute.Attribute_long, Attribute.Attribute_Object, Attribute.Attribute_short, Attribute.Attribute_String

public abstract class Attribute
extends Xholon

An Attribute is a passive object.

Since:
0.5 (Created on March 5, 2007)
Author:
Ken Webb
See Also:
IAttribute

Nested Class Summary
static class Attribute.Attribute_boolean
           
static class Attribute.Attribute_byte
           
static class Attribute.Attribute_char
           
static class Attribute.Attribute_double
           
static class Attribute.Attribute_float
           
static class Attribute.Attribute_int
           
static class Attribute.Attribute_long
           
static class Attribute.Attribute_Object
           
static class Attribute.Attribute_short
           
static class Attribute.Attribute_String
           
 
Field Summary
 java.lang.String roleName
           
 
Fields inherited from class org.primordion.xholon.base.Xholon
DEFAULT_LEVEL, interaction, interactionsEnabled
 
Fields inherited from interface org.primordion.xholon.base.IXholon
DEFAULT_SIZE_MSG_Q, NINCLUDE_PSC, NINCLUDE_PSx, NINCLUDE_PxC, NINCLUDE_Pxx, NINCLUDE_xSC, NINCLUDE_xSx, NINCLUDE_xxC, NINCLUDE_xxx
 
Constructor Summary
Attribute()
           
 
Method Summary
 java.lang.String getRoleName()
          Get name of the role played by this Xholon within a specific context.
static void main(java.lang.String[] args)
          Testing
 void setRoleName(java.lang.String roleName)
          Set name of the role played by this Xholon within a specific context.
 java.lang.String toString()
           
 
Methods inherited from class org.primordion.xholon.base.Xholon
act, appendChild, appendChild, appendChild, cleanup, configure, configure, createStructure, decVal, decVal, depth, draw, getChildNodes, getFirstChild, getFirstSibling, getId, getLastChild, getLastSibling, getName, getNeighbors, getNextId, getNextSibling, getNthChild, getNthSibling, getNumChildren, getNumSiblings, getParentNode, getPort, getPreviousSibling, getRootNode, getSiblings, getSizeMessageQ, getUid, getVal_boolean, getVal_byte, getVal_char, getVal_double, getVal_float, getVal_int, getVal_long, getVal_Object, getVal_short, getVal_String, getVal, getXhc, getXhcId, getXhcName, getXhType, handleNodeSelection, hasAncestor, hasChildNodes, hasChildOrSiblingNodes, hasNextSibling, hasParentNode, height, incVal, incVal, initialize, initStatics, inOrderPrint, insertAfter, insertBefore, insertFirstChild, isActiveObject, isBound, isContainer, isExternal, isInternal, isLeaf, isPassiveObject, isRootNode, performActivity, performActivity, performBooleanActivity, performBooleanActivity, performDoubleActivity, performGuard, performVoidActivity, postAct, postConfigure, postOrderPrint, postReconfigure, preAct, preConfigure, preOrderPrint, preReconfigure, print, println, processMessageQ, processReceivedMessage, reconfigure, remove, removeChild, resetNextId, sendMessage, sendMessage, sendMessage, setAttributeVal, setFactory, setFirstChild, setId, setNextSibling, setParentChildLinks, setParentNode, setParentSiblingLinks, setPorts, setSizeMessageQ, setUid, setVal, setVal, setVal, setVal, setVal, setVal, setVal, setVal, setVal, setVal, setVariableValue, setXhc, swapNode, terminate, treeSize, writeXml
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

roleName

public java.lang.String roleName
Constructor Detail

Attribute

public Attribute()
Method Detail

getRoleName

public java.lang.String getRoleName()
Description copied from interface: IXholon
Get name of the role played by this Xholon within a specific context.

Specified by:
getRoleName in interface IXholon
Overrides:
getRoleName in class Xholon

setRoleName

public void setRoleName(java.lang.String roleName)
Description copied from interface: IXholon
Set name of the role played by this Xholon within a specific context.

Specified by:
setRoleName in interface IXholon
Overrides:
setRoleName in class Xholon

toString

public java.lang.String toString()
Overrides:
toString in class Xholon

main

public static void main(java.lang.String[] args)
Testing

Parameters:
args -