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

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

@Entity
public class OfferAttribute
extends AbstractAttribute<Offer>
implements java.io.Serializable

Category

See Also:
Serialized Form

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

Constructor Detail

OfferAttribute

public OfferAttribute(java.lang.String key,
                      java.lang.String value,
                      Offer offer)
Creates a new OfferAttribute.java object.

Parameters:
key - key
value - value
offer - owner

OfferAttribute

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

Method Detail

getOwner

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

setOwner

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

getKey

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


Copyright © 2012 Mairie de Paris. All Rights Reserved.