E
- current data object (parent)F
- child data object (used as basis for location)public class Linkedfromchildrenforlocation<E extends DataObject<E> & LocatedInterface<E> & UniqueidentifiedInterface<E>,F extends DataObject<F> & UniqueidentifiedInterface<F> & LocatedInterface<F>> extends DataObjectProperty<E>
updatedfieldingui
definition, field, parentpayload
Constructor and Description |
---|
Linkedfromchildrenforlocation(LinkedfromchildrenforlocationDefinition<E,F> definition,
DataObjectPayload parentpayload)
Creates an instance of the property
|
Modifier and Type | Method and Description |
---|---|
void |
postprocLocatedSetlocation(E object,
DataObjectId<Domain> domainid)
when the parent changes location, the children will also change location
|
void |
setDependentPropertyLinkedfromchildren(Linkedfromchildren<E,F> dependentpropertylinkedfromchildren)
set dependent property Linked From Children for the current object
|
void |
setDependentPropertyLocated(Located<E> dependentpropertylocated)
sets the dependent property located on the current object
|
generateSimpleDataEltFromObject, getDisplayDataElt, getDynamicDataElt, getFieldBufferForGUI
getAllTriggersForRefresh, getFieldFromName, getFieldNumber, getStoredField, getTriggersForThisUpdate, initFromDB, postTreatmentAfterInitFromDB
changeName, cleanName, equals, getName
public Linkedfromchildrenforlocation(LinkedfromchildrenforlocationDefinition<E,F> definition, DataObjectPayload parentpayload)
definition
- data object definitionparentpayload
- payload of the data objectpublic void setDependentPropertyLocated(Located<E> dependentpropertylocated)
dependentpropertylocated
- dependent property located on the current
objectpublic void setDependentPropertyLinkedfromchildren(Linkedfromchildren<E,F> dependentpropertylinkedfromchildren)
dependentpropertylinkedfromchildren
- dependent property linked from
childrenpublic void postprocLocatedSetlocation(E object, DataObjectId<Domain> domainid)
object
- parent objectdomainid
- new domain id