public class RestrictionImpl extends java.lang.Object implements Restriction
RestrictionImpl
Constructor and Description |
---|
RestrictionImpl(@NotNull PropertyState property,
boolean isMandatory) |
RestrictionImpl(@NotNull PropertyState property,
@NotNull RestrictionDefinition def) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
@NotNull RestrictionDefinition |
getDefinition()
Returns the underlying restriction definition.
|
@NotNull PropertyState |
getProperty()
The OAK property state associated with this restriction.
|
int |
hashCode() |
public RestrictionImpl(@NotNull @NotNull PropertyState property, @NotNull @NotNull RestrictionDefinition def)
public RestrictionImpl(@NotNull @NotNull PropertyState property, boolean isMandatory)
@NotNull public @NotNull RestrictionDefinition getDefinition()
Restriction
getDefinition
in interface Restriction
@NotNull public @NotNull PropertyState getProperty()
Restriction
getProperty
in interface Restriction
PropertyState
.public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
Copyright © 2010 - 2023 Adobe. All Rights Reserved