Interface ChangeableId

All Superinterfaces:
Identifiable
All Known Subinterfaces:
AbstractMachine<T>, Cloudlet, CustomerEntity, Host, Machine, Pe, Vm
All Known Implementing Classes:
CloudletAbstract, CloudletSimple, CustomerEntityAbstract, HostSimple, NetworkCloudlet, NetworkHost, NetworkVm, PeSimple, VmGroup, VmSimple

public interface ChangeableId extends Identifiable
An interface for objects that have to be identified by an id and that such id can be changed.
Since:
CloudSim Plus 1.0
Author:
Manoel Campos da Silva Filho
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    setId(long id)
    Sets the id of the object.

    Methods inherited from interface org.cloudbus.cloudsim.core.Identifiable

    getId
  • Method Details

    • setId

      void setId(long id)
      Sets the id of the object. -1 indicates the object has no id.
      Parameters:
      id - the id to set