public class CatEntryPricesGroupKey
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
The IBM copyright string.
|
Constructor and Description |
---|
CatEntryPricesGroupKey(java.lang.Long[] anTradingIds)
Constructor for CatEntryPricesGroupKey.
|
CatEntryPricesGroupKey(java.lang.Long anOrderId,
java.lang.Long aCatEntryId,
java.lang.Long[] offerIds,
java.lang.Long[] tradingIds)
Constructor for CatEntryPricesGroupKey.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object aObj)
The method compares this key object to the specified object.
|
java.lang.Long |
getCatalogEntryId()
This methods gets the catalog entry Id.
|
java.lang.Long[] |
getOfferIds()
This methods gets the array of offer Id.
|
java.lang.Long |
getOrderId()
This methods gets the order Id.
|
java.lang.Long[] |
getTradingIds()
This methods gets the TradingAgreement IDs.
|
int |
hashCode()
This method returns the hash code of the key object.
|
void |
setCatalogEntryId(java.lang.Long catalogEntryId)
This method sets the catalog entry Id
|
void |
setOfferIds(java.lang.Long[] iOfferIds)
This method sets the offer Ids.
|
void |
setOrderId(java.lang.Long orderId)
This method sets the order Id.
|
void |
setTradingIds(java.lang.Long[] iTradingIds)
This method sets the Trading Agreement Ids.
|
public static final java.lang.String COPYRIGHT
public CatEntryPricesGroupKey(java.lang.Long[] anTradingIds)
anTradingIds
- the TradingAgreement IDs.public CatEntryPricesGroupKey(java.lang.Long anOrderId, java.lang.Long aCatEntryId, java.lang.Long[] offerIds, java.lang.Long[] tradingIds)
anOrderId
- order Id.aCatEntryId
- catalog entry Id.offerIds
- offer Ids.tradingIds
- trading Ids.public java.lang.Long[] getTradingIds()
public boolean equals(java.lang.Object aObj)
equals
in class java.lang.Object
aObj
- the CatEntryPricesGroupKey instance to compare with.Object.equals(Object)
public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()
public java.lang.Long getCatalogEntryId()
public void setCatalogEntryId(java.lang.Long catalogEntryId)
catalogEntryId
- The iCatalogEntryId to set.public java.lang.Long getOrderId()
public void setOrderId(java.lang.Long orderId)
orderId
- The order Id to set.public java.lang.Long[] getOfferIds()
public void setOfferIds(java.lang.Long[] iOfferIds)
iOfferIds
- The isetOfferIds to set.public void setTradingIds(java.lang.Long[] iTradingIds)
iTradingIds
- The isetTradingIds to set.