Record Class EntityFolderTemplateService.EntityFolderTemplate
java.lang.Object
java.lang.Record
ch.tocco.nice2.dms.impl.entitydocs.template.EntityFolderTemplateService.EntityFolderTemplate
- Enclosing interface:
EntityFolderTemplateService
public static record EntityFolderTemplateService.EntityFolderTemplate(Entity entityFolderTemplate, FolderNode folderNode)
extends Record
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Function<EntityFolderTemplateService.EntityFolderTemplate, FolderNode> -
Constructor Summary
ConstructorsConstructorDescriptionEntityFolderTemplate(Entity entityFolderTemplate, FolderNode folderNode) Creates an instance of aEntityFolderTemplaterecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theentityFolderTemplaterecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefolderNoderecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
GET_FOLDER_NODE
public static final Function<EntityFolderTemplateService.EntityFolderTemplate, FolderNode> GET_FOLDER_NODE
-
-
Constructor Details
-
EntityFolderTemplate
Creates an instance of aEntityFolderTemplaterecord class.- Parameters:
entityFolderTemplate- the value for theentityFolderTemplaterecord componentfolderNode- the value for thefolderNoderecord 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). -
entityFolderTemplate
Returns the value of theentityFolderTemplaterecord component.- Returns:
- the value of the
entityFolderTemplaterecord component
-
folderNode
Returns the value of thefolderNoderecord component.- Returns:
- the value of the
folderNoderecord component
-