@Entity public class ProductAttribute extends EntityAttribute<Product> implements StandardAttributes, Identifiable<Long>
Modifier and Type | Field and Description |
---|---|
static String |
ATTRIBUTE_TEMPLATE
|
id, name, value
ATTRIB_COLLECTION_TYPE_NAME, ATTRIB_VARIATION_NAME
Constructor and Description |
---|
ProductAttribute() |
ProductAttribute(ProductAttribute pa) |
ProductAttribute(String json) |
ProductAttribute(String name,
String value) |
ProductAttribute(String name,
String value,
Product product) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Product |
getEntity()
Reference to the entity this Attribute is part of
|
Product |
getProduct() |
int |
hashCode() |
void |
setEntity(Product entity)
Reference to the entity this Attribute is part of
|
void |
setProduct(Product product) |
clone, getId, getName, getValue, setId, setName, setValue, toString, updateValue
finalize, getClass, notify, notifyAll, wait, wait, wait
getId, setId
public static final String ATTRIBUTE_TEMPLATE
ProductTemplate
ProductAttribute
. If null then the Product will use a Default Template.public ProductAttribute()
public ProductAttribute(String json)
public ProductAttribute(ProductAttribute pa)
Copyright © 2018. All rights reserved.