Record Class OverrideAdminCreateContribution
java.lang.Object
java.lang.Record
ch.tocco.nice2.netui.api.actions.entityoperation.OverrideAdminCreateContribution
@Deprecated
public record OverrideAdminCreateContribution(String entityModel, boolean useAdminCreate)
extends Record
Deprecated.
if this contribution is used the admin-create-action property of the entity model is ignored for the old client
-
Constructor Summary
ConstructorsConstructorDescriptionOverrideAdminCreateContribution(String entityModel, boolean useAdminCreate) Deprecated.Creates an instance of aOverrideAdminCreateContributionrecord class. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Returns the value of theentityModelrecord component.final booleanDeprecated.Indicates whether some other object is "equal to" this one.final inthashCode()Deprecated.Returns a hash code value for this object.final StringtoString()Deprecated.Returns a string representation of this record class.booleanDeprecated.Returns the value of theuseAdminCreaterecord component.
-
Constructor Details
-
OverrideAdminCreateContribution
Deprecated.Creates an instance of aOverrideAdminCreateContributionrecord class.- Parameters:
entityModel- the value for theentityModelrecord componentuseAdminCreate- the value for theuseAdminCreaterecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Deprecated.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. -
entityModel
Deprecated.Returns the value of theentityModelrecord component.- Returns:
- the value of the
entityModelrecord component
-
useAdminCreate
public boolean useAdminCreate()Deprecated.Returns the value of theuseAdminCreaterecord component.- Returns:
- the value of the
useAdminCreaterecord component
-