@Immutable public final class RestrictionFlag extends AbstractFlagConstraint implements TypeConstraint
Modifier and Type | Field and Description |
---|---|
static RestrictionFlag |
DISABLED
Disabled restriction flag
|
static RestrictionFlag |
ENABLED
Enabled restriction flag
|
Constructor and Description |
---|
RestrictionFlag()
Creates a default restriction flag, which is disabled.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isInheritable()
Determines if the constraint is inheritable, meaning it may be used for a
sub-type.
|
equals, hashCode, isEnabled
public static final RestrictionFlag ENABLED
public static final RestrictionFlag DISABLED
public RestrictionFlag()
ENABLED
or
DISABLED
.Constraint
public boolean isInheritable()
TypeConstraint
isInheritable
in interface TypeConstraint
TypeConstraint.isInheritable()
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a