public interface SubtypableData
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; }
Modifier and Type | Method and Description |
---|---|
ItemSubtypeData |
getItemSubtype()
Get the subtype of the item.
|
void |
setItemSubtype(ItemSubtypeData subtype)
Set the subtype of the item.
|
ItemSubtypeData getItemSubtype()
void setItemSubtype(ItemSubtypeData subtype)