Class AddDerivedRelationTypeRequest.Builder
Object
Builder
- Enclosing class:
AddDerivedRelationTypeRequest
-
Method Summary
Modifier and TypeMethodDescriptionbuild()The co-role of the Derived Relation Type.description(String description) The description of the Derived Relation Type.The id of the Derived Relation Type.intermediateNodes(List<@NotNull PathIntermediateNodeRequest> intermediateNodes) The intermediate nodes of the Derived Relation Type.The public id of the Derived Relation Type.The role of the Derived Relation Type.sourceNode(PathSourceNodeRequest sourceNode) The source node of the Derived Relation Type.sourceTypePublicId(String sourceTypePublicId) The public id of the source type of the Derived Relation Type.targetNode(PathTargetNodeRequest targetNode) The target node of the Derived Relation Type.targetTypePublicId(String targetTypePublicId) The public id of the target type of the Derived Relation Type.toString()
-
Method Details
-
id
The id of the Derived Relation Type. If not specified, a unique id will be generated.- Returns:
this.
-
publicId
The public id of the Derived Relation Type. If not specified, a unique public id will be generated.- Returns:
this.
-
description
The description of the Derived Relation Type.- Returns:
this.
-
sourceTypePublicId
The public id of the source type of the Derived Relation Type.- Returns:
this.
-
targetTypePublicId
The public id of the target type of the Derived Relation Type.- Returns:
this.
-
role
The role of the Derived Relation Type.- Returns:
this.
-
coRole
The co-role of the Derived Relation Type.- Returns:
this.
-
sourceNode
The source node of the Derived Relation Type.- Returns:
this.
-
targetNode
The target node of the Derived Relation Type.- Returns:
this.
-
intermediateNodes
public AddDerivedRelationTypeRequest.Builder intermediateNodes(List<@NotNull PathIntermediateNodeRequest> intermediateNodes) The intermediate nodes of the Derived Relation Type. This list must not be empty.- Returns:
this.
-
build
-
toString
-