Class AddRelationRequest
- Object
-
- AddRelationRequest
-
- All Implemented Interfaces:
Serializable
public class AddRelationRequest extends Object implements Serializable
The properties of the relation to be added.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AddRelationRequest.Builder
-
Constructor Summary
Constructors Constructor Description AddRelationRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AddRelationRequest.Builder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
Long
getEndingDate()
The ending date of the relation.@NotNull UUID
getSourceId()
Required. The ID of the source of the relation.Long
getStartingDate()
The starting date of the relation.@NotNull UUID
getTargetId()
Required. The ID of the target of the relation.@NotNull UUID
getTypeId()
Required. The ID of the type of the relation.int
hashCode()
void
setEndingDate(Long endingDate)
The ending date of the relation.void
setSourceId(@NotNull UUID sourceId)
Required. The ID of the source of the relation.void
setStartingDate(Long startingDate)
The starting date of the relation.void
setTargetId(@NotNull UUID targetId)
Required. The ID of the target of the relation.void
setTypeId(@NotNull UUID typeId)
Required. The ID of the type of the relation.String
toString()
-
-
-
Method Detail
-
builder
public static AddRelationRequest.Builder builder()
-
getSourceId
@NotNull public @NotNull UUID getSourceId()
Required. The ID of the source of the relation.
-
getTargetId
@NotNull public @NotNull UUID getTargetId()
Required. The ID of the target of the relation.
-
getTypeId
@NotNull public @NotNull UUID getTypeId()
Required. The ID of the type of the relation.
-
getStartingDate
public Long getStartingDate()
The starting date of the relation.
-
getEndingDate
public Long getEndingDate()
The ending date of the relation.
-
setSourceId
public void setSourceId(@NotNull @NotNull UUID sourceId)
Required. The ID of the source of the relation.
-
setTargetId
public void setTargetId(@NotNull @NotNull UUID targetId)
Required. The ID of the target of the relation.
-
setTypeId
public void setTypeId(@NotNull @NotNull UUID typeId)
Required. The ID of the type of the relation.
-
setStartingDate
public void setStartingDate(Long startingDate)
The starting date of the relation.
-
setEndingDate
public void setEndingDate(Long endingDate)
The ending date of the relation.
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classObject
-
canEqual
protected boolean canEqual(Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classObject
-
toString
public String toString()
- Overrides:
toString
in classObject
-
-