Interface Relation

  • All Superinterfaces:
    Entity, Resource, Serializable

    public interface Relation
    extends Resource
    Represents a relation

    Relation is an association between two assets called source and target of the relation.

    • Method Detail

      • getSource

        NamedResourceReference getSource()
        Returns the source of the relation.
        Returns:
        the source of the relation
      • getTarget

        NamedResourceReference getTarget()
        Gets the target of the relation.
        Returns:
        the target of the relation
      • getType

        ResourceReference getType()
        Returns the type of the relation.
        Returns:
        the type of the relation
      • getStartingDate

        Long getStartingDate()
        Returns the starting date.
        Returns:
        the starting date
      • getEndingDate

        Long getEndingDate()
        Returns the ending date.
        Returns:
        the ending date