fr.paris.lutece.plugins.stock.business.attribute.offer
Class OfferAttributeNum

java.lang.Object
  extended by fr.paris.lutece.plugins.stock.business.attribute.AbstractAttributeNum<Offer>
      extended by fr.paris.lutece.plugins.stock.business.attribute.offer.OfferAttributeNum
All Implemented Interfaces:
Serializable

@Entity
public class OfferAttributeNum
extends AbstractAttributeNum<Offer>
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
OfferAttributeNum()
          Creates a new OfferAttributeNum.java object.
OfferAttributeNum(String key, BigDecimal value, Offer offer)
          Creates a new OfferAttributeNum.java object.
 
Method Summary
 String getKey()
           
 Offer getOwner()
           
 void setOwner(Offer 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

OfferAttributeNum

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


OfferAttributeNum

public OfferAttributeNum(String key,
                         BigDecimal value,
                         Offer offer)
Creates a new OfferAttributeNum.java object.

Parameters:
key - key
value - value
offer - owner
Method Detail

getOwner

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

setOwner

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

getKey

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


Copyright © 2014 Mairie de Paris. All Rights Reserved.