|
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.type.Binding
@Immutable public class Binding
Specifies a Java binding for a type value, default binding is Object
.
The binding is usually only relevant when the HasValueFlag
is enabled
for a type.
HasValueFlag
Constructor Summary | |
---|---|
Binding()
Creates a default binding constraint with Object binding. |
Method Summary | |
---|---|
static Binding |
get(Class<?> binding)
Get the binding constraint with the given Java binding |
Class<?> |
getBinding()
Get the Java binding of the type |
boolean |
isInheritable()
Determines if the constraint is inheritable, meaning it may be used for a sub-type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Binding()
Object
binding.
Constraint
Method Detail |
---|
public static Binding get(Class<?> binding)
binding
- the type's Java binding
public Class<?> getBinding()
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 |