Record Class ProcessModel
java.lang.Object
java.lang.Record
org.exoplatform.processes.mcp.model.ProcessModel
-
Constructor Summary
ConstructorsConstructorDescriptionProcessModel(long id, String title, String description, String summary, boolean enabled, long projectId, String spaceId, boolean canManageRequests) Creates an instance of aProcessModelrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of thecanManageRequestsrecord component.Returns the value of thedescriptionrecord component.booleanenabled()Returns the value of theenabledrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.longid()Returns the value of theidrecord component.longReturns the value of theprojectIdrecord component.spaceId()Returns the value of thespaceIdrecord component.summary()Returns the value of thesummaryrecord component.title()Returns the value of thetitlerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ProcessModel
public ProcessModel(long id, String title, String description, String summary, boolean enabled, long projectId, String spaceId, boolean canManageRequests) Creates an instance of aProcessModelrecord class.- Parameters:
id- the value for theidrecord componenttitle- the value for thetitlerecord componentdescription- the value for thedescriptionrecord componentsummary- the value for thesummaryrecord componentenabled- the value for theenabledrecord componentprojectId- the value for theprojectIdrecord componentspaceId- the value for thespaceIdrecord componentcanManageRequests- the value for thecanManageRequestsrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
id
public long id()Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
title
Returns the value of thetitlerecord component.- Returns:
- the value of the
titlerecord component
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
summary
Returns the value of thesummaryrecord component.- Returns:
- the value of the
summaryrecord component
-
enabled
public boolean enabled()Returns the value of theenabledrecord component.- Returns:
- the value of the
enabledrecord component
-
projectId
public long projectId()Returns the value of theprojectIdrecord component.- Returns:
- the value of the
projectIdrecord component
-
spaceId
Returns the value of thespaceIdrecord component.- Returns:
- the value of the
spaceIdrecord component
-
canManageRequests
public boolean canManageRequests()Returns the value of thecanManageRequestsrecord component.- Returns:
- the value of the
canManageRequestsrecord component
-