|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface modeling the organizational identity of a contact based on the types and information defined by the vCard Mime directory profile standard.
For reference see RFC 2426:
3.5 Organizational Types
3.5.1 TITLE Type Definition
3.5.2 ROLE Type Definition
3.5.4 AGENT Type Definition
Note that the information concerning
the organization have been placed in
a seperate type (i.e. Organization.
Organization
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. |
Method Detail |
public java.lang.String getTitle()
public void setTitle(java.lang.String title)
title
- the title as String.public java.lang.String getRole()
public void setRole(java.lang.String role)
role
- the role as String.public Contact getAgent()
public void setAgent(Contact agent)
agent
- the agent as Contact.public Organization getOrganization()
public void setOrganization(Organization org)
org
- the organization as Organization.public boolean hasOrganization()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |