org.equanda.test.dm.client
Class FootballPlayer
java.lang.Object
org.equanda.persistence.EquandaProxy<Uoid,FootballPlayer>
org.equanda.test.dm.client.FootballPlayer
- All Implemented Interfaces:
- Serializable, HasId<Uoid>
public class FootballPlayer
- extends EquandaProxy<Uoid,FootballPlayer>
- implements Serializable
Proxy object for table FootballPlayer
No constraints are being checked when modifying this object, this only happens when setting the value!
- See Also:
- Serialized Form
Constructor Summary |
|
FootballPlayer()
Creator which is used to build value objects based on the real object. |
protected |
FootballPlayer(EquandaFootballPlayerState proxy)
|
protected |
FootballPlayer(Uoid uoid,
ObjectType equandaType,
Timestamp equandaCreationDate,
Timestamp equandaModificationDate,
String equandaStatus,
long equandaVersion,
String name,
String team,
boolean goalkeeper,
boolean defender,
boolean midfielder,
boolean striker)
|
Methods inherited from class org.equanda.persistence.EquandaProxy |
equals, equandaClone, equandaUpdate, getEquandaModificationDate, getEquandaName, getEquandaType, getEquandaVersion, getId, hashCode, isEquandaModificationDateModified, isEquandaType, isModified, objectEquals, setEquandaUpdate, toString |
_obtainedTags
protected boolean _obtainedTags
FootballPlayer
protected FootballPlayer(EquandaFootballPlayerState proxy)
FootballPlayer
public FootballPlayer()
- Creator which is used to build value objects based on the real object.
Should only be used server side, client side proxies should be obtained using equandaCreate()
FootballPlayer
protected FootballPlayer(Uoid uoid,
ObjectType equandaType,
Timestamp equandaCreationDate,
Timestamp equandaModificationDate,
String equandaStatus,
long equandaVersion,
String name,
String team,
boolean goalkeeper,
boolean defender,
boolean midfielder,
boolean striker)
equandaClone
public FootballPlayer equandaClone(boolean cloneUoid)
- Specified by:
equandaClone
in class EquandaProxy<Uoid,FootballPlayer>
setId
protected void setId(Uoid uoid)
updateInternalState
protected void updateInternalState()
equandaCreate
public static FootballPlayer equandaCreate()
throws EquandaPersistenceException
- Throws:
EquandaPersistenceException
equandaCreate
public static FootballPlayer equandaCreate(String type)
throws EquandaPersistenceException
- Throws:
EquandaPersistenceException
setEquandaType
public void setEquandaType(String type)
- Set the type of object which should be used. This is a helper routine to allow using isEquandaType()
for checking of object type. This method is only allowed for object building (not for objects
which already exists on the server.
When an invalid type identifier is specified, then later calls to read the type will throw
IllegalStateException.
- Specified by:
setEquandaType
in class EquandaProxy<Uoid,FootballPlayer>
- Parameters:
type
- base type which will be used to build the actual object
- Throws:
IllegalStateException
isModified
public boolean isModified(boolean typeFieldsOnly)
- Specified by:
isModified
in class EquandaProxy<Uoid,FootballPlayer>
getEquandaStatus
public String getEquandaStatus()
- Specified by:
getEquandaStatus
in class EquandaProxy<Uoid,FootballPlayer>
setEquandaStatus
public void setEquandaStatus(String status)
- Specified by:
setEquandaStatus
in class EquandaProxy<Uoid,FootballPlayer>
getEquandaCreationDate
public Timestamp getEquandaCreationDate()
getName
public String getName()
throws EquandaPersistenceException
- Throws:
EquandaPersistenceException
setName
public void setName(String value)
isNameModified
public boolean isNameModified()
getTeam
public String getTeam()
throws EquandaPersistenceException
- Throws:
EquandaPersistenceException
setTeam
public void setTeam(String value)
isTeamModified
public boolean isTeamModified()
getGoalkeeper
public boolean getGoalkeeper()
throws EquandaPersistenceException
- Throws:
EquandaPersistenceException
isGoalkeeper
public boolean isGoalkeeper()
setGoalkeeper
public void setGoalkeeper(boolean value)
isGoalkeeperModified
public boolean isGoalkeeperModified()
getDefender
public boolean getDefender()
throws EquandaPersistenceException
- Throws:
EquandaPersistenceException
isDefender
public boolean isDefender()
setDefender
public void setDefender(boolean value)
isDefenderModified
public boolean isDefenderModified()
getMidfielder
public boolean getMidfielder()
throws EquandaPersistenceException
- Throws:
EquandaPersistenceException
isMidfielder
public boolean isMidfielder()
setMidfielder
public void setMidfielder(boolean value)
isMidfielderModified
public boolean isMidfielderModified()
getStriker
public boolean getStriker()
throws EquandaPersistenceException
- Throws:
EquandaPersistenceException
isStriker
public boolean isStriker()
setStriker
public void setStriker(boolean value)
isStrikerModified
public boolean isStrikerModified()
getTags
public Collection<String> getTags()
throws EquandaPersistenceException
- Throws:
EquandaPersistenceException
setTags
public void setTags(Collection<String> value)
isTagsModified
public boolean isTagsModified()
equandaUpdate
public void equandaUpdate(boolean updateTypeFieldsOnly)
throws EquandaPersistenceException
- Specified by:
equandaUpdate
in class EquandaProxy<Uoid,FootballPlayer>
- Throws:
EquandaPersistenceException
equandaReset
public void equandaReset()
throws EquandaPersistenceException
- Reset the proxy state. If the proxy was not modified, nothing happens, otherwise the state is retrieved from the
server again.
- Specified by:
equandaReset
in class EquandaProxy<Uoid,FootballPlayer>
- Throws:
EquandaPersistenceException
- oops
removeEntityBean
public void removeEntityBean()
throws EquandaPersistenceException
- Overrides:
removeEntityBean
in class EquandaProxy<Uoid,FootballPlayer>
- Throws:
EquandaPersistenceException
selectId
public static FootballPlayer selectId(Uoid uoid)
throws EquandaPersistenceException
- Throws:
EquandaPersistenceException
selectAll
public static List<FootballPlayer> selectAll()
throws EquandaPersistenceException
- Throws:
EquandaPersistenceException
selectFieldPlayers
public static List<FootballPlayer> selectFieldPlayers()
throws EquandaPersistenceException
- Throws:
EquandaPersistenceException
selectDefensePlayers
public static List<FootballPlayer> selectDefensePlayers()
throws EquandaPersistenceException
- Throws:
EquandaPersistenceException
selectEquandaAll
public static List<FootballPlayer> selectEquandaAll()
throws EquandaPersistenceException
- Throws:
EquandaPersistenceException
Copyright © 2007-2008. All Rights Reserved.