|
3.1.1: 2012-03-29 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SubtypableData
A subtypable item is an item that can have a subtype. Subtypes are defined
by objects of the ItemSubtypeData class.
This interface defines Hibernate database mapping for the
itemSubtype association to a column with
the name subtype_id. If a subclass wants
to map the association to another column, it should override
the getItemSubtype() method and add a Hibernate tag
in the comment.
Reference implementation
private ItemSubtypeData subtype;
public ItemSubtypeData getItemSubtype()
{
return subtype;
}
public void setItemSubtype(ItemSubtypeData subtype)
{
this.subtype = subtype;
}
| Method Summary | |
|---|---|
ItemSubtypeData |
getItemSubtype()
Get the subtype of the item. |
void |
setItemSubtype(ItemSubtypeData subtype)
Set the subtype of the item. |
| Method Detail |
|---|
ItemSubtypeData getItemSubtype()
void setItemSubtype(ItemSubtypeData subtype)
|
3.1.1: 2012-03-29 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||