fr.paris.lutece.plugins.stock.business.attribute
Class AbstractAttribute<E extends StockEntityBean<E>>

java.lang.Object
  extended by fr.paris.lutece.plugins.stock.business.attribute.AbstractAttribute<E>
Type Parameters:
E - type of linked entity
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
CategoryAttribute, OfferAttribute, OfferGenreAttribute, ProductAttribute, ProviderAttribute, PurchaseAttribute

@MappedSuperclass
public abstract class AbstractAttribute<E extends StockEntityBean<E>>
extends java.lang.Object
implements java.io.Serializable

Category

See Also:
Serialized Form

Field Summary
protected  java.lang.String _key
           
protected  java.lang.String _value
           
 
Constructor Summary
AbstractAttribute()
          Constructor
 
Method Summary
 java.lang.String getKey()
           
abstract  E getOwner()
           
 java.lang.String getValue()
           
 void setKey(java.lang.String key)
           
 void setValue(java.lang.String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_key

protected java.lang.String _key

_value

protected java.lang.String _value
Constructor Detail

AbstractAttribute

public AbstractAttribute()
Constructor

Method Detail

getOwner

public abstract E getOwner()
Returns:
the owner

getKey

public java.lang.String getKey()
Returns:
the key

setKey

public void setKey(java.lang.String key)
Parameters:
key - the key to set

getValue

public java.lang.String getValue()
Returns:
the value

setValue

public void setValue(java.lang.String value)
Parameters:
value - the value to set


Copyright © 2012 Mairie de Paris. All Rights Reserved.