|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.wimpi.pim.contact.basicimpl.OrganizationalIdentityImpl
A basic and simple implementation of an
OrganizationalIdentity
.
Field Summary | |
protected Contact |
m_Agent
|
protected Organization |
m_Organization
|
protected java.lang.String |
m_Role
|
protected java.lang.String |
m_Title
|
Constructor Summary | |
OrganizationalIdentityImpl()
|
Method Summary | |
Contact |
getAgent()
Returns the agent. |
Organization |
getOrganization()
Returns the Organization instance with information about the organization. |
java.lang.String |
getRole()
Returns the organizational role. |
java.lang.String |
getTitle()
Returns the title. |
boolean |
hasOrganization()
Tests if this OrganizationalIdentity has an Organization instance. |
void |
setAgent(Contact agent)
Sets the agent. |
void |
setOrganization(Organization org)
Sets the Organization instance with information about the organization. |
void |
setRole(java.lang.String role)
Sets the organizational role. |
void |
setTitle(java.lang.String title)
Sets the organizational title. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.lang.String m_Title
protected java.lang.String m_Role
protected transient Contact m_Agent
protected Organization m_Organization
Constructor Detail |
public OrganizationalIdentityImpl()
Method Detail |
public java.lang.String getTitle()
OrganizationalIdentity
getTitle
in interface OrganizationalIdentity
public void setTitle(java.lang.String title)
OrganizationalIdentity
setTitle
in interface OrganizationalIdentity
title
- the title as String.public java.lang.String getRole()
OrganizationalIdentity
getRole
in interface OrganizationalIdentity
public void setRole(java.lang.String role)
OrganizationalIdentity
setRole
in interface OrganizationalIdentity
role
- the role as String.public Contact getAgent()
OrganizationalIdentity
getAgent
in interface OrganizationalIdentity
public void setAgent(Contact agent)
OrganizationalIdentity
setAgent
in interface OrganizationalIdentity
agent
- the agent as Contact.public Organization getOrganization()
OrganizationalIdentity
getOrganization
in interface OrganizationalIdentity
public void setOrganization(Organization org)
OrganizationalIdentity
setOrganization
in interface OrganizationalIdentity
org
- the organization as Organization.public boolean hasOrganization()
OrganizationalIdentity
hasOrganization
in interface OrganizationalIdentity
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |