Interface PropagationConstraint

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

    @TypeMetadata(name="PropagationConstraint",
                  description="This class provides propagation constraint for Relation",
                  version="1.0.0")
    @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 predefined Property type 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: remove=keep, add=unpropagate; - ConsistsOf : remove=cascadeWhenOrphan, add=propagate. https://wiki.gcube-system.org/gcube/Facet_Based_Resource_Model#Propagation_Constraint
    Author:
    Luca Frosini (ISTI - CNR)