Class RestrictionImpl
java.lang.Object
org.apache.jackrabbit.oak.spi.security.authorization.restriction.RestrictionImpl
- All Implemented Interfaces:
Restriction
RestrictionImpl-
Constructor Summary
ConstructorsConstructorDescriptionRestrictionImpl(@NotNull org.apache.jackrabbit.oak.api.PropertyState property, boolean isMandatory) RestrictionImpl(@NotNull org.apache.jackrabbit.oak.api.PropertyState property, @NotNull RestrictionDefinition def) -
Method Summary
Modifier and TypeMethodDescriptionboolean@NotNull RestrictionDefinitionReturns the underlying restriction definition.@NotNull org.apache.jackrabbit.oak.api.PropertyStateThe OAK property state associated with this restriction.inthashCode()
-
Constructor Details
-
RestrictionImpl
public RestrictionImpl(@NotNull @NotNull org.apache.jackrabbit.oak.api.PropertyState property, @NotNull @NotNull RestrictionDefinition def) -
RestrictionImpl
public RestrictionImpl(@NotNull @NotNull org.apache.jackrabbit.oak.api.PropertyState property, boolean isMandatory)
-
-
Method Details
-
getDefinition
Description copied from interface:RestrictionReturns the underlying restriction definition.- Specified by:
getDefinitionin interfaceRestriction- Returns:
- the restriction definition that applies to this restriction.
-
getProperty
@NotNull public @NotNull org.apache.jackrabbit.oak.api.PropertyState getProperty()Description copied from interface:RestrictionThe OAK property state associated with this restriction.- Specified by:
getPropertyin interfaceRestriction- Returns:
- An
PropertyState.
-
hashCode
public int hashCode() -
equals
-