Record Class WorkDraftRef
java.lang.Object
java.lang.Record
org.exoplatform.processes.model.WorkDraftRef
- Record Components:
id- the draft idownerId- the identity id of the draft's ownerworkFlowId- the id of the draft's processtitle- the draft's titlecreatedDate- when the draft was createdmodifiedDate- when the draft was last saved
-
Constructor Summary
ConstructorsConstructorDescriptionWorkDraftRef(long id, long ownerId, long workFlowId, String title, Date createdDate, Date modifiedDate) Creates an instance of aWorkDraftRefrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecreatedDaterecord 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.Returns the value of themodifiedDaterecord component.longownerId()Returns the value of theownerIdrecord component.title()Returns the value of thetitlerecord component.final StringtoString()Returns a string representation of this record class.longReturns the value of theworkFlowIdrecord component.
-
Constructor Details
-
WorkDraftRef
public WorkDraftRef(long id, long ownerId, long workFlowId, String title, Date createdDate, Date modifiedDate) Creates an instance of aWorkDraftRefrecord class.- Parameters:
id- the value for theidrecord componentownerId- the value for theownerIdrecord componentworkFlowId- the value for theworkFlowIdrecord componenttitle- the value for thetitlerecord componentcreatedDate- the value for thecreatedDaterecord componentmodifiedDate- the value for themodifiedDaterecord 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
-
ownerId
-
workFlowId
public long workFlowId()Returns the value of theworkFlowIdrecord component.- Returns:
- the value of the
workFlowIdrecord component
-
title
-
createdDate
Returns the value of thecreatedDaterecord component.- Returns:
- the value of the
createdDaterecord component
-
modifiedDate
Returns the value of themodifiedDaterecord component.- Returns:
- the value of the
modifiedDaterecord component
-