net.datacrow.settings.definitions
Class DcFieldDefinition
java.lang.Object
net.datacrow.settings.definitions.Definition
net.datacrow.settings.definitions.DcFieldDefinition
public class DcFieldDefinition
- extends Definition
Constructor Summary |
DcFieldDefinition(int index,
java.lang.String label,
boolean enabled,
boolean required,
boolean descriptive,
boolean unique,
java.lang.String tab)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
DcFieldDefinition
public DcFieldDefinition(int index,
java.lang.String label,
boolean enabled,
boolean required,
boolean descriptive,
boolean unique,
java.lang.String tab)
setIndex
public void setIndex(int index)
getIndex
public int getIndex()
isUnique
public boolean isUnique()
setUnique
public void setUnique(boolean unique)
isEnabled
public boolean isEnabled()
isEnabled
public void isEnabled(boolean b)
getTabNative
public java.lang.String getTabNative()
getTab
public java.lang.String getTab(int module)
setTab
public void setTab(java.lang.String tab)
isRequired
public boolean isRequired()
isDescriptive
public boolean isDescriptive()
isDescriptive
public void isDescriptive(boolean b)
getLabel
public java.lang.String getLabel()
setLabel
public void setLabel(java.lang.String label)
toSettingValue
public java.lang.String toSettingValue()
- Specified by:
toSettingValue
in class Definition
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object