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_QUERY
Fields inherited from interface be.gaudry.model.ILightObject
DEFAULT_ID
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Unchecked properties:PersonExt.getPseudo()
PersonExt.getPicture()
PersonExt.getAddress()
Info JPA: No check is done on theAddress
field to ensure returning true if one is lazy loaded and the other is fully loaded.getRole()
int
hashCode()
Unchecked properties:PersonExt.getPseudo()
PersonExt.getPicture()
PersonExt.getAddress()
Info JPA: No check is done on theAddress
field to ensure returning same hashCode if one is lazy loaded and the other is fully loaded.void
void
toString()
Builds a string with variables values and the class.Methods inherited from class be.gaudry.model.person.PersonExt
getAddress, getPicture, getPseudo, setAddress, setPicture, setPseudo
Methods 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
Address
field to ensure returning true if one is lazy loaded and the other is fully loaded.- Overrides:
equals
in classPersonExt
- Parameters:
obj
- the reference object with which to compare.- Returns:
true
if this person is the same as the obj argument;false
otherwise.- 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
Address
field to ensure returning same hashCode if one is lazy loaded and the other is fully loaded.- Overrides:
hashCode
in classPersonExt
- Returns:
- a hash code value for this person.
- See Also:
Object.hashCode()
,Person.equals(Object)
-
toString
Description copied from class:AbstractLightObject
Builds a string with variables values and the class.- Overrides:
toString
in classPersonExt
- Returns:
- a String representation of this LightObject only for debugging
- See Also:
Object.toString()
-