|
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.MappableFlag
@Immutable public class MappableFlag
Flags if a type is mappable, i.e. that it is a valid source or target for a retype. Disabled by default.
Field Summary | |
---|---|
static MappableFlag |
DISABLED
Disabled mappable flag |
static MappableFlag |
ENABLED
Enabled mappable flag |
Constructor Summary | |
---|---|
MappableFlag()
Creates a default mappable flag, which is disabled. |
Method Summary | |
---|---|
static MappableFlag |
get(boolean isMappable)
Get the mappable 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 MappableFlag ENABLED
public static final MappableFlag DISABLED
Constructor Detail |
---|
public MappableFlag()
get(boolean)
, ENABLED
or
DISABLED
.
Constraint
Method Detail |
---|
public static MappableFlag get(boolean isMappable)
isMappable
- 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 |