Class IsRelatedToImpl<S extends Resource,T extends Resource>

All Implemented Interfaces:
Serializable, Element, IdentifiableElement, RelationElement<S,T>, SchemaMixedElement, ERElement, ModelElement, IsRelatedTo<S,T>, Relation<S,T>
Direct Known Subclasses:
DummyIsRelatedTo

public abstract class IsRelatedToImpl<S extends Resource,T extends Resource> extends RelationImpl<S,T> implements IsRelatedTo<S,T>
The default abstract implementation of the IsRelatedTo interface.
Author:
Luca Frosini (ISTI - CNR)
See Also:
  • Constructor Details

    • IsRelatedToImpl

      protected IsRelatedToImpl()
      Default constructor.
    • IsRelatedToImpl

      public IsRelatedToImpl(S source, T target)
      Constructs a new IsRelatedToImpl with the given source and target.
      Parameters:
      source - The source resource.
      target - The target resource.
    • IsRelatedToImpl

      public IsRelatedToImpl(S source, T target, PropagationConstraint propagationConstraint)
      Constructs a new IsRelatedToImpl with the given source, target, and propagation constraint.
      Parameters:
      source - The source resource.
      target - The target resource.
      propagationConstraint - The propagation constraint.