public class RestrictionImpl extends Object implements Restriction
RestrictionImpl| Constructor and Description |
|---|
RestrictionImpl(org.apache.jackrabbit.oak.api.PropertyState property,
boolean isMandatory) |
RestrictionImpl(org.apache.jackrabbit.oak.api.PropertyState property,
RestrictionDefinition def) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
RestrictionDefinition |
getDefinition()
Returns the underlying restriction definition.
|
org.apache.jackrabbit.oak.api.PropertyState |
getProperty()
The OAK property state associated with this restriction.
|
int |
hashCode() |
public RestrictionImpl(@Nonnull org.apache.jackrabbit.oak.api.PropertyState property, @Nonnull RestrictionDefinition def)
public RestrictionImpl(@Nonnull org.apache.jackrabbit.oak.api.PropertyState property, boolean isMandatory)
@Nonnull public RestrictionDefinition getDefinition()
RestrictiongetDefinition in interface Restriction@Nonnull public org.apache.jackrabbit.oak.api.PropertyState getProperty()
RestrictiongetProperty in interface RestrictionPropertyState.Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.