org.primordion.xholon.base
Interface IAttribute

All Superinterfaces:
IXholon
All Known Implementing Classes:
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 interface IAttribute
extends IXholon

Attribute. A Xholon Attribute is based loosely on the UML concept of Attribute. A UML Attribute has: visibility (public, protected, private, or package), a name, a type, a multiplicity, a default initial value. A Xholon Attribute: can be part of a composite structure tree just like any other xholon, has a roleName (UML name), is implemented by a concrete Java class (UML type, ex: Attribute_double), encapsulates a single value called "val" with public visibility, has getVal and setVal methods, may have incVal and decVal methods, may be able to processed received messages, is typically a Xholon PurePassiveObject, acts as a server that any number of other xholons can access, does not have any ports of its own but may be accessed through a port on some other xholon, has no act() method, has no default value other than the normal Java default.

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

Field Summary
 
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
 
Methods inherited from interface org.primordion.xholon.base.IXholon
act, appendChild, appendChild, appendChild, cleanup, configure, configure, createStructure, decVal, decVal, depth, draw, getChildNodes, getFirstChild, getFirstSibling, getId, getLastChild, getLastSibling, getName, getNeighbors, getNextSibling, getNthChild, getNthSibling, getNumChildren, getNumSiblings, getParentNode, getPort, getPreviousSibling, getRoleName, getRootNode, getSiblings, 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, sendMessage, sendMessage, sendMessage, setAttributeVal, setFirstChild, setId, setNextSibling, setParentChildLinks, setParentNode, setParentSiblingLinks, setPorts, setRoleName, setUid, setVal, setVal, setVal, setVal, setVal, setVal, setVal, setVal, setVal, setVal, setVariableValue, setXhc, swapNode, terminate, treeSize, writeXml