Package com.avoka.tm.vo.v1
Record Class Form
java.lang.Object
java.lang.Record
com.avoka.tm.vo.v1.Form
- Record Components:
formName
- form nameformCode
- form codecurrentVersion
- current versiondescription
- descriptionclientCode
- client code
public record Form(String formName, String formCode, String currentVersion, String description, String clientCode)
extends Record
Form Object Model
- Since:
- 24.10.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theclientCode
record component.Returns the value of thecurrentVersion
record component.Returns the value of thedescription
record component.final boolean
Indicates whether some other object is "equal to" this one.formCode()
Returns the value of theformCode
record component.formName()
Returns the value of theformName
record component.final int
hashCode()
Returns a hash code value for this object.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
Form
public Form(com.avoka.fc.core.entity.Form form) -
Form
public Form(String formName, String formCode, String currentVersion, String description, String clientCode) Creates an instance of aForm
record class.- Parameters:
formName
- the value for theformName
record componentformCode
- the value for theformCode
record componentcurrentVersion
- the value for thecurrentVersion
record componentdescription
- the value for thedescription
record componentclientCode
- the value for theclientCode
record component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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. All components in this record class are compared withObjects::equals(Object,Object)
. -
formName
Returns the value of theformName
record component.- Returns:
- the value of the
formName
record component
-
formCode
Returns the value of theformCode
record component.- Returns:
- the value of the
formCode
record component
-
currentVersion
Returns the value of thecurrentVersion
record component.- Returns:
- the value of the
currentVersion
record component
-
description
Returns the value of thedescription
record component.- Returns:
- the value of the
description
record component
-
clientCode
Returns the value of theclientCode
record component.- Returns:
- the value of the
clientCode
record component
-