@Immutable public class Binding extends Object implements TypeConstraint
Object
.HasValueFlag
is enabled
for a type.HasValueFlag
Constructor and Description |
---|
Binding()
Creates a default binding constraint with
Object binding. |
Modifier and Type | Method and Description |
---|---|
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.
|
public Binding()
Object
binding.Constraint
public static Binding get(Class<?> binding)
binding
- the type's Java bindingpublic Class<?> getBinding()
public boolean isInheritable()
TypeConstraint
isInheritable
in interface TypeConstraint
TypeConstraint.isInheritable()
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a