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

java.lang.Object
  extended by fr.paris.lutece.plugins.stock.business.attribute.AbstractAttributeNum<E>
Type Parameters:
E - entity
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
CategoryAttributeNum, OfferAttributeNum, OfferGenreAttributeNum, ProductAttributeNum, ProviderAttributeNum, PurchaseAttributeNum

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

Category

See Also:
Serialized Form

Field Summary
protected  java.lang.String _key
           
protected  java.math.BigDecimal _value
           
 
Constructor Summary
AbstractAttributeNum()
          Constructor
 
Method Summary
 java.lang.String getKey()
           
abstract  E getOwner()
           
 java.math.BigDecimal getValue()
           
 void setKey(java.lang.String key)
           
 void setValue(java.math.BigDecimal 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.math.BigDecimal _value
Constructor Detail

AbstractAttributeNum

public AbstractAttributeNum()
Constructor

Method Detail

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.math.BigDecimal getValue()
Returns:
the value

setValue

public void setValue(java.math.BigDecimal value)
Parameters:
value - the value to set

getOwner

public abstract E getOwner()
Returns:
the owner


Copyright © 2012 Mairie de Paris. All Rights Reserved.