Class MutabilityContextState
java.lang.Object
com.broadleafcommerce.adminuser.resource.domain.MutabilityContextState
- All Implemented Interfaces:
Serializable
Can be added as a field to an entity for reporting whether or not it is mutable from the
request's context.
Analogous to ContextState
but for a much simpler use-case.
- Author:
- Samarth Dhruva (samarthd)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
int
hashCode()
boolean
Reports whether the owning entity is mutable from the request's context.void
setMutable
(boolean mutable) Reports whether the owning entity is mutable from the request's context.toString()
-
Constructor Details
-
MutabilityContextState
public MutabilityContextState()
-
-
Method Details
-
isMutable
public boolean isMutable()Reports whether the owning entity is mutable from the request's context. -
setMutable
public void setMutable(boolean mutable) Reports whether the owning entity is mutable from the request's context. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-