@Entity public class CategoryAttribute extends AbstractAttribute<Category> implements Serializable
_key, _value
Constructor and Description |
---|
CategoryAttribute()
Creates a new CategoryAttribute.java object.
|
CategoryAttribute(String key,
String value,
Category category)
Creates a new CategoryAttribute.java object.
|
Modifier and Type | Method and Description |
---|---|
String |
getKey() |
Category |
getOwner() |
void |
setOwner(Category owner) |
getValue, setKey, setValue
public CategoryAttribute(String key, String value, Category category)
key
- keyvalue
- valuecategory
- ownerpublic CategoryAttribute()
public Category getOwner()
getOwner
in class AbstractAttribute<Category>
public void setOwner(Category owner)
owner
- the owner to setpublic String getKey()
getKey
in class AbstractAttribute<Category>
Copyright © 2020 City of Paris. All rights reserved.