|
SRJRCFrames v0.1.296 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
E - - the type of the parent entitypublic interface ChildEntity<E extends Entity>
interface for all children types, that means for entities, that model a 1:n relation and which need to keep the id of the parent instance.
| Field Summary | |
|---|---|
static String |
PARENT_ATTR_NAME
|
| Method Summary | |
|---|---|
E |
getParent()
returns the parent entity instance of this entity instance |
Class<E> |
getParentType()
returns the type of the parent entity |
void |
setParent(E parent)
sets the parent entity instance to the given instance |
| Methods inherited from interface de.schwarzrot.data.Entity |
|---|
getCModified, getDefaultOrder, getDtCreated, getDtModified, getId, getMappings, getPersistenceName, getSchemaName, getSkipList, getSystemClass, getUCreated, getUModified, getUniqColumnNames, getUserAttributes, getVariantColumnName, getVariantTypeMap, isDirty, isUserType, isVirtual, setCModified, setDirty, setDtCreated, setDtModified, setId, setUCreated, setUModified, validate |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Methods inherited from interface com.jgoodies.binding.beans.Observable |
|---|
addPropertyChangeListener, removePropertyChangeListener |
| Field Detail |
|---|
static final String PARENT_ATTR_NAME
| Method Detail |
|---|
E getParent()
Class<E> getParentType()
void setParent(E parent)
parent - the new parent entity instance
|
SRJRCFrames v0.1.296 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||