Constructor and Description |
---|
LogTableField(String id,
boolean enabled,
boolean subjectAllowed,
String fieldName,
String name,
String description,
int dataType,
int length) |
LogTableField(String id,
boolean enabled,
String fieldName,
Object subject,
String name,
String description) |
LogTableField(String id,
String fieldName,
Object subject)
Create a new enabled log table field with the specified field name for the specified subject.
|
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
int |
getDataType() |
String |
getDescription() |
String |
getFieldName() |
String |
getId() |
int |
getLength() |
String |
getName() |
Object |
getSubject() |
boolean |
isEnabled() |
boolean |
isErrorsField() |
boolean |
isKey() |
boolean |
isLogDateField() |
boolean |
isLogField() |
boolean |
isNameField() |
boolean |
isStatusField() |
boolean |
isSubjectAllowed() |
boolean |
isVisible() |
void |
setDataType(int dataType) |
void |
setDescription(String description) |
void |
setEnabled(boolean enabled) |
void |
setErrorsField(boolean errorsField) |
void |
setFieldName(String fieldName) |
void |
setKey(boolean key) |
void |
setLength(int length) |
void |
setLogDateField(boolean logDateField) |
void |
setLogField(boolean logField) |
void |
setName(String name) |
void |
setNameField(boolean nameField) |
void |
setStatusField(boolean statusField) |
void |
setSubject(Object subject) |
void |
setSubjectAllowed(boolean subjectAllowed) |
void |
setVisible(boolean visible) |
String |
toString() |
public LogTableField(String id, boolean enabled, String fieldName, Object subject, String name, String description)
id
- the ID to reference this field by in the log tableenabled
- fieldName
- subject
- description
- public LogTableField(String id, boolean enabled, boolean subjectAllowed, String fieldName, String name, String description, int dataType, int length)
id
- enabled
- fieldName
- description
- dataType
- length
- public Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
public boolean isEnabled()
public void setEnabled(boolean enabled)
enabled
- the enabled to setpublic Object getSubject()
public void setSubject(Object subject)
subject
- the subject to setpublic String getId()
public String getFieldName()
public void setFieldName(String fieldName)
fieldName
- the fieldName to setpublic String getDescription()
public void setDescription(String description)
description
- the description to setpublic int getDataType()
public void setDataType(int dataType)
dataType
- the dataType to setpublic int getLength()
public void setLength(int length)
length
- the length to setpublic boolean isSubjectAllowed()
public void setSubjectAllowed(boolean subjectAllowed)
subjectAllowed
- the subjectAllowed to setpublic boolean isKey()
public void setKey(boolean key)
key
- the key to setpublic boolean isLogDateField()
public void setLogDateField(boolean logDateField)
logDateField
- the logDateField to setpublic String getName()
public void setName(String name)
name
- the name to setpublic boolean isLogField()
public void setLogField(boolean logField)
logField
- the logField to setpublic boolean isVisible()
public void setVisible(boolean visible)
visible
- the visible to setpublic boolean isStatusField()
public void setStatusField(boolean statusField)
statusField
- the statusField to setpublic boolean isErrorsField()
public void setErrorsField(boolean errorsField)
errorsField
- the errorsField to setpublic boolean isNameField()
public void setNameField(boolean nameField)
nameField
- the nameField to set