|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.esdihumboldt.hale.common.schema.model.constraint.AbstractFlagConstraint
eu.esdihumboldt.hale.common.schema.model.constraint.type.AugmentedValueFlag
@Immutable public class AugmentedValueFlag
Flags if an augmented value is present for a type, meaning a value that is
not defined through the schema, but associated additionally to an instance.
Disabled by default. Should never be enabled when HasValueFlag
is
enabled, meaning there is a value defined through the schema.
The Binding
constraint defines the Java binding for the value.
Binding
,
HasValueFlag
Field Summary | |
---|---|
static AugmentedValueFlag |
DISABLED
Disabled augmented value flag |
static AugmentedValueFlag |
ENABLED
Enabled augmented value flag |
Constructor Summary | |
---|---|
AugmentedValueFlag()
Creates a default augmented value flag, which is disabled. |
Method Summary | |
---|---|
static AugmentedValueFlag |
get(boolean augmentedValue)
Get the augmented value flag |
boolean |
isInheritable()
Determines if the constraint is inheritable, meaning it may be used for a sub-type. |
Methods inherited from class eu.esdihumboldt.hale.common.schema.model.constraint.AbstractFlagConstraint |
---|
isEnabled |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final AugmentedValueFlag ENABLED
public static final AugmentedValueFlag DISABLED
Constructor Detail |
---|
public AugmentedValueFlag()
ENABLED
or
DISABLED
.
Constraint
Method Detail |
---|
public static AugmentedValueFlag get(boolean augmentedValue)
augmentedValue
- if the flag shall be enabled
public boolean isInheritable()
TypeConstraint
isInheritable
in interface TypeConstraint
TypeConstraint.isInheritable()
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |