|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gscg.singleuser.interactionlayer.dataobjects.ContentNumberData
This keeps track of the different numbers per message per product. As soon as some content is handled, it processes this and send the appropriate value for the class of the content to the client-side graphical user interface. The actual firing of the data towards the client is done by the GameActorContentStore.
Copyright (c) 2003-2005 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information www.simulation.tudelft.nl . The source code and binary code of this software is proprietary information of Delft University of Technology.
GameActorContentStore
,
Serialized FormField Summary | |
static java.lang.String |
CONTENT_TYPE_BILL_RECEIVED
the BILL_RECEIVED content |
static java.lang.String |
CONTENT_TYPE_BILL_SENT
the BILL_SENT content |
static java.lang.String |
CONTENT_TYPE_INTERNALDEMAND_RECEIVED
the INTERNALDEMAND_RECEIVED content |
static java.lang.String |
CONTENT_TYPE_INTERNALDEMAND_SENT
the INTERNALDEMAND_SENT content |
static java.lang.String |
CONTENT_TYPE_ORDER_RECEIVED
the ORDER_RECEIVED content |
static java.lang.String |
CONTENT_TYPE_ORDER_SENT
the ORDER_SENT content |
static java.lang.String |
CONTENT_TYPE_ORDERCOMMIT_RECEIVED
the ORDERCOMMIT_RECEIVED content |
static java.lang.String |
CONTENT_TYPE_ORDERCOMMIT_SENT
the ORDERCOMMIT_SENT content |
static java.lang.String |
CONTENT_TYPE_PAYMENT_RECEIVED
the PAYMENT_RECEIVED content |
static java.lang.String |
CONTENT_TYPE_PAYMENT_SENT
the PAYMENT_SENT content |
static java.lang.String |
CONTENT_TYPE_PRODUCTION_ORDER_RECEIVED
the PRODUCTION_ORDER_RECEIVED content |
static java.lang.String |
CONTENT_TYPE_PRODUCTION_ORDER_SENT
the PRODUCTION_ORDER_SENT content |
static java.lang.String |
CONTENT_TYPE_QUOTE_RECEIVED
the QUOTE_RECEIVED content |
static java.lang.String |
CONTENT_TYPE_QUOTE_SENT
the QUOTE_SENT content |
static java.lang.String |
CONTENT_TYPE_RFQ_RECEIVED
the RFQ_RECEIVED content |
static java.lang.String |
CONTENT_TYPE_RFQ_SENT
the RFQ_SENT content |
static java.lang.String |
CONTENT_TYPE_SHIPMENT_RECEIVED
the SHIPMENT_RECEIVED content |
static java.lang.String |
CONTENT_TYPE_SHIPMENT_SENT
the SHIPMENT_SENT content |
static nl.tudelft.simulation.event.EventType |
EVENT_FULL_LIST_BILL_RECEIVED
the BILL_RECEIVED event |
static nl.tudelft.simulation.event.EventType |
EVENT_FULL_LIST_BILL_SENT
the BILL_SENT event |
static nl.tudelft.simulation.event.EventType |
EVENT_FULL_LIST_INTERNALDEMAND_RECEIVED
the INTERNALDEMAND_RECEIVED event |
static nl.tudelft.simulation.event.EventType |
EVENT_FULL_LIST_INTERNALDEMAND_SENT
the INTERNALDEMAND_SENT event |
static nl.tudelft.simulation.event.EventType |
EVENT_FULL_LIST_ORDER_RECEIVED
the ORDER_RECEIVED event |
static nl.tudelft.simulation.event.EventType |
EVENT_FULL_LIST_ORDER_SENT
the ORDER_SENT event |
static nl.tudelft.simulation.event.EventType |
EVENT_FULL_LIST_ORDERCOMMIT_RECEIVED
the ORDERCOMMIT_RECEIVED event |
static nl.tudelft.simulation.event.EventType |
EVENT_FULL_LIST_ORDERCOMMIT_SENT
the ORDERCOMMIT_SENT event |
static nl.tudelft.simulation.event.EventType |
EVENT_FULL_LIST_PAYMENT_RECEIVED
the PAYMENT_RECEIVED event |
static nl.tudelft.simulation.event.EventType |
EVENT_FULL_LIST_PAYMENT_SENT
the PAYMENT_SENT event |
static nl.tudelft.simulation.event.EventType |
EVENT_FULL_LIST_PRODUCTION_ORDER_RECEIVED
the PRODUCTION_ORDER_RECEIVED event |
static nl.tudelft.simulation.event.EventType |
EVENT_FULL_LIST_PRODUCTION_ORDER_SENT
the PRODUCTION_ORDER_SENT event |
static nl.tudelft.simulation.event.EventType |
EVENT_FULL_LIST_QUOTE_RECEIVED
the QUOTE_RECEIVED event |
static nl.tudelft.simulation.event.EventType |
EVENT_FULL_LIST_QUOTE_SENT
the QUOTE_SENT event |
static nl.tudelft.simulation.event.EventType |
EVENT_FULL_LIST_RFQ_RECEIVED
the RFQ_RECEIVED event |
static nl.tudelft.simulation.event.EventType |
EVENT_FULL_LIST_RFQ_SENT
the RFQ_SENT event |
static nl.tudelft.simulation.event.EventType |
EVENT_FULL_LIST_SHIPMENT_RECEIVED
the SHIPMENT_RECEIVED event |
static nl.tudelft.simulation.event.EventType |
EVENT_FULL_LIST_SHIPMENT_SENT
the SHIPMENT_SENT event |
static nl.tudelft.simulation.event.EventType |
EVENT_NUMBER_BILL_RECEIVED
the BILL_RECEIVED event |
static nl.tudelft.simulation.event.EventType |
EVENT_NUMBER_BILL_SENT
the BILL_SENT event |
static nl.tudelft.simulation.event.EventType |
EVENT_NUMBER_INTERNALDEMAND_RECEIVED
the INTERNALDEMAND_RECEIVED event |
static nl.tudelft.simulation.event.EventType |
EVENT_NUMBER_INTERNALDEMAND_SENT
the INTERNALDEMAND_SENT event |
static nl.tudelft.simulation.event.EventType |
EVENT_NUMBER_ORDER_RECEIVED
the ORDER_RECEIVED event |
static nl.tudelft.simulation.event.EventType |
EVENT_NUMBER_ORDER_SENT
the ORDER_SENT event |
static nl.tudelft.simulation.event.EventType |
EVENT_NUMBER_ORDERCOMMIT_RECEIVED
the ORDERCOMMIT_RECEIVED event |
static nl.tudelft.simulation.event.EventType |
EVENT_NUMBER_ORDERCOMMIT_SENT
the ORDERCOMMIT_SENT event |
static nl.tudelft.simulation.event.EventType |
EVENT_NUMBER_PAYMENT_RECEIVED
the PAYMENT_RECEIVED event |
static nl.tudelft.simulation.event.EventType |
EVENT_NUMBER_PAYMENT_SENT
the PAYMENT_SENT event |
static nl.tudelft.simulation.event.EventType |
EVENT_NUMBER_PRODUCTION_ORDER_RECEIVED
the ORDER_PRODUCTION_RECEIVED event |
static nl.tudelft.simulation.event.EventType |
EVENT_NUMBER_PRODUCTION_ORDER_SENT
the ORDER_PRODUCTION_SENT event |
static nl.tudelft.simulation.event.EventType |
EVENT_NUMBER_QUOTE_RECEIVED
the QUOTE_RECEIVED event |
static nl.tudelft.simulation.event.EventType |
EVENT_NUMBER_QUOTE_SENT
the QUOTE_SENT event |
static nl.tudelft.simulation.event.EventType |
EVENT_NUMBER_RFQ_RECEIVED
the RFQ_RECEIVED event |
static nl.tudelft.simulation.event.EventType |
EVENT_NUMBER_RFQ_SENT
the RFQ_SENT event |
static nl.tudelft.simulation.event.EventType |
EVENT_NUMBER_SHIPMENT_RECEIVED
the SHIPMENT_RECEIVED event |
static nl.tudelft.simulation.event.EventType |
EVENT_NUMBER_SHIPMENT_SENT
the SHIPMENT_SENT event |
Constructor Summary | |
ContentNumberData(java.lang.String productName,
java.lang.Class contentClass,
int number,
boolean sent)
|
|
ContentNumberData(java.lang.String productName,
nl.tudelft.simulation.supplychain.content.Content content,
int number,
boolean sent)
|
Method Summary | |
java.lang.String |
getContentType()
|
int |
getNumber()
|
java.lang.String |
getProductName()
|
static java.lang.String |
resolveContentType(java.lang.Class contentClass,
boolean sent)
|
static nl.tudelft.simulation.event.EventType |
resolveEventType(java.lang.Class contentClass,
boolean sent)
|
static nl.tudelft.simulation.event.EventType |
resolveFullListEventType(java.lang.Class contentClass,
boolean sent)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String CONTENT_TYPE_INTERNALDEMAND_SENT
public static final nl.tudelft.simulation.event.EventType EVENT_NUMBER_INTERNALDEMAND_SENT
public static final java.lang.String CONTENT_TYPE_INTERNALDEMAND_RECEIVED
public static final nl.tudelft.simulation.event.EventType EVENT_NUMBER_INTERNALDEMAND_RECEIVED
public static final java.lang.String CONTENT_TYPE_RFQ_SENT
public static final nl.tudelft.simulation.event.EventType EVENT_NUMBER_RFQ_SENT
public static final java.lang.String CONTENT_TYPE_RFQ_RECEIVED
public static final nl.tudelft.simulation.event.EventType EVENT_NUMBER_RFQ_RECEIVED
public static final java.lang.String CONTENT_TYPE_QUOTE_SENT
public static final nl.tudelft.simulation.event.EventType EVENT_NUMBER_QUOTE_SENT
public static final java.lang.String CONTENT_TYPE_QUOTE_RECEIVED
public static final nl.tudelft.simulation.event.EventType EVENT_NUMBER_QUOTE_RECEIVED
public static final java.lang.String CONTENT_TYPE_ORDER_SENT
public static final nl.tudelft.simulation.event.EventType EVENT_NUMBER_ORDER_SENT
public static final java.lang.String CONTENT_TYPE_ORDER_RECEIVED
public static final nl.tudelft.simulation.event.EventType EVENT_NUMBER_ORDER_RECEIVED
public static final nl.tudelft.simulation.event.EventType EVENT_NUMBER_PRODUCTION_ORDER_RECEIVED
public static final nl.tudelft.simulation.event.EventType EVENT_NUMBER_PRODUCTION_ORDER_SENT
public static final java.lang.String CONTENT_TYPE_PRODUCTION_ORDER_SENT
public static final java.lang.String CONTENT_TYPE_PRODUCTION_ORDER_RECEIVED
public static final java.lang.String CONTENT_TYPE_ORDERCOMMIT_SENT
public static final nl.tudelft.simulation.event.EventType EVENT_NUMBER_ORDERCOMMIT_SENT
public static final java.lang.String CONTENT_TYPE_ORDERCOMMIT_RECEIVED
public static final nl.tudelft.simulation.event.EventType EVENT_NUMBER_ORDERCOMMIT_RECEIVED
public static final java.lang.String CONTENT_TYPE_SHIPMENT_SENT
public static final nl.tudelft.simulation.event.EventType EVENT_NUMBER_SHIPMENT_SENT
public static final java.lang.String CONTENT_TYPE_SHIPMENT_RECEIVED
public static final nl.tudelft.simulation.event.EventType EVENT_NUMBER_SHIPMENT_RECEIVED
public static final java.lang.String CONTENT_TYPE_BILL_SENT
public static final nl.tudelft.simulation.event.EventType EVENT_NUMBER_BILL_SENT
public static final java.lang.String CONTENT_TYPE_BILL_RECEIVED
public static final nl.tudelft.simulation.event.EventType EVENT_NUMBER_BILL_RECEIVED
public static final java.lang.String CONTENT_TYPE_PAYMENT_SENT
public static final nl.tudelft.simulation.event.EventType EVENT_NUMBER_PAYMENT_SENT
public static final java.lang.String CONTENT_TYPE_PAYMENT_RECEIVED
public static final nl.tudelft.simulation.event.EventType EVENT_NUMBER_PAYMENT_RECEIVED
public static final nl.tudelft.simulation.event.EventType EVENT_FULL_LIST_INTERNALDEMAND_SENT
public static final nl.tudelft.simulation.event.EventType EVENT_FULL_LIST_INTERNALDEMAND_RECEIVED
public static final nl.tudelft.simulation.event.EventType EVENT_FULL_LIST_RFQ_SENT
public static final nl.tudelft.simulation.event.EventType EVENT_FULL_LIST_RFQ_RECEIVED
public static final nl.tudelft.simulation.event.EventType EVENT_FULL_LIST_QUOTE_SENT
public static final nl.tudelft.simulation.event.EventType EVENT_FULL_LIST_QUOTE_RECEIVED
public static final nl.tudelft.simulation.event.EventType EVENT_FULL_LIST_ORDER_SENT
public static final nl.tudelft.simulation.event.EventType EVENT_FULL_LIST_ORDER_RECEIVED
public static final nl.tudelft.simulation.event.EventType EVENT_FULL_LIST_PRODUCTION_ORDER_SENT
public static final nl.tudelft.simulation.event.EventType EVENT_FULL_LIST_PRODUCTION_ORDER_RECEIVED
public static final nl.tudelft.simulation.event.EventType EVENT_FULL_LIST_ORDERCOMMIT_SENT
public static final nl.tudelft.simulation.event.EventType EVENT_FULL_LIST_ORDERCOMMIT_RECEIVED
public static final nl.tudelft.simulation.event.EventType EVENT_FULL_LIST_SHIPMENT_SENT
public static final nl.tudelft.simulation.event.EventType EVENT_FULL_LIST_SHIPMENT_RECEIVED
public static final nl.tudelft.simulation.event.EventType EVENT_FULL_LIST_BILL_SENT
public static final nl.tudelft.simulation.event.EventType EVENT_FULL_LIST_BILL_RECEIVED
public static final nl.tudelft.simulation.event.EventType EVENT_FULL_LIST_PAYMENT_SENT
public static final nl.tudelft.simulation.event.EventType EVENT_FULL_LIST_PAYMENT_RECEIVED
Constructor Detail |
public ContentNumberData(java.lang.String productName, nl.tudelft.simulation.supplychain.content.Content content, int number, boolean sent)
productName
- the name of the productcontent
- the messagenumber
- the new number of messagessent
- is true if sent, and false if receivedpublic ContentNumberData(java.lang.String productName, java.lang.Class contentClass, int number, boolean sent)
productName
- the name of the productcontentClass
- the class of the messagesnumber
- the new number of messagessent
- is true if sent, and false if receivedMethod Detail |
public static java.lang.String resolveContentType(java.lang.Class contentClass, boolean sent)
contentClass
- the content classsent
- indicates whether we look for sent or received content
public static nl.tudelft.simulation.event.EventType resolveEventType(java.lang.Class contentClass, boolean sent)
contentClass
- the content classsent
- indicates whether we look for sent or received content
public static nl.tudelft.simulation.event.EventType resolveFullListEventType(java.lang.Class contentClass, boolean sent)
contentClass
- the content classsent
- indicates whether we look for sent or received content
public java.lang.String getContentType()
public int getNumber()
public java.lang.String getProductName()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |