asgaard.lang
Class Person

java.lang.Object
  |
  +--asgaard.skid.SkidBean
        |
        +--asgaard.lang.Person

public class Person
extends asgaard.skid.SkidBean

Person is the base implementation for the representation of any human.

See Also:
asgaard.sjid.SkidBean, Serialized Form

Fields inherited from class asgaard.skid.SkidBean
broker, debug, history_policy, LAST_METHOD
 
Constructor Summary
Person()
          Creates an instance of the Person class.
 
Method Summary
 java.util.Date getBirthdate()
          Returns the date of birth of the person. return date of birth
 java.lang.String getFirstname()
          Returns the first name of the person. return the first name
 java.lang.String getIdentifier()
          Get the Identifier of the Bean which shall be unique worldwide for different Objects (like different Plans with luckily the same Name) and common for identical Objects (like a Person reentered), do not use manually.
 java.lang.String getInitial()
          Returns the initials of the person. return initials
 java.lang.String getLastname()
          Returns the last name of the person. return the last name
 java.lang.String getName()
          Gets the qualified Name of the Person.
 Def getNation()
          Returns the Nation of the Person
 java.lang.String getNickname()
          Returns the nickname of the person. return the nickname
 Def getSex()
          Returns the Gender of the Person
 int getSINr()
          Returns the social-insurance-number of the person. return SINr the social-insurance-number
 java.lang.String getTitle()
          Returns the title of the person. return the title
 byte getUpdatePolicy()
          Get's the update policy defined by the UPDATE_* constants.
 void setBirthdate(java.util.Date Birthdate)
          Sets the Birthdate of the person.
 void setFirstname(java.lang.String Firstname)
          Sets the first name of the person.
 void setInitial(java.lang.String Initial)
          Sets the initials of the person.
 void setLastname(java.lang.String Lastname)
          Sets the last name of the person.
 boolean setNation(int key)
          Defines the Nation of the Person
 boolean setNation(java.lang.String name)
          Defines the Nation of the Person
 void setNickname(java.lang.String Nickname)
          Sets the nickname of the person.
 boolean setSex(int key)
          Defines the Gender of the Person
 boolean setSex(java.lang.String name)
          Defines the Gender of the Person
 void setSINr(int SINr)
          Sets the social-insurance-number of the person.
 void setTitle(java.lang.String Title)
          Sets the Title of the person.
 
Methods inherited from class asgaard.skid.SkidBean
addEvent, cloneBean, flush, getAge, getBeanType, getBroker, getChangeHistory, getClassKey, getCreated, getEvent, getFilter, getKey, getLink, getMethods, getModified, getObject, init, invoke, isChanged, isNew, isReadOnly, modify, putLink, setAge, setObject, suscribeEvent, undo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Person

public Person()
Creates an instance of the Person class.
Method Detail

getUpdatePolicy

public byte getUpdatePolicy()
Get's the update policy defined by the UPDATE_* constants.
Overrides:
getUpdatePolicy in class asgaard.skid.SkidBean
See Also:
asgaard.skid.RemoteBean.UPDATE_WEAK

getName

public java.lang.String getName()
Gets the qualified Name of the Person.
Overrides:
getName in class asgaard.skid.SkidBean

getIdentifier

public java.lang.String getIdentifier()
Get the Identifier of the Bean which shall be unique worldwide for different Objects (like different Plans with luckily the same Name) and common for identical Objects (like a Person reentered), do not use manually. The method getName is used to create an Identifier. This method usually is used only once at creation time and may produce different results every time.
Overrides:
getIdentifier in class asgaard.skid.SkidBean
See Also:
asgaard.skid.SkidBean.enforceUniqueness, asgaard.skid.SkidBean.getName

setSINr

public void setSINr(int SINr)
Sets the social-insurance-number of the person.
Parameters:
SINr - the number

setTitle

public void setTitle(java.lang.String Title)
Sets the Title of the person.
Parameters:
Title - the Title

setLastname

public void setLastname(java.lang.String Lastname)
Sets the last name of the person.
Parameters:
Lastname - the last name

setFirstname

public void setFirstname(java.lang.String Firstname)
Sets the first name of the person.
Parameters:
Firstname - the first name

setNickname

public void setNickname(java.lang.String Nickname)
Sets the nickname of the person.
Parameters:
nickname - the nickname

setInitial

public void setInitial(java.lang.String Initial)
Sets the initials of the person.
Parameters:
Initial - the Initials

setBirthdate

public void setBirthdate(java.util.Date Birthdate)
Sets the Birthdate of the person.
Parameters:
Birthdate - the Birthdate

getSINr

public int getSINr()
Returns the social-insurance-number of the person. return SINr the social-insurance-number

getTitle

public java.lang.String getTitle()
Returns the title of the person. return the title

getLastname

public java.lang.String getLastname()
Returns the last name of the person. return the last name

getFirstname

public java.lang.String getFirstname()
Returns the first name of the person. return the first name

getNickname

public java.lang.String getNickname()
Returns the nickname of the person. return the nickname

getInitial

public java.lang.String getInitial()
Returns the initials of the person. return initials

getBirthdate

public java.util.Date getBirthdate()
Returns the date of birth of the person. return date of birth

getNation

public Def getNation()
Returns the Nation of the Person

setNation

public boolean setNation(int key)
Defines the Nation of the Person

setNation

public boolean setNation(java.lang.String name)
Defines the Nation of the Person

getSex

public Def getSex()
Returns the Gender of the Person

setSex

public boolean setSex(int key)
Defines the Gender of the Person

setSex

public boolean setSex(java.lang.String name)
Defines the Gender of the Person