org.primordion.xholon.base
Class Attribute.Attribute_short

java.lang.Object
  extended byorg.primordion.xholon.base.Xholon
      extended byorg.primordion.xholon.base.Attribute
          extended byorg.primordion.xholon.base.Attribute.Attribute_short
All Implemented Interfaces:
IAttribute, IXholon
Enclosing class:
Attribute

public static class Attribute.Attribute_short
extends Attribute
implements IAttribute

See Also:
IAttribute

Nested Class Summary
 
Nested classes inherited from class org.primordion.xholon.base.Attribute
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
 
Field Summary
 short val
           
 
Fields inherited from class org.primordion.xholon.base.Attribute
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.Attribute_short()
           
 
Method Summary
 void decVal(int decAmount)
          Decrement an internal int value by a specified amount.
 short getVal_short()
          Get the value of a "short" maintained by this xholon instance.
 double getVal()
          Get the value of a "double" maintained by this xholon instance.
 void incVal(int incAmount)
          Increment an internal int value by a specified amount.
 void setVal(short val)
          Set the value of a "short" maintained by this xholon instance.
 
Methods inherited from class org.primordion.xholon.base.Attribute
getRoleName, main, setRoleName, toString
 
Methods inherited from class org.primordion.xholon.base.Xholon
act, appendChild, appendChild, appendChild, cleanup, configure, configure, createStructure, 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_String, getXhc, getXhcId, getXhcName, getXhType, handleNodeSelection, hasAncestor, hasChildNodes, hasChildOrSiblingNodes, hasNextSibling, hasParentNode, height, 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, setVariableValue, setXhc, swapNode, terminate, treeSize, writeXml
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.primordion.xholon.base.IXholon
act, appendChild, appendChild, appendChild, cleanup, configure, configure, createStructure, 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_String, getXhc, getXhcId, getXhcName, getXhType, handleNodeSelection, hasAncestor, hasChildNodes, hasChildOrSiblingNodes, hasNextSibling, hasParentNode, height, 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, setVariableValue, setXhc, swapNode, terminate, treeSize, writeXml
 

Field Detail

val

public short val
Constructor Detail

Attribute.Attribute_short

public Attribute.Attribute_short()
Method Detail

getVal

public double getVal()
Description copied from interface: IXholon
Get the value of a "double" maintained by this xholon instance. If a class that implements this interface does not maintain such a value, it should return 0.0 This method can be used in place of getVal_double()

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

getVal_short

public short getVal_short()
Description copied from interface: IXholon
Get the value of a "short" maintained by this xholon instance.

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

setVal

public void setVal(short val)
Description copied from interface: IXholon
Set the value of a "short" maintained by this xholon instance.

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

incVal

public void incVal(int incAmount)
Description copied from interface: IXholon
Increment an internal int value by a specified amount. This is a convenience method.

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

decVal

public void decVal(int decAmount)
Description copied from interface: IXholon
Decrement an internal int value by a specified amount. This is a convenience method.

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