Interface Relation
- All Superinterfaces:
Entity
,Resource
,Serializable
Represents a relation
Relation is an association between two assets called source and target of the relation.
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.To be removed without replacement.Returns the source of the relation.Deprecated, for removal: This API element is subject to removal in a future version.To be removed without replacement.Gets the target of the relation.getType()
Returns the type of the relation.Methods inherited from interface Resource
getCreatedBy, getCreatedOn, getLastModifiedBy, getLastModifiedOn, getResourceType, isSystem
-
Method Details
-
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
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, 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
-