org.nuiton.wikitty.test
Class ProductAbstract
java.lang.Object
org.nuiton.wikitty.entities.BusinessEntityImpl
org.nuiton.wikitty.test.ProductAbstract
- All Implemented Interfaces:
- Serializable, Cloneable, org.nuiton.wikitty.entities.BusinessEntity, Product, ProductDocumentation, ProductPicture
- Direct Known Subclasses:
- ProductImpl
public abstract class ProductAbstract
- extends org.nuiton.wikitty.entities.BusinessEntityImpl
- implements Product
- See Also:
- Serialized Form
|
Field Summary |
static org.nuiton.wikitty.entities.WikittyExtension |
extensionProduct
|
static List<org.nuiton.wikitty.entities.WikittyExtension> |
extensions
|
| Fields inherited from class org.nuiton.wikitty.entities.BusinessEntityImpl |
extensionForMetaExtension, propertyChangeSupport, wikitty |
| Fields inherited from interface org.nuiton.wikitty.test.Product |
ELEMENT_FIELD_PRODUCT_CATEGORY, ELEMENT_FIELD_PRODUCT_COLORS, ELEMENT_FIELD_PRODUCT_DATE, ELEMENT_FIELD_PRODUCT_NAME, ELEMENT_FIELD_PRODUCT_PRICE, EXT_PRODUCT, FIELD_PRODUCT_CATEGORY, FIELD_PRODUCT_COLORS, FIELD_PRODUCT_DATE, FIELD_PRODUCT_NAME, FIELD_PRODUCT_PRICE, FQ_FIELD_PRODUCT_CATEGORY, FQ_FIELD_PRODUCT_COLORS, FQ_FIELD_PRODUCT_DATE, FQ_FIELD_PRODUCT_NAME, FQ_FIELD_PRODUCT_PRICE |
| Methods inherited from class org.nuiton.wikitty.entities.BusinessEntityImpl |
addPropertyChangeListener, addPropertyChangeListener, copyFrom, equals, getExtensionFields, getExtensionNames, getField, getFieldType, getPropertyChangeSupport, getWikitty, getWikittyId, getWikittyVersion, hashCode, removePropertyChangeListener, removePropertyChangeListener, setField, setWikitty, setWikittyVersion |
| Methods inherited from interface org.nuiton.wikitty.entities.BusinessEntity |
addPropertyChangeListener, addPropertyChangeListener, copyFrom, getExtensionFields, getExtensionNames, getField, getWikittyId, getWikittyVersion, removePropertyChangeListener, removePropertyChangeListener, setField, setWikittyVersion |
extensions
public static final List<org.nuiton.wikitty.entities.WikittyExtension> extensions
extensionProduct
public static final org.nuiton.wikitty.entities.WikittyExtension extensionProduct
ProductAbstract
public ProductAbstract()
ProductAbstract
public ProductAbstract(org.nuiton.wikitty.entities.Wikitty wikitty)
ProductAbstract
public ProductAbstract(org.nuiton.wikitty.entities.BusinessEntityImpl businessEntityImpl)
getName
public String getName()
- Specified by:
getName in interface Product
setName
public void setName(String name)
- Specified by:
setName in interface Product
getPriceFromProduct
public int getPriceFromProduct()
- Specified by:
getPriceFromProduct in interface Product
setPriceFromProduct
public void setPriceFromProduct(int price)
- Specified by:
setPriceFromProduct in interface Product
getColors
public Set<String> getColors()
- Specified by:
getColors in interface Product
setColors
public void setColors(Set<String> colors)
- Specified by:
setColors in interface Product
addAllColors
public void addAllColors(Collection<String> colors)
- Specified by:
addAllColors in interface Product
addColors
public void addColors(String... element)
- Specified by:
addColors in interface Product
removeColors
public void removeColors(String... element)
- Specified by:
removeColors in interface Product
clearColors
public void clearColors()
- Specified by:
clearColors in interface Product
getDate
public Date getDate()
- Specified by:
getDate in interface Product
setDate
public void setDate(Date date)
- Specified by:
setDate in interface Product
getCategory
public String getCategory()
- Specified by:
getCategory in interface Product
setCategory
public void setCategory(String category)
- Specified by:
setCategory in interface Product
getPicture
public String getPicture()
- Specified by:
getPicture in interface ProductPicture
setPicture
public void setPicture(String picture)
- Specified by:
setPicture in interface ProductPicture
getPicturePrice
public int getPicturePrice()
- Specified by:
getPicturePrice in interface ProductPicture
setPicturePrice
public void setPicturePrice(int price)
- Specified by:
setPicturePrice in interface ProductPicture
getDocumentation
public String getDocumentation()
- Specified by:
getDocumentation in interface ProductDocumentation
setDocumentation
public void setDocumentation(String documentation)
- Specified by:
setDocumentation in interface ProductDocumentation
getPrice
public int getPrice()
- Specified by:
getPrice in interface ProductDocumentation
setPrice
public void setPrice(int price)
- Specified by:
setPrice in interface ProductDocumentation
getStaticExtensions
public Collection<org.nuiton.wikitty.entities.WikittyExtension> getStaticExtensions()
- Overrides:
getStaticExtensions in class org.nuiton.wikitty.entities.BusinessEntityImpl
toString
public String toString()
- Return toString representation. Use tagValue 'toString' format, if exist, else standard toString is call
- Overrides:
toString in class Object
- Returns:
Copyright © 2009-2012 CodeLutin. All Rights Reserved.