|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gscg.common.interactionlayer.dataobjects.LocationAndNameData
The LocationAndNameData object contains the information with regards to the differnt actors in an interactive simulation. Whenever an actor is added or removed, and upon initialization this object is send to client-side grapbical user interfaces in order to update the WorldPanel. These data objects are sent by the YellowPage object.
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.
Field Summary | |
static java.lang.String |
ACTORTYPE_CUSTOMER
the customer type |
static java.lang.String |
ACTORTYPE_DC
the dc type |
static java.lang.String |
ACTORTYPE_MANUFACTURER
the manufacturer type |
static java.lang.String |
ACTORTYPE_MARKET
the market type |
static java.lang.String |
ACTORTYPE_RETAILER
the retailer type |
static java.lang.String |
ACTORTYPE_SUPPLIER
the supplier type |
Constructor Summary | |
LocationAndNameData()
constructs a new LocationAndNameData |
|
LocationAndNameData(nl.tudelft.simulation.language.d3.DirectedPoint location,
java.lang.String name,
java.lang.String actorType,
boolean interactive)
constructs a new LocationObject |
Method Summary | |
java.lang.String |
getActorType()
|
nl.tudelft.simulation.language.d3.DirectedPoint |
getLocation()
|
java.lang.String |
getName()
|
boolean |
isInteractive()
Method isInteractive. |
boolean |
isStatus()
Method isStatus. |
void |
setActorType(java.lang.String actorType)
|
void |
setLocation(nl.tudelft.simulation.language.d3.DirectedPoint location)
|
void |
setName(java.lang.String name)
|
void |
setStatus(boolean status)
Method setStatus. |
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 ACTORTYPE_SUPPLIER
public static final java.lang.String ACTORTYPE_MANUFACTURER
public static final java.lang.String ACTORTYPE_DC
public static final java.lang.String ACTORTYPE_RETAILER
public static final java.lang.String ACTORTYPE_MARKET
public static final java.lang.String ACTORTYPE_CUSTOMER
Constructor Detail |
public LocationAndNameData()
public LocationAndNameData(nl.tudelft.simulation.language.d3.DirectedPoint location, java.lang.String name, java.lang.String actorType, boolean interactive)
location
- the locationname
- the nameactorType
- the type of actorinteractive
- indicates whether the actor is human controlled or notMethod Detail |
public boolean isStatus()
public void setStatus(boolean status)
status
- true if the human controlled actor is onlinepublic nl.tudelft.simulation.language.d3.DirectedPoint getLocation()
public java.lang.String getName()
public void setLocation(nl.tudelft.simulation.language.d3.DirectedPoint location)
location
- The location to set.public void setName(java.lang.String name)
name
- The name to set.public java.lang.String getActorType()
public void setActorType(java.lang.String actorType)
actorType
- The actorType to set.public boolean isInteractive()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |