|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tszadel.qctools4j.model.permission.FieldDescription
public class FieldDescription
A field description
Constructor Summary | |
---|---|
FieldDescription(String pName)
Constructor. |
Method Summary | |
---|---|
String |
getDefaultValue()
Returns defaultValue. |
String |
getName()
Returns name. |
List<String> |
getOptions()
Returns options. |
boolean |
hasOptions()
Returns true if the field has options. |
boolean |
isActive()
Returns active. |
boolean |
isModifiableByOwnerOnly()
Returns modifiableByOwnerOnly. |
boolean |
isModifiableByUserOnly()
Returns modifiableByUserOnly. |
boolean |
isReadOnly()
Returns readOnly. |
boolean |
isRequired()
Returns required. |
boolean |
isSearchable()
Returns searchable. |
boolean |
isVisible()
Returns visible. |
void |
setActive(boolean pActive)
Sets the active. |
void |
setDefaultValue(String defaultValue)
Sets the defaultValue. |
void |
setModifiableByOwnerOnly(boolean modifiableByOwnerOnly)
Sets the modifiableByOwnerOnly. |
void |
setModifiableByUserOnly(boolean pModifiableByUserOnly)
Sets the modifiableByUserOnly. |
void |
setReadOnly(boolean pReadOnly)
Sets the readOnly. |
void |
setRequired(boolean pRequired)
Sets the required. |
void |
setSearchable(boolean searchable)
Sets the searchable. |
void |
setVisible(boolean pVisible)
Sets the visible. |
String |
toString()
Overrides toString. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FieldDescription(String pName)
pName
- The name of the field (in the Qc Database).Method Detail |
---|
public String getDefaultValue()
public String getName()
public List<String> getOptions()
public boolean hasOptions()
public boolean isActive()
public boolean isModifiableByOwnerOnly()
public boolean isModifiableByUserOnly()
public boolean isReadOnly()
public boolean isRequired()
public boolean isSearchable()
public boolean isVisible()
public void setActive(boolean pActive)
pActive
- The active.public void setDefaultValue(String defaultValue)
defaultValue
- The defaultValue.public void setModifiableByOwnerOnly(boolean modifiableByOwnerOnly)
modifiableByOwnerOnly
- The modifiableByOwnerOnly.public void setModifiableByUserOnly(boolean pModifiableByUserOnly)
pModifiableByUserOnly
- The modifiableByUserOnly.public void setReadOnly(boolean pReadOnly)
pReadOnly
- The readOnly.public void setRequired(boolean pRequired)
pRequired
- The required.public void setSearchable(boolean searchable)
searchable
- The searchable.public void setVisible(boolean pVisible)
pVisible
- The visible.public String toString()
toString
in class Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |