E
- definition of the child objectF
- definition of the parent objectpublic abstract class LinkedToDefaultParent<E extends DataObject<E>,F extends DataObject<F>>
extends java.lang.Object
Constructor and Description |
---|
LinkedToDefaultParent(java.lang.String number,
boolean insertifnotexists)
creates a linked to default parent
|
Modifier and Type | Method and Description |
---|---|
F |
getDefaultparentstored() |
java.lang.String |
getNumber()
the object number
|
boolean |
isInsertifnotexists()
true if program will insert default parent if it does not exist
|
abstract void |
processBeforeInsert(E object)
performs processing before insertion
|
void |
setDefaultparentstored(F defaultparentstored)
sets the default parent
|
public LinkedToDefaultParent(java.lang.String number, boolean insertifnotexists)
number
- number of the default parentinsertifnotexists
- sets to true to create the default parent if it does
not exists yetpublic F getDefaultparentstored()
public void setDefaultparentstored(F defaultparentstored)
defaultparentstored
- default parentpublic abstract void processBeforeInsert(E object)
object
- public java.lang.String getNumber()
public boolean isInsertifnotexists()