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

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

@Entity
public class CategoryAttribute
extends AbstractAttribute<Category>
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
CategoryAttribute()
          Creates a new CategoryAttribute.java object.
CategoryAttribute(java.lang.String key, java.lang.String 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.AbstractAttribute
getValue, setKey, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CategoryAttribute

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

Parameters:
key - key
value - value
category - owner

CategoryAttribute

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

Method Detail

getOwner

public Category getOwner()
Specified by:
getOwner in class AbstractAttribute<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 AbstractAttribute<Category>
Returns:
the key


Copyright © 2012 Mairie de Paris. All Rights Reserved.