net.datacrow.settings.definitions
Class DcFieldDefinition

java.lang.Object
  extended by net.datacrow.settings.definitions.Definition
      extended by net.datacrow.settings.definitions.DcFieldDefinition

public class DcFieldDefinition
extends Definition


Field Summary
 
Fields inherited from class net.datacrow.settings.definitions.Definition
seperator
 
Constructor Summary
DcFieldDefinition(int index, java.lang.String label, boolean enabled, boolean required, boolean descriptive, boolean unique, java.lang.String tab)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 int getIndex()
           
 java.lang.String getLabel()
           
 java.lang.String getTab(int module)
           
 java.lang.String getTabNative()
           
 int hashCode()
           
 boolean isDescriptive()
           
 void isDescriptive(boolean b)
           
 boolean isEnabled()
           
 void isEnabled(boolean b)
           
 boolean isRequired()
           
 boolean isUnique()
           
 void setIndex(int index)
           
 void setLabel(java.lang.String label)
           
 void setTab(java.lang.String tab)
           
 void setUnique(boolean unique)
           
 java.lang.String toSettingValue()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DcFieldDefinition

public DcFieldDefinition(int index,
                         java.lang.String label,
                         boolean enabled,
                         boolean required,
                         boolean descriptive,
                         boolean unique,
                         java.lang.String tab)
Method Detail

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