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

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

@Entity
public class ProductAttributeDate
extends AbstractAttributeDate<Product>
implements java.io.Serializable

Category

See Also:
Serialized Form

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

Constructor Detail

ProductAttributeDate

public ProductAttributeDate(java.lang.String key,
                            java.sql.Timestamp value,
                            Product product)
Creates a new ProductAttributeDate.java object.

Parameters:
key - key
value - value
product - product

ProductAttributeDate

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

Method Detail

getOwner

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

setOwner

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

getKey

public java.lang.String getKey()
Overrides:
getKey in class AbstractAttributeDate<Product>
Returns:
the key


Copyright © 2012 Mairie de Paris. All Rights Reserved.