Class ChangeRelationTypeRequest.Builder
Object
Builder
- Enclosing class:
ChangeRelationTypeRequest
-
Method Summary
Modifier and TypeMethodDescriptionbuild()but()Deprecated.This method will be removed in the future.The new name of the role that the target plays.description(String description) The new description of the Relation Type.Required. The ID of the Relation Type to be changed.The new public id for the Relation Type.The new name of the role that the source plays.sourceTypeId(UUID sourceTypeId) Deprecated.The new source type ID will be removed in the future.targetTypeId(UUID targetTypeId) Deprecated.The new target type ID will be removed in the future.toString()
-
Method Details
-
but
Deprecated.This method will be removed in the future. Please, useChangeRelationTypeRequest.builder().Clone method for this Builder. -
id
Required. The ID of the Relation Type to be changed.- Returns:
this.
-
publicId
The new public id for the Relation Type.It must be unique within all Relation Types. It should contain only ASCII letters and digits. It must start with an uppercase ASCII character. It must end with "_C".
WARNING : The public id should only be changed with extreme caution, since it can break existing customizations. The only valid use case is to change it after creation of the type, if no public id was specified, and the generated proposal is not acceptable.- Returns:
this.
-
sourceTypeId
Deprecated.The new source type ID will be removed in the future.The ID of the new source type for the Relation Type.- Returns:
this.
-
role
The new name of the role that the source plays.- Returns:
this.
-
targetTypeId
Deprecated.The new target type ID will be removed in the future.The ID of the new target type for the Relation Type.- Returns:
this.
-
coRole
The new name of the role that the target plays.- Returns:
this.
-
description
The new description of the Relation Type.- Returns:
this.
-
build
-
toString
-