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

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

@Entity
public class PurchaseAttributeNum
extends AbstractAttributeNum<Purchase>
implements java.io.Serializable

Category

See Also:
Serialized Form

Field Summary
 
Fields inherited from class fr.paris.lutece.plugins.stock.business.attribute.AbstractAttributeNum
_key, _value
 
Constructor Summary
PurchaseAttributeNum()
          Creates a new PurchaseAttributeNum.java object.
PurchaseAttributeNum(java.lang.String key, java.math.BigDecimal value, Purchase purchase)
          Creates a new PurchaseAttributeNum.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.AbstractAttributeNum
getValue, setKey, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PurchaseAttributeNum

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


PurchaseAttributeNum

public PurchaseAttributeNum(java.lang.String key,
                            java.math.BigDecimal value,
                            Purchase purchase)
Creates a new PurchaseAttributeNum.java object.

Parameters:
key - key
value - value
purchase - purchase
Method Detail

getOwner

public Purchase getOwner()
Specified by:
getOwner in class AbstractAttributeNum<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 AbstractAttributeNum<Purchase>
Returns:
the key


Copyright © 2012 Mairie de Paris. All Rights Reserved.