net.sf.oness.party.model.party.bo
Class Party
java.lang.Object
net.sf.oness.common.all.BaseObject
net.sf.oness.common.model.auditing.AbstractAuditableObject
net.sf.oness.common.model.bo.AbstractBusinessObject
net.sf.oness.party.model.party.bo.Party
- All Implemented Interfaces:
- net.sf.oness.common.model.auditing.Auditable, net.sf.oness.common.model.bo.AuditableBusinessObject, java.lang.Cloneable, java.io.Serializable
- Direct Known Subclasses:
- Organization, Person
- public class Party
- extends net.sf.oness.common.model.bo.AbstractBusinessObject
Value object for Party.
The subclasses MUST override the getType() method
- Version:
- $Revision: 1.5 $
- Author:
- Carlos Sanchez
- See Also:
- Serialized Form
Fields inherited from class net.sf.oness.common.all.BaseObject |
log |
Constructor Summary |
Party()
|
Methods inherited from class net.sf.oness.common.model.bo.AbstractBusinessObject |
clone, equals, getCode, getComments, getCreatedBy, getDeletedBy, getId, getTransactionTime, hashCode, setComments, toString |
Methods inherited from class net.sf.oness.common.model.auditing.AbstractAuditableObject |
setCode, setCreatedBy, setDeletedBy, setId, setTransactionTime |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface net.sf.oness.common.model.auditing.Auditable |
setCode, setCreatedBy, setDeletedBy, setId, setTransactionTime |
Party
public Party()
getInternalName
public java.lang.String getInternalName()
- Returns:
- String
setInternalName
public void setInternalName(java.lang.String internalName)
getType
public java.lang.String getType()
- Type code. Must be overriden by the subclasses.
- Returns:
- String
setContactInfos
public void setContactInfos(java.util.Collection contactInfos)
- Parameters:
contactInfos
- The contactInfos to set.
getContactInfos
public java.util.Collection getContactInfos()
- Returns:
- Returns the contactInfos.
addContactInfo
public void addContactInfo(ContactInfo contactInfo)
setFareId
public void setFareId(java.lang.Long fareId)
- Parameters:
fareId
- The fareId to set.
getFareId
public java.lang.Long getFareId()
- Returns:
- Returns the fareId.
Copyright © 2003-2005 ONess Project. All Rights Reserved.