Interface PropagationConstraint

All Superinterfaces:
Element, ModelElement, Property, PropertyElement, SchemaMixedElement, Serializable
All Known Implementing Classes:
PropagationConstraintImpl

@TypeMetadata(name="PropagationConstraint", description="This type provides propagation constraint for Relation", version="1.1.0") @Change(version="1.1.0",description="Added \'delete\' propagation constraint") @Change(version="1.0.0",description="First Version") public interface PropagationConstraint extends Property
Defines the propagation behavior for a relation when context-related events (add, remove, delete) occur on the source entity or the relation itself.

The default propagation constraints are:

  • IsRelatedTo: delete=keep, remove=keep, add=unpropagate
  • ConsistsOf: delete=cascade, remove=cascade, add=propagate
For more details, refer to the gCube Facet Based Resource Model Wiki.
Author:
Luca Frosini (ISTI - CNR)
See Also: