fr.paris.lutece.plugins.stock.business.attribute.product
Class ProductAttributeNum

java.lang.Object
  extended by fr.paris.lutece.plugins.stock.business.attribute.AbstractAttributeNum<Product>
      extended by fr.paris.lutece.plugins.stock.business.attribute.product.ProductAttributeNum
All Implemented Interfaces:
Serializable

@Entity
public class ProductAttributeNum
extends AbstractAttributeNum<Product>
implements Serializable

Category

See Also:
Serialized Form

Field Summary
 
Fields inherited from class fr.paris.lutece.plugins.stock.business.attribute.AbstractAttributeNum
_key, _value
 
Constructor Summary
ProductAttributeNum()
          Creates a new ProductAttributeNum.java object.
ProductAttributeNum(String key, BigDecimal value, Product product)
          Creates a new ProductAttributeNum.java object.
 
Method Summary
 String getKey()
           
 Product getOwner()
           
 void setOwner(Product owner)
           
 
Methods inherited from class fr.paris.lutece.plugins.stock.business.attribute.AbstractAttributeNum
getValue, setKey, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProductAttributeNum

public ProductAttributeNum()
Creates a new ProductAttributeNum.java object.


ProductAttributeNum

public ProductAttributeNum(String key,
                           BigDecimal value,
                           Product product)
Creates a new ProductAttributeNum.java object.

Parameters:
key - key
value - value
product - product
Method Detail

getOwner

public Product getOwner()
Specified by:
getOwner in class AbstractAttributeNum<Product>
Returns:
the id

setOwner

public void setOwner(Product owner)
Parameters:
owner - the owner to set

getKey

public String getKey()
Overrides:
getKey in class AbstractAttributeNum<Product>
Returns:
the key


Copyright © 2014 Mairie de Paris. All Rights Reserved.