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
ConstructorDescriptionOverrideAdminCreateContribution
(String entityModel, boolean useAdminCreate) Deprecated.Creates an instance of aOverrideAdminCreateContribution
record class. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Returns the value of theentityModel
record component.final boolean
Deprecated.Indicates whether some other object is "equal to" this one.final int
hashCode()
Deprecated.Returns a hash code value for this object.final String
toString()
Deprecated.Returns a string representation of this record class.boolean
Deprecated.Returns the value of theuseAdminCreate
record component.
-
Constructor Details
-
OverrideAdminCreateContribution
Deprecated.Creates an instance of aOverrideAdminCreateContribution
record class.- Parameters:
entityModel
- the value for theentityModel
record componentuseAdminCreate
- the value for theuseAdminCreate
record component
-
-
Method Details
-
toString
Deprecated.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()Deprecated.Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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 '=='. -
entityModel
Deprecated.Returns the value of theentityModel
record component.- Returns:
- the value of the
entityModel
record component
-
useAdminCreate
public boolean useAdminCreate()Deprecated.Returns the value of theuseAdminCreate
record component.- Returns:
- the value of the
useAdminCreate
record component
-