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()
RestrictiongetDefinition in interface Restriction@NotNull public @NotNull PropertyState getProperty()
RestrictiongetProperty in interface RestrictionPropertyState.public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.ObjectCopyright © 2010 - 2023 Adobe. All Rights Reserved