Naturepublic class JDOOneToManyNature extends BaseNature
JDOOneToManyNature defines typed properties needed in the context a
one-to-many relation between two FieldInfos.| Constructor | Description |
|---|---|
JDOOneToManyNature(FieldInfo field) |
Constructor taking a
FieldInfo. |
| Modifier and Type | Method | Description |
|---|---|---|
void |
addForeignKey(java.lang.String column) |
Adds a column to the foreign key.
|
java.util.List<java.lang.String> |
getForeignKeys() |
Returns a List of s holding the columns of the foreign
key.
|
java.lang.String |
getId() |
Returns the Nature Id.
|
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 |
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, setPropertypublic java.lang.String getId()
Class name.Nature.getId()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.public java.util.List<java.lang.String> getForeignKeys()
addPrimaryKey(String foreignKey) the order is not
guaranteed.public void addForeignKey(java.lang.String column)
BaseNature is using.column - The column name.Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com