org.primordion.user.app.Epo2
Class PurchaseOrder

java.lang.Object
  extended byorg.primordion.xholon.base.Xholon
      extended byorg.primordion.xholon.base.XholonWithPorts
          extended byorg.primordion.user.app.Epo2.XhEpo2
              extended byorg.primordion.user.app.Epo2.PurchaseOrder
All Implemented Interfaces:
CeEpo2, IXholon

public class PurchaseOrder
extends XhEpo2

Extended Purchase Order example.

Since:
0.5.x (Created on April 13, 2007)
Author:
Ken Webb
See Also:
Budinsky, F. et al. (2004). Eclipse Modeling Framework. (EPO2 example), (2004). XML Schema Part 0: Primer Second Edition. (PO example) http://www.w3.org/TR/xmlschema-0/

Field Summary
static int BackOrder
           
 java.lang.String comment
           
static int Complete
           
 java.lang.String orderDate
           
static int Pending
           
 int status
           
 int totalAmount
           
 
Fields inherited from class org.primordion.user.app.Epo2.XhEpo2
roleName, SamplePort, SIG_SAMPLE
 
Fields inherited from class org.primordion.xholon.base.XholonWithPorts
port
 
Fields inherited from class org.primordion.xholon.base.Xholon
DEFAULT_LEVEL, interaction, interactionsEnabled
 
Fields inherited from interface org.primordion.user.app.Epo2.CeEpo2
AddressCE, CustomerCE, Epo2SystemCE, GlobalAddressCE, ItemCE, PurchaseOrderCE, SupplierCE, USAddressCE, XholonClassCE
 
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
PurchaseOrder()
           
 
Method Summary
 void act()
          Do some action during this time step.
 java.lang.String toString()
           
 
Methods inherited from class org.primordion.user.app.Epo2.XhEpo2
decVal, getAppSpecificParam1, getRoleName, getVal, incVal, initialize, processReceivedMessage, setAppSpecificParam1, setRoleName, setVal
 
Methods inherited from class org.primordion.xholon.base.XholonWithPorts
configure, getMaxPorts, getPort, isActiveObject, isBound, isContainer, isPassiveObject, postConfigure, setMaxPorts, setPorts, terminate
 
Methods inherited from class org.primordion.xholon.base.Xholon
appendChild, appendChild, appendChild, cleanup, configure, createStructure, decVal, depth, draw, getChildNodes, getFirstChild, getFirstSibling, getId, getLastChild, getLastSibling, getName, getNeighbors, getNextId, getNextSibling, getNthChild, getNthSibling, getNumChildren, getNumSiblings, getParentNode, 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, getXhc, getXhcId, getXhcName, getXhType, handleNodeSelection, hasAncestor, hasChildNodes, hasChildOrSiblingNodes, hasNextSibling, hasParentNode, height, incVal, initStatics, inOrderPrint, insertAfter, insertBefore, insertFirstChild, isExternal, isInternal, isLeaf, isRootNode, performActivity, performActivity, performBooleanActivity, performBooleanActivity, performDoubleActivity, performGuard, performVoidActivity, postAct, postOrderPrint, postReconfigure, preAct, preConfigure, preOrderPrint, preReconfigure, print, println, processMessageQ, reconfigure, remove, removeChild, resetNextId, sendMessage, sendMessage, sendMessage, setAttributeVal, setFactory, setFirstChild, setId, setNextSibling, setParentChildLinks, setParentNode, setParentSiblingLinks, setSizeMessageQ, setUid, setVal, setVal, setVal, setVal, setVal, setVal, setVal, setVal, setVal, setVariableValue, setXhc, swapNode, treeSize, writeXml
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

Pending

public static final int Pending
See Also:
Constant Field Values

BackOrder

public static final int BackOrder
See Also:
Constant Field Values

Complete

public static final int Complete
See Also:
Constant Field Values

comment

public java.lang.String comment

orderDate

public java.lang.String orderDate

status

public int status

totalAmount

public int totalAmount
Constructor Detail

PurchaseOrder

public PurchaseOrder()
Method Detail

act

public void act()
Description copied from interface: IXholon
Do some action during this time step. Typically all nodes in the tree will do their pre-actions (optional), then all will do their actions, and then all will do their post-actions (optional).

Specified by:
act in interface IXholon
Overrides:
act in class XhEpo2

toString

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