fr.paris.lutece.plugins.stock.business.attribute.purchase
Class PurchaseAttributeDate

java.lang.Object
  extended by fr.paris.lutece.plugins.stock.business.attribute.AbstractAttributeDate<Purchase>
      extended by fr.paris.lutece.plugins.stock.business.attribute.purchase.PurchaseAttributeDate
All Implemented Interfaces:
java.io.Serializable

@Entity
public class PurchaseAttributeDate
extends AbstractAttributeDate<Purchase>
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
PurchaseAttributeDate()
          Creates a new PurchaseAttributeDate.java object.
PurchaseAttributeDate(java.lang.String key, java.sql.Timestamp value, Purchase purchase)
          Creates a new PurchaseAttributeDate.java object.
 
Method Summary
 java.lang.String getKey()
           
 Purchase getOwner()
           
 void setOwner(Purchase 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

PurchaseAttributeDate

public PurchaseAttributeDate(java.lang.String key,
                             java.sql.Timestamp value,
                             Purchase purchase)
Creates a new PurchaseAttributeDate.java object.

Parameters:
key - key
value - value
purchase - purchase

PurchaseAttributeDate

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

Method Detail

getOwner

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

setOwner

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

getKey

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


Copyright © 2012 Mairie de Paris. All Rights Reserved.