Class BrolCategory

All Implemented Interfaces:
ILightObject, Serializable

public class BrolCategory extends LightStateObject
Since:
1.0 30-nov.-07
Author:
Steph GAUDRY
See Also:
Serialized Form
  • Constructor Details

    • BrolCategory

      public BrolCategory()
    • BrolCategory

      public BrolCategory(int id, String name)
      Parameters:
      id -
      name -
  • 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()