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 Details

    • getSource

      Returns the source of the relation.
      Returns:
      the source of the relation
    • getTarget

      Gets the target of the relation.
      Returns:
      the target of the relation
    • getType

      Returns the type of the relation.
      Returns:
      the type of the relation
    • getStartingDate

      @Deprecated(forRemoval=true) Long getStartingDate()
      Deprecated, for removal: This API element is subject to removal in a future version.
      To be removed without replacement.
      Returns the starting date.
      Returns:
      the starting date
    • getEndingDate

      @Deprecated(forRemoval=true) Long getEndingDate()
      Deprecated, for removal: This API element is subject to removal in a future version.
      To be removed without replacement.
      Returns the ending date.
      Returns:
      the ending date