Class FindRelatedAssetsRequest
Object
PagedRequest
FindRelatedAssetsRequest
- All Implemented Interfaces:
Serializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class PagedRequest
countLimit, limit, offset -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedFindRelatedAssetsRequest(UUID sourceAssetId, String relationTypePublicId, RelationDirection relationDirection) Creates a newFindRelatedAssetsRequestinstance. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanThe direction in which the relation is traversed.The public ID of the relation type to traverse (e.g.The ID of the asset whose relations are traversed.inthashCode()voidsetRelationDirection(RelationDirection relationDirection) The direction in which the relation is traversed.voidsetRelationTypePublicId(String relationTypePublicId) The public ID of the relation type to traverse (e.g.voidsetSourceAssetId(UUID sourceAssetId) The ID of the asset whose relations are traversed.toString()Methods inherited from class PagedRequest
getCountLimit, getLimit, getOffset, isPagingActive, setCountLimit, setLimit, setOffset
-
Constructor Details
-
FindRelatedAssetsRequest
public FindRelatedAssetsRequest() -
FindRelatedAssetsRequest
protected FindRelatedAssetsRequest(UUID sourceAssetId, String relationTypePublicId, RelationDirection relationDirection) Creates a newFindRelatedAssetsRequestinstance.- Parameters:
sourceAssetId- The ID of the asset whose relations are traversed.relationTypePublicId- The public ID of the relation type to traverse (e.g."ColumnIsPartOfTable").relationDirection- The direction in which the relation is traversed. UseRelationDirection.TO_TARGETto follow relations from the source asset to their targets, orRelationDirection.TO_SOURCEto follow relations in the opposite direction.
-
-
Method Details
-
builder
-
getSourceAssetId
The ID of the asset whose relations are traversed. -
getRelationTypePublicId
The public ID of the relation type to traverse (e.g."ColumnIsPartOfTable"). -
getRelationDirection
The direction in which the relation is traversed. UseRelationDirection.TO_TARGETto follow relations from the source asset to their targets, orRelationDirection.TO_SOURCEto follow relations in the opposite direction. -
setSourceAssetId
The ID of the asset whose relations are traversed. -
setRelationTypePublicId
The public ID of the relation type to traverse (e.g."ColumnIsPartOfTable"). -
setRelationDirection
The direction in which the relation is traversed. UseRelationDirection.TO_TARGETto follow relations from the source asset to their targets, orRelationDirection.TO_SOURCEto follow relations in the opposite direction. -
toString
- Overrides:
toStringin classPagedRequest
-
equals
- Overrides:
equalsin classPagedRequest
-
canEqual
- Overrides:
canEqualin classPagedRequest
-
hashCode
public int hashCode()- Overrides:
hashCodein classPagedRequest
-