Nature
public final class JDOFieldInfoNature extends BaseNature
Constructor | Description |
---|---|
JDOFieldInfoNature(FieldInfo fieldInfo) |
Constructor taking a FieldInfo.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getColumnName() |
Retrieves the sql column name.
|
java.lang.String |
getColumnType() |
Returns the sql type of the column.
|
java.lang.String |
getId() |
Returns the fully qualified class name of the Nature.
|
boolean |
isDirty() |
Returns true if field will NOT be checked against the database for
modification, otherwise false.
|
boolean |
isReadOnly() |
Returns true if no update on the column can be performed, false
otherwise.
|
void |
setColumnName(java.lang.String columnName) |
Sets the sql column name.
|
void |
setColumnType(java.lang.String sqlType) |
Sets the column sql type.
|
void |
setDirty(boolean dirty) |
If set true, field will NOT be checked against the database for
modification, otherwise set false.
|
void |
setReadOnly(boolean readOnly) |
Sets the column read only.
|
getBooleanPropertyDefaultFalse, getHolder, getProperty, getPropertyAsList, getPropertyAsMap, setProperty
public JDOFieldInfoNature(FieldInfo fieldInfo)
fieldInfo
- in focus.public java.lang.String getId()
org.exolab.castor.builder.info.nature.Nature#getId()
public java.lang.String getColumnName()
public java.lang.String getColumnType()
public void setColumnName(java.lang.String columnName)
columnName
- name of the column.public void setColumnType(java.lang.String sqlType)
sqlType
- of the column.public boolean isReadOnly()
public void setReadOnly(boolean readOnly)
readOnly
- true if read only.public boolean isDirty()
public void setDirty(boolean dirty)
dirty
- true if field should not be updated.Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com