Record Class EntityTemplateConfirmationBuilder.CreatedEntityInformation
java.lang.Object
java.lang.Record
ch.tocco.nice2.dms.impl.entitydocs.template.EntityTemplateConfirmationBuilder.CreatedEntityInformation
- Enclosing class:
EntityTemplateConfirmationBuilder
public static record EntityTemplateConfirmationBuilder.CreatedEntityInformation(String key, String display, List<EntityTemplateConfirmationBuilder.EntityFolderTemplateInformation> availableFolders)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionCreatedEntityInformation(String key, String display, List<EntityTemplateConfirmationBuilder.EntityFolderTemplateInformation> availableFolders) Creates an instance of aCreatedEntityInformationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theavailableFoldersrecord component.display()Returns the value of thedisplayrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.key()Returns the value of thekeyrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CreatedEntityInformation
public CreatedEntityInformation(String key, String display, List<EntityTemplateConfirmationBuilder.EntityFolderTemplateInformation> availableFolders) Creates an instance of aCreatedEntityInformationrecord class.- Parameters:
key- the value for thekeyrecord componentdisplay- the value for thedisplayrecord componentavailableFolders- the value for theavailableFoldersrecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
key
Returns the value of thekeyrecord component.- Returns:
- the value of the
keyrecord component
-
display
Returns the value of thedisplayrecord component.- Returns:
- the value of the
displayrecord component
-
availableFolders
Returns the value of theavailableFoldersrecord component.- Returns:
- the value of the
availableFoldersrecord component
-