Package be.gaudry.model.bibliobrol
Class BrolType
java.lang.Object
be.gaudry.model.AbstractLightObject
be.gaudry.model.LightObject
be.gaudry.model.bibliobrol.LightStateObject
be.gaudry.model.bibliobrol.BrolType
- All Implemented Interfaces:
ILightObject
,Serializable
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
-
Field Summary
Fields inherited from class be.gaudry.model.LightObject
display
Fields inherited from interface be.gaudry.model.ILightObject
DEFAULT_ID
-
Constructor Summary
-
Method Summary
Methods inherited from class be.gaudry.model.bibliobrol.LightStateObject
getStatus, setStatus
Methods inherited from class be.gaudry.model.LightObject
getDisplay, getId, setDisplay, setId
Methods inherited from class be.gaudry.model.AbstractLightObject
hashCode, toString
-
Constructor Details
-
BrolType
public BrolType() -
BrolType
- Parameters:
id
-name
-
-
BrolType
- Parameters:
brolType
- BrolType to copy
-
-
Method Details
-
equals
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 classAbstractLightObject
- 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()
-