@Entity public class ProductAttribute extends AbstractAttribute<Product>
Constructor and Description |
---|
ProductAttribute()
Creates a new ProductAttribute.java object.
|
ProductAttribute(String key,
String value,
Product product)
Creates a new ProductAttribute.java object.
|
Modifier and Type | Method and Description |
---|---|
String |
getKey() |
Product |
getOwner() |
void |
setOwner(Product owner) |
getValue, setKey, setValue
public ProductAttribute(String key, String value, Product product)
key
- keyvalue
- valueproduct
- ownerpublic ProductAttribute()
public Product getOwner()
getOwner
in class AbstractAttribute<Product>
public void setOwner(Product owner)
owner
- the owner to setpublic String getKey()
getKey
in class AbstractAttribute<Product>
Copyright © 2021 City of Paris. All rights reserved.