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
    At any time entities and relations can be added or removed to/from a context or deleted. The PropagationConstraint property contained in each relation is a property which indicates the behaviour to be held on a target entity when an event related to a context occurs in the source resource or directly to the relation. The default values of propagation constraints are: - IsRelatedTo: delete=keep, remove=keep, add=unpropagate; - ConsistsOf : delete=cascade, remove=cascade, add=propagate. https://wiki.gcube-system.org/gcube/Facet_Based_Resource_Model#Propagation_Constraint
    Author:
    Luca Frosini (ISTI - CNR)