fr.paris.lutece.plugins.stock.business.attribute.category
Class CategoryAttributeNum

java.lang.Object
  extended by fr.paris.lutece.plugins.stock.business.attribute.AbstractAttributeNum<Category>
      extended by fr.paris.lutece.plugins.stock.business.attribute.category.CategoryAttributeNum
All Implemented Interfaces:
java.io.Serializable

@Entity
public class CategoryAttributeNum
extends AbstractAttributeNum<Category>
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
CategoryAttributeNum()
          Creates a new CategoryAttributeNum.java object.
CategoryAttributeNum(java.lang.String key, java.math.BigDecimal value, Category category)
          Creates a new CategoryAttribute.java object.
 
Method Summary
 java.lang.String getKey()
           
 Category getOwner()
           
 void setOwner(Category 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

CategoryAttributeNum

public CategoryAttributeNum(java.lang.String key,
                            java.math.BigDecimal value,
                            Category category)
Creates a new CategoryAttribute.java object.

Parameters:
key - key
value - value
category - owner

CategoryAttributeNum

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

Method Detail

getOwner

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

setOwner

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

getKey

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


Copyright © 2012 Mairie de Paris. All Rights Reserved.