Class AddRelationTypeRequest
- All Implemented Interfaces:
Serializable
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanRequired. The name of the role that the target plays.The description of the Relation Type.getId()The ID of the new Relation Type.The public id that will be assigned to the new Relation Type.getRole()Required. The name of the role that the source plays.Required. The ID of the source type for the new Relation Type.Required. The ID of the source type for the new Relation Type.inthashCode()voidRequired. The name of the role that the target plays.voidsetDescription(String description) The description of the Relation Type.voidThe ID of the new Relation Type.voidsetPublicId(String publicId) The public id that will be assigned to the new Relation Type.voidRequired. The name of the role that the source plays.voidsetSourceTypeId(UUID sourceTypeId) Required. The ID of the source type for the new Relation Type.voidsetTargetTypeId(UUID targetTypeId) Required. The ID of the source type for the new Relation Type.toString()
-
Constructor Details
-
AddRelationTypeRequest
public AddRelationTypeRequest()
-
-
Method Details
-
builder
-
getId
The ID of the new Relation Type. Should be unique within all Relation Types.It should have a format of universally unique identifier (UUID) and should not start with
00000000-0000-0000-which is a reserved prefix. -
getPublicId
The public id that will be assigned to the new 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". If no public id is provided, a valid public id will be generated.
-
getSourceTypeId
Required. The ID of the source type for the new Relation Type. -
getRole
Required. The name of the role that the source plays. -
getTargetTypeId
Required. The ID of the source type for the new Relation Type. -
getCoRole
Required. The name of the role that the target plays. -
getDescription
The description of the Relation Type. -
setId
The ID of the new Relation Type. Should be unique within all Relation Types.It should have a format of universally unique identifier (UUID) and should not start with
00000000-0000-0000-which is a reserved prefix. -
setPublicId
The public id that will be assigned to the new 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". If no public id is provided, a valid public id will be generated.
-
setSourceTypeId
Required. The ID of the source type for the new Relation Type. -
setRole
Required. The name of the role that the source plays. -
setTargetTypeId
Required. The ID of the source type for the new Relation Type. -
setCoRole
Required. The name of the role that the target plays. -
setDescription
The description of the Relation Type. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-