Class BrolType

All Implemented Interfaces:
ILightObject, Serializable

public class BrolType extends LightStateObject
Type for a brol object. i.e. may be "film", "bd", "book"
Since:
1.0 27-nov.-07
Author:
Steph GAUDRY
See Also:
Serialized Form
  • Constructor Details

    • BrolType

      public BrolType()
    • BrolType

      public BrolType(int id, String name)
      Parameters:
      id -
      name -
    • BrolType

      public BrolType(BrolType brolType)
      Parameters:
      brolType - BrolType to copy
  • Method Details

    • equals

      public boolean equals(Object o)
      Description copied from class: AbstractLightObject
      Indicates whether some other object is "equal to" this LightObject.
      Check is done on following fields :
      • id
      • getDisplay method (Use getDisplay instead of display because getDisplay may be override in child class, and display field may be null).
      Overrides:
      equals in class AbstractLightObject
      Parameters:
      o - the reference object with which to compare.
      Returns:
      true if this LightObject is the same as the obj argument; false otherwise.
      See Also:
      AbstractLightObject.hashCode()