Package com.sgs.common.database
Class CustomField
- java.lang.Object
-
- com.sgs.common.database.HibernateObject
-
- com.sgs.common.database.CustomField
-
public class CustomField extends HibernateObject
This class represents a custom field in the system. Custom fields can be used to be printed on labels for particular products SeeCustomFieldLink
- Author:
- SGSystems
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
defaultValue
The default value should noCustomFieldLink
be present for a given commodityjava.lang.String
labelParameter
The unique label parameter that you want to use on the label to identify this fieldjava.lang.String
name
*Primary Key* The unique name of the custom field-
Fields inherited from class com.sgs.common.database.HibernateObject
ID
-
-
Constructor Summary
Constructors Constructor Description CustomField()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDefaultValue()
java.lang.String
getLabelParameter()
java.lang.String
getName()
void
setDefaultValue(java.lang.String defaultValue)
void
setLabelParameter(java.lang.String labelParameter)
void
setName(java.lang.String name)
-
Methods inherited from class com.sgs.common.database.HibernateObject
getExported, getID, isDontSave, isModified, setDontSave, setExported, setID, setModified
-
-
-
-
Field Detail
-
name
public java.lang.String name
*Primary Key* The unique name of the custom field
-
labelParameter
public java.lang.String labelParameter
The unique label parameter that you want to use on the label to identify this field
-
defaultValue
public java.lang.String defaultValue
The default value should noCustomFieldLink
be present for a given commodity
-
-
Method Detail
-
getName
public java.lang.String getName()
-
getLabelParameter
public java.lang.String getLabelParameter()
-
setName
public void setName(java.lang.String name)
-
setLabelParameter
public void setLabelParameter(java.lang.String labelParameter)
-
getDefaultValue
public java.lang.String getDefaultValue()
-
setDefaultValue
public void setDefaultValue(java.lang.String defaultValue)
-
-