com.opnworks.cbo
Interface IParty
- All Superinterfaces:
- IPersistent, java.io.Serializable
- All Known Subinterfaces:
- IOrganization, IPerson
- All Known Implementing Classes:
- Organization, Party, Person
- public interface IParty
- extends IPersistent
Description of the Class
- Author:
- Laurent
getName
public java.lang.String getName()
- Returns:
getStreetAddress
public IStreetAddress getStreetAddress()
- Returns:
setStreetAddress
public void setStreetAddress(IStreetAddress streetAddress)
- Parameters:
streetAddress - The new StreetAddress value
setName
public void setName(java.lang.String string)
- Parameters:
string -
removeContact
public void removeContact(Contact contact)
- Parameters:
contact - A Contact
getContacts
public java.util.Set getContacts()
- Returns:
setContacts
public void setContacts(java.util.Set contacts)
- Parameters:
contacts - The new Contacts value
getContact
public Contact getContact(int type)
- Parameters:
type - Description of Parameter
- Returns:
- A Contact of type = type or null
getContact
public Contact getContact(int type,
boolean create)
- Parameters:
type - A contact typecreate - A boolean - if true add a contact of type type
- Returns:
- A Contact of type = type
getDescription
public java.lang.String getDescription()
- Returns:
setDescription
public void setDescription(java.lang.String string)
- Parameters:
string -
getNumber
public java.lang.String getNumber()
- Returns:
setNumber
public void setNumber(java.lang.String string)
- Parameters:
string -
getGuid
public java.lang.String getGuid()
- Returns:
setGuid
public void setGuid(java.lang.String string)
- Parameters:
string -