net.sourceforge.fixagora.basis.shared.model.persistence
Class CounterPartyPartyID

java.lang.Object
  extended by net.sourceforge.fixagora.basis.shared.model.persistence.CounterPartyPartyID
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<CounterPartyPartyID>

@Entity
public class CounterPartyPartyID
extends java.lang.Object
implements java.io.Serializable, java.lang.Comparable<CounterPartyPartyID>

The Class CounterPartyPartyID.

See Also:
Serialized Form

Constructor Summary
CounterPartyPartyID()
           
 
Method Summary
 int compareTo(CounterPartyPartyID counterPartyPartyID)
           
 boolean equals(java.lang.Object obj)
           
 AbstractBusinessComponent getAbstractBusinessComponent()
          Gets the abstract business component.
 Counterparty getCounterparty()
          Gets the counterparty.
 long getId()
          Gets the id.
 java.lang.String getPartyID()
          Gets the party id.
 java.lang.String getPartyIDSource()
          Gets the party id source.
 java.lang.Integer getPartyRole()
          Gets the party role.
 int hashCode()
           
 void makeEager()
          Make eager.
 void setAbstractBusinessComponent(AbstractBusinessComponent abstractBusinessComponent)
          Sets the abstract business component.
 void setCounterparty(Counterparty counterparty)
          Sets the counterparty.
 void setId(long id)
          Sets the id.
 void setPartyID(java.lang.String partyID)
          Sets the party id.
 void setPartyIDSource(java.lang.String partyIDSource)
          Sets the party id source.
 void setPartyRole(java.lang.Integer partyRole)
          Sets the party role.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CounterPartyPartyID

public CounterPartyPartyID()
Method Detail

getPartyID

public java.lang.String getPartyID()
Gets the party id.

Returns:
the party id

getPartyRole

public java.lang.Integer getPartyRole()
Gets the party role.

Returns:
the party role

setPartyRole

public void setPartyRole(java.lang.Integer partyRole)
Sets the party role.

Parameters:
partyRole - the new party role

setPartyID

public void setPartyID(java.lang.String partyID)
Sets the party id.

Parameters:
partyID - the new party id

getPartyIDSource

public java.lang.String getPartyIDSource()
Gets the party id source.

Returns:
the party id source

setPartyIDSource

public void setPartyIDSource(java.lang.String partyIDSource)
Sets the party id source.

Parameters:
partyIDSource - the new party id source

getId

public long getId()
Gets the id.

Returns:
the id

getCounterparty

public Counterparty getCounterparty()
Gets the counterparty.

Returns:
the counterparty

setCounterparty

public void setCounterparty(Counterparty counterparty)
Sets the counterparty.

Parameters:
counterparty - the new counterparty

setId

public void setId(long id)
Sets the id.

Parameters:
id - the new id

getAbstractBusinessComponent

public AbstractBusinessComponent getAbstractBusinessComponent()
Gets the abstract business component.

Returns:
the abstract business component

setAbstractBusinessComponent

public void setAbstractBusinessComponent(AbstractBusinessComponent abstractBusinessComponent)
Sets the abstract business component.

Parameters:
abstractBusinessComponent - the new abstract business component

makeEager

public void makeEager()
Make eager.


compareTo

public int compareTo(CounterPartyPartyID counterPartyPartyID)
Specified by:
compareTo in interface java.lang.Comparable<CounterPartyPartyID>

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object