ch.claudio.contactdb.data
Class Identity
java.lang.Object
ch.claudio.contactdb.data.Identity
public class Identity
- extends java.lang.Object
An identity like an email address or ICQ number. Every person can have
multiple identities.
- Version:
- $Id: Identity.java 32 2006-07-10 23:51:07Z $
- Author:
- Claudio Nieder
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Identity
public Identity(Person personArg,
IdentityType typeArg,
java.lang.String identityArg)
- Parameters:
personArg
- typeArg
- identityArg
-
getIdentity
public java.lang.String getIdentity()
- Returns:
- Returns the identity.
setIdentity
public void setIdentity(java.lang.String identityArg)
- Parameters:
identityArg
- The identity to set.
getPerson
public Person getPerson()
- Returns:
- Returns the person.
setPerson
public void setPerson(Person personArg)
- Parameters:
personArg
- The person to set.
getType
public IdentityType getType()
- Returns:
- Returns the type.
setType
public void setType(IdentityType typeArg)
- Parameters:
typeArg
- The type to set.