|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.opnworks.cbo.Party
| Constructor Summary | |
Party()
|
|
Party(java.lang.String name,
java.lang.String number,
java.lang.String description,
java.lang.String guid)
|
|
| Method Summary | |
boolean |
equals(java.lang.Object other)
Description of the Method |
Contact |
getContact(int type)
|
Contact |
getContact(int type,
boolean create)
|
java.util.Set |
getContacts()
|
java.lang.String |
getDescription()
|
java.lang.String |
getGuid()
Gets the Guid attribute of the Party object |
java.lang.Long |
getId()
Gets the Id attribute of the Party object |
java.lang.String |
getName()
Gets the Name attribute of the INamedObject object |
java.lang.String |
getNumber()
|
IStreetAddress |
getStreetAddress()
|
int |
getVersion()
|
int |
hashCode()
Description of the Method |
void |
removeContact(Contact contact)
|
void |
setContacts(java.util.Set contacts)
|
void |
setDescription(java.lang.String string)
|
void |
setGuid(java.lang.String guid)
Sets the Guid attribute of the Party object |
void |
setId(java.lang.Long id)
Sets the Id attribute of the IPersistent object |
void |
setName(java.lang.String string)
|
void |
setNumber(java.lang.String string)
|
void |
setStreetAddress(IStreetAddress address)
|
void |
setVersion(int i)
|
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Party()
public Party(java.lang.String name,
java.lang.String number,
java.lang.String description,
java.lang.String guid)
name - number - description - guid - | Method Detail |
public void setId(java.lang.Long id)
IPersistent
setId in interface IPersistentid - public void setStreetAddress(IStreetAddress address)
setStreetAddress in interface IPartyaddress - public void setName(java.lang.String string)
setName in interface IPartystring - public void setContacts(java.util.Set contacts)
setContacts in interface IPartycontacts - The new Contacts valuepublic void setDescription(java.lang.String string)
setDescription in interface IPartystring - public void setNumber(java.lang.String string)
setNumber in interface IPartystring - public void setGuid(java.lang.String guid)
setGuid in interface IPartyguid - The new Guid valuepublic void setVersion(int i)
setVersion in interface IPersistenti - public java.lang.Long getId()
getId in interface IPersistentpublic java.lang.String getName()
INamedObject
getName in interface INamedObjectpublic IStreetAddress getStreetAddress()
getStreetAddress in interface IPartypublic java.util.Set getContacts()
getContacts in interface IPartypublic Contact getContact(int type)
getContact in interface IPartytype - Description of Parameter
public Contact getContact(int type,
boolean create)
getContact in interface IPartytype - A contact typecreate - A boolean - if true add a contact of type type
public java.lang.String getDescription()
getDescription in interface IPartypublic java.lang.String getNumber()
getNumber in interface IPartypublic java.lang.String getGuid()
getGuid in interface IPartypublic int getVersion()
getVersion in interface IPersistentpublic void removeContact(Contact contact)
removeContact in interface IPartycontact - A Contactpublic boolean equals(java.lang.Object other)
other - Description of Parameter
public int hashCode()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||