Packages

trait Identifiable extends Error

The Identifiable trait provides unique identification for simulation components, entities and events. Includes a mandatory id and an optional name.

Linear Supertypes
Error, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Identifiable
  2. Error
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def equals(that: Any): Boolean

    Determine whether Identifiable object 'this' equals Identifiable object 'that'.

    Determine whether Identifiable object 'this' equals Identifiable object 'that'. Works since 'id' is unique for all Identifiable objects.

    Definition Classes
    Identifiable → AnyRef → Any
  2. final def flaw(method: String, message: String): Unit

    Show the flaw by printing the error message.

    Show the flaw by printing the error message.

    method

    the method where the error occurred

    message

    the error message

    Definition Classes
    Error
  3. def hashCode(): Int

    Return the hashCode as the unique id.

    Return the hashCode as the unique id.

    Definition Classes
    Identifiable → AnyRef → Any
  4. val id: Int

    The globally unique integer identifier

  5. def me: String

    Return the full identity.

  6. def name: String

    Get the name.

  7. def name_=(name: String): Unit

    Set the name.

    Set the name.

    name

    the name to assign

  8. def simType: String

    Get the type of the simulation object.