Package be.gaudry.model.bibliobrol
Class Actor
java.lang.Object
be.gaudry.model.AbstractLightObject
be.gaudry.model.person.Person
be.gaudry.model.person.PersonExt
be.gaudry.model.bibliobrol.Person
be.gaudry.model.bibliobrol.Actor
- All Implemented Interfaces:
ILightObject,Serializable
- Since:
- 1.0 Nov 30, 2007, 1.0
- Version:
- %I%, %G%
- Author:
- Steph GAUDRY
- See Also:
- Serialized Form
-
Field Summary
Fields inherited from class be.gaudry.model.person.Person
FIND_ALL_QUERYFields inherited from interface be.gaudry.model.ILightObject
DEFAULT_ID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanUnchecked properties:PersonExt.getPseudo()PersonExt.getPicture()PersonExt.getAddress()Info JPA: No check is done on theAddressfield to ensure returning true if one is lazy loaded and the other is fully loaded.getRole()inthashCode()Unchecked properties:PersonExt.getPseudo()PersonExt.getPicture()PersonExt.getAddress()Info JPA: No check is done on theAddressfield to ensure returning same hashCode if one is lazy loaded and the other is fully loaded.voidvoidtoString()Builds a string with variables values and the class.Methods inherited from class be.gaudry.model.person.PersonExt
getAddress, getPicture, getPseudo, setAddress, setPicture, setPseudoMethods inherited from class be.gaudry.model.person.Person
copy, getBirthdate, getDisplay, getFirstName, getGender, getId, getLastName, setBirthdate, setDisplay, setFirstName, setGender, setId, setLastName
-
Constructor Details
-
Actor
public Actor() -
Actor
-
-
Method Details
-
getRole
- Returns:
- the role
-
setRole
- Parameters:
role- the role to set
-
getStatus
- Returns:
- the status
-
setStatus
- Parameters:
status- the status to set
-
equals
Description copied from class:PersonExt- Unchecked properties:
- Info JPA: No check is done on the
Addressfield to ensure returning true if one is lazy loaded and the other is fully loaded.- Overrides:
equalsin classPersonExt- Parameters:
obj- the reference object with which to compare.- Returns:
trueif this person is the same as the obj argument;falseotherwise.- See Also:
Object.equals(java.lang.Object),Person.hashCode()
-
hashCode
public int hashCode()Description copied from class:PersonExt- Unchecked properties:
- Info JPA: No check is done on the
Addressfield to ensure returning same hashCode if one is lazy loaded and the other is fully loaded.- Overrides:
hashCodein classPersonExt- Returns:
- a hash code value for this person.
- See Also:
Object.hashCode(),Person.equals(Object)
-
toString
Description copied from class:AbstractLightObjectBuilds a string with variables values and the class.- Overrides:
toStringin classPersonExt- Returns:
- a String representation of this LightObject only for debugging
- See Also:
Object.toString()
-