jsim.event
Class Entity

java.lang.Object
  extended by jsim.event.Entity

public class Entity
extends java.lang.Object

This class represents a single simulation entity for event-scheduling simulation.

Version:
1.0, 16 Dec 1996
Author:
Zhiwei Zhang, John Miller

Constructor Summary
Entity(double createTime)
          Constructs a simulation entity, e.g., a customer.
 
Method Summary
 double getCreateTime()
          Get the creation time for the entity.
 long getEntityId()
          Get the identifier for the entity.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Entity

public Entity(double createTime)
Constructs a simulation entity, e.g., a customer.

Parameters:
createTime - time entity is created
Method Detail

getEntityId

public long getEntityId()
Get the identifier for the entity.

Returns:
long entity identifier

getCreateTime

public double getCreateTime()
Get the creation time for the entity.

Returns:
double time entity is created