Method Summary |
|
public void | addAfterDeleteHandler(Method handler) |
public void | addAfterLoadHandler(Method handler) |
public void | addAfterSaveHandler(Method handler) |
public void | addBeforeDeleteHandler(Method handler) |
public void | addBeforeSaveHandler(Method handler) |
public void | addCollectionField(CollectionField listField) |
public void | addField(Field field) |
protected Iterator<String> | fieldNamesIterator() |
protected Iterator | fieldsIterator() |
public List<Method> | getAfterDeleteHandlers() |
public List<Method> | getAfterLoadHandlers() |
public List<Method> | getAfterSaveHandlers() |
public List<Method> | getBeforeDeleteHandlers() |
public List<Method> | getBeforeSaveHandlers() |
public List<CollectionField> | getCollectionFields() |
public String | getCollectiveName() |
public Field | getField(String fieldName) |
public String[] | getFieldNames() |
public Field[] | getFields() |
public Field[] | getInsertableFields() Returns the list of insertable fields in the object, which are
not external nor dynamic fields. |
public Field[] | getLoadableFields() Returns the list of loadable fields, which are not dynamic fields. |
public Persistor | getPersistor() |
public Field | getPrimaryKeyField() Gets the primary key field for this persistent object, if it has one. |
public Field[] | getPrimaryKeyFields() Returns all the fields of the composite key. |
public String | getSourceDomain() Returns the source table.The source table is the table where the items of
this class are loaded. |
public Field | getSuperKeyField() Returns the field containing the primary key of the super class. |
public String | getTargetDomain() Returns the target table. |
public Field[] | getUpdatableFields() Returns the list of updatable fields in the object, which are
not external nor dynamic nor automatic fields. |
public Validator | getValidator() |
public Field[] | getVisibleFields() |
public Class[] | inheritancePath() Returns the inheritance path for the objects of the persistence class. |
public boolean | isCreatingSupported() |
public boolean | isDeletingSupported() |
public boolean | isEditingSupported() |
public void | setCollectiveName(String string) |
public void | setCreatingSupported(boolean supported) |
public void | setDeletingSupported(boolean supported) |
public void | setEditingSupported(boolean supported) |
public void | setFieldVisible(String fieldName, boolean visible) |
public void | setPersistenceMode(PersistenceMode mode) |
public void | setPrimaryKey(String fieldName, boolean isExternallyGenerated) Sets the field "fieldName" as the primary key field. |
public void | setPrimaryKeys(String... fieldNames) |
public void | setSourceDomain(String sourceDomain) Sets the source table. |
public void | setSuperKey(String fieldName) Sets the field which contains the primary key of the superclass. |
public void | setTargetDomain(String targetDomain) Sets the target table. |
public void | setValidator(Validator validator) |
public boolean | usesDbSequences() |