CustomerEntityAbstract

public abstract class CustomerEntityAbstract implements CustomerEntity

A base class for CustomerEntity implementations.

Author:Manoel Campos da Silva Filho

Constructors

CustomerEntityAbstract

protected CustomerEntityAbstract()

Methods

getBroker

public DatacenterBroker getBroker()

getId

public long getId()

getLastTriedDatacenter

public Datacenter getLastTriedDatacenter()

Gets the last Datacenter where VM was tried to be created.

getSimulation

public Simulation getSimulation()

getUid

public String getUid()

hashCode

public int hashCode()

setBroker

public final void setBroker(DatacenterBroker broker)

setId

public final void setId(long id)

setLastTriedDatacenter

public void setLastTriedDatacenter(Datacenter lastTriedDatacenter)

Sets the last Datacenter where VM was tried to be created.

Parameters:
  • lastTriedDatacenter