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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theclientCoderecord component.Returns the value of thecurrentVersionrecord component.Returns the value of thedescriptionrecord component.final booleanIndicates whether some other object is "equal to" this one.formCode()Returns the value of theformCoderecord component.formName()Returns the value of theformNamerecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()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 aFormrecord class.- Parameters:
formName- the value for theformNamerecord componentformCode- the value for theformCoderecord componentcurrentVersion- the value for thecurrentVersionrecord componentdescription- the value for thedescriptionrecord componentclientCode- the value for theclientCoderecord 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 theformNamerecord component.- Returns:
- the value of the
formNamerecord component
-
formCode
Returns the value of theformCoderecord component.- Returns:
- the value of the
formCoderecord component
-
currentVersion
Returns the value of thecurrentVersionrecord component.- Returns:
- the value of the
currentVersionrecord component
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
clientCode
Returns the value of theclientCoderecord component.- Returns:
- the value of the
clientCoderecord component
-