Package com.sgs.common.database
Class CustomFieldLink
- java.lang.Object
-
- com.sgs.common.database.HibernateObject
-
- com.sgs.common.database.CustomFieldLink
-
public class CustomFieldLink extends HibernateObject
CustomFieldLink links aCustomFieldto aCommodity. This specifies what value this particular commodity should have on it's label for the custom field- Author:
- SGSystems
-
-
Field Summary
Fields Modifier and Type Field Description CommoditycommodityThe commodityjava.lang.StringdataThe data to be printed on the labelCustomFieldfieldThe custom field-
Fields inherited from class com.sgs.common.database.HibernateObject
ID
-
-
Constructor Summary
Constructors Constructor Description CustomFieldLink()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommoditygetCommodity()java.lang.StringgetData()CustomFieldgetField()voidsetCommodity(Commodity commodity)voidsetData(java.lang.String data)voidsetField(CustomField field)java.lang.StringtoString()-
Methods inherited from class com.sgs.common.database.HibernateObject
getExported, getID, isDontSave, isModified, setDontSave, setExported, setID, setModified
-
-
-
-
Field Detail
-
field
public CustomField field
The custom field
-
commodity
public Commodity commodity
The commodity
-
data
public java.lang.String data
The data to be printed on the label
-
-
Method Detail
-
getField
public CustomField getField()
-
getCommodity
public Commodity getCommodity()
-
setField
public void setField(CustomField field)
-
setCommodity
public void setCommodity(Commodity commodity)
-
getData
public java.lang.String getData()
-
setData
public void setData(java.lang.String data)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-