- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 27 of file IProductKey.java.
◆ IProductKey() [1/2]
org.turro.financials.product.IProductKey.IProductKey |
( |
| ) |
|
◆ IProductKey() [2/2]
org.turro.financials.product.IProductKey.IProductKey |
( |
long |
productId, |
|
|
long |
providerId, |
|
|
long |
providerProductId, |
|
|
String |
productDescription |
|
) |
| |
Definition at line 35 of file IProductKey.java.
36 this.productId = productId;
37 this.providerId = providerId;
38 this.providerProductId = providerProductId;
39 this.productDescription = productDescription;
◆ compareTo()
int org.turro.financials.product.IProductKey.compareTo |
( |
IProductKey |
o | ) |
|
Definition at line 75 of file IProductKey.java.
76 int result = CompareUtil.compare(productId, o.productId);
78 result = CompareUtil.compare(providerId, o.providerId);
81 result = CompareUtil.compare(providerProductId, o.providerProductId);
84 result = CompareUtil.compare(productDescription, o.productDescription);
◆ equals()
boolean org.turro.financials.product.IProductKey.equals |
( |
Object |
obj | ) |
|
Definition at line 100 of file IProductKey.java.
104 if (getClass() != obj.getClass()) {
108 if (this.productId != other.productId) {
111 if (this.providerId != other.providerId) {
114 if (this.providerProductId != other.providerProductId) {
117 if ((this.productDescription ==
null) ? (other.productDescription !=
null) : !this.productDescription.equals(other.productDescription)) {
◆ getProductDescription()
String org.turro.financials.product.IProductKey.getProductDescription |
( |
| ) |
|
◆ getProductId()
long org.turro.financials.product.IProductKey.getProductId |
( |
| ) |
|
◆ getProviderId()
long org.turro.financials.product.IProductKey.getProviderId |
( |
| ) |
|
◆ getProviderProductId()
long org.turro.financials.product.IProductKey.getProviderProductId |
( |
| ) |
|
◆ hashCode()
int org.turro.financials.product.IProductKey.hashCode |
( |
| ) |
|
Definition at line 90 of file IProductKey.java.
92 hash = 89 * hash + (int) (this.productId ^ (this.productId >>> 32));
93 hash = 89 * hash + (int) (this.providerId ^ (this.providerId >>> 32));
94 hash = 89 * hash + (int) (this.providerProductId ^ (this.providerProductId >>> 32));
95 hash = 89 * hash + (this.productDescription !=
null ? this.productDescription.hashCode() : 0);
◆ setProductDescription()
void org.turro.financials.product.IProductKey.setProductDescription |
( |
String |
productDescription | ) |
|
Definition at line 70 of file IProductKey.java.
71 this.productDescription = productDescription;
◆ setProductId()
void org.turro.financials.product.IProductKey.setProductId |
( |
long |
productId | ) |
|
◆ setProviderId()
void org.turro.financials.product.IProductKey.setProviderId |
( |
long |
providerId | ) |
|
◆ setProviderProductId()
void org.turro.financials.product.IProductKey.setProviderProductId |
( |
long |
providerProductId | ) |
|
Definition at line 66 of file IProductKey.java.
67 this.providerProductId = providerProductId;
The documentation for this class was generated from the following file: