net.sf.oness.party.model.party.bo
Class Party

java.lang.Object
  extended bynet.sf.oness.common.all.BaseObject
      extended bynet.sf.oness.common.model.auditing.AbstractAuditableObject
          extended bynet.sf.oness.common.model.bo.AbstractBusinessObject
              extended bynet.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

Field Summary
 
Fields inherited from class net.sf.oness.common.all.BaseObject
log
 
Constructor Summary
Party()
           
 
Method Summary
 void addContactInfo(ContactInfo contactInfo)
           
 java.util.Collection getContactInfos()
           
 java.lang.Long getFareId()
           
 java.lang.String getInternalName()
           
 java.lang.String getType()
          Type code.
 void setContactInfos(java.util.Collection contactInfos)
           
 void setFareId(java.lang.Long fareId)
           
 void setInternalName(java.lang.String internalName)
           
 
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
 

Constructor Detail

Party

public Party()
Method Detail

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.