@Embeddable
public class CategoryProductXrefPK
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
protected Category |
category |
protected Product |
product
The product.
|
| Constructor and Description |
|---|
CategoryProductXrefPK() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
Category |
getCategory() |
Product |
getProduct() |
int |
hashCode() |
void |
setCategory(Category category) |
void |
setProduct(Product product) |
public Category getCategory()
public void setCategory(Category category)
public Product getProduct()
public void setProduct(Product product)
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018. All Rights Reserved.