Interface ComplexRelationLeg
- All Superinterfaces:
Entity
,Resource
,Serializable
Represents a complex relation leg
Complex relation leg represents single leg (relation) of many-to-many association among assets.
-
Method Summary
Modifier and TypeMethodDescriptiongetAsset()
Deprecated.This method will be removed in the future.Returns the reference to the asset.Returns the reference to the asset type.Returns the co-role for the asset assigned to this leg.getRole()
Returns the role that the asset assigned to this leg plays in the complex relation.Methods inherited from interface Resource
getCreatedBy, getCreatedOn, getLastModifiedBy, getLastModifiedOn, getResourceType, isSystem
-
Method Details
-
getAssetType
NamedResourceReference getAssetType()Returns the reference to the asset type.- Returns:
- the reference to the asset type
-
getAsset
Deprecated.This method will be removed in the future. Please, usegetAssetReference()
Returns the reference to the asset.- Returns:
- the reference to the asset
-
getAssetReference
AssetReference getAssetReference()Returns the reference to the asset.- Returns:
- the reference to the asset
-
getRole
String getRole()Returns the role that the asset assigned to this leg plays in the complex relation.- Returns:
- the role that the asset assigned to this leg plays in the complex relation
-
getCoRole
String getCoRole()Returns the co-role for the asset assigned to this leg.- Returns:
- the co-role for the asset assigned to this leg
-