org.primordion.xholon.base
Class Attribute.Attribute_int

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

public static class Attribute.Attribute_int
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
 int 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_int()
           
 
Method Summary
 void decVal(int decAmount)
          Decrement an internal int value by a specified amount.
 int getVal_int()
          Get the value of a "int" 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(int val)
          Set the value of a "int" 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_long, getVal_Object, getVal_short, 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_long, getVal_Object, getVal_short, 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 int val
Constructor Detail

Attribute.Attribute_int

public Attribute.Attribute_int()
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_int

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

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

setVal

public void setVal(int val)
Description copied from interface: IXholon
Set the value of a "int" 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