com.hack23.cia.model.impl.common
Class Human

Package class diagram package Human
java.lang.Object
  extended by com.hack23.cia.model.impl.common.BaseEntity
      extended by com.hack23.cia.model.impl.common.Human
All Implemented Interfaces:
Actor, Agent, ModelObject, PersistedModelObject, Person, Serializable

@Entity
public class Human
extends BaseEntity
implements Person

The Class Human.

See Also:
Serialized Form

Constructor Summary
Human()
          Instantiates a new human.
 
Method Summary
 Actor getActor()
          Gets the actor.
 Role[] getActorDefinedRoles()
          Gets the actor roles.
 Role[] getActorRoles()
          Gets the actor roles.
protected  TypeContext getApplicationTypeContext()
          Gets the application group specification.
 Long getId()
          Gets the id.
 String getName()
          Gets the name.
 Long getVersion()
          Gets the version.
 void setActor(Actor actor)
          Sets the actor.
 void setActorDefinedRoles(Role[] roles)
          Sets the actor defined roles.
 void setActorRoles(Role[] roles)
          Sets the actor roles.
 void setId(Long id)
          Sets the id.
 void setName(String name)
          Sets the name.
 void setVersion(Long version)
          Sets the version.
 
Methods inherited from class com.hack23.cia.model.impl.common.BaseEntity
equals, getTypeContext, hashCode, isNew
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.hack23.cia.model.api.common.PersistedModelObject
getTypeContext, isNew
 

Constructor Detail

Human

public Human()
Instantiates a new human.

Method Detail

getActor

public Actor getActor()
Gets the actor.

Returns:
the actor

getActorRoles

public Role[] getActorRoles()
Description copied from interface: Actor
Gets the actor roles.

Specified by:
getActorRoles in interface Actor
Returns:
the actor roles

getApplicationTypeContext

protected TypeContext getApplicationTypeContext()
Description copied from class: BaseEntity
Gets the application group specification.

Specified by:
getApplicationTypeContext in class BaseEntity
Returns:
the application group specification

getId

public Long getId()
Description copied from class: BaseEntity
Gets the id.

Specified by:
getId in interface PersistedModelObject
Specified by:
getId in class BaseEntity
Returns:
the id

getName

public String getName()
Description copied from interface: Actor
Gets the name.

Specified by:
getName in interface Actor
Returns:
the name

getVersion

public Long getVersion()
Description copied from class: BaseEntity
Gets the version.

Specified by:
getVersion in interface PersistedModelObject
Specified by:
getVersion in class BaseEntity
Returns:
the version

setActor

public void setActor(Actor actor)
Sets the actor.

Parameters:
actor - the new actor

setActorRoles

public void setActorRoles(Role[] roles)
Description copied from interface: Actor
Sets the actor roles.

Specified by:
setActorRoles in interface Actor
Parameters:
roles - the new actor roles

setId

public void setId(Long id)
Sets the id.

Specified by:
setId in interface PersistedModelObject
Parameters:
id - the new id

setName

public void setName(String name)
Description copied from interface: Actor
Sets the name.

Specified by:
setName in interface Actor
Parameters:
name - the new name

setVersion

public void setVersion(Long version)
Sets the version.

Specified by:
setVersion in interface PersistedModelObject
Parameters:
version - the new version

getActorDefinedRoles

public Role[] getActorDefinedRoles()
Description copied from interface: Actor
Gets the actor roles.

Specified by:
getActorDefinedRoles in interface Actor
Returns:
the actor roles

setActorDefinedRoles

public void setActorDefinedRoles(Role[] roles)
Description copied from interface: Actor
Sets the actor defined roles.

Specified by:
setActorDefinedRoles in interface Actor
Parameters:
roles - the new actor defined roles


Copyright © 2008-2009 www.hack23.com. All Rights Reserved.