Modifier and Type | Method and Description |
---|---|
Map<Class<PropertyConstraint>,PropertyConstraintValidator> |
ConstraintValidatorExtension.getPropertyConstraintValidators()
Returns a map with all registered
PropertyConstraintValidator . |
Modifier and Type | Method and Description |
---|---|
void |
PropertyConstraintValidator.validatePropertyConstraint(Object[] values,
PropertyConstraint constraint,
PropertyDefinition property,
InstanceValidationContext context)
Validate
values against constraint . |
Modifier and Type | Method and Description |
---|---|
void |
CardinalityValidator.validatePropertyConstraint(Object[] values,
PropertyConstraint constraint,
PropertyDefinition property,
InstanceValidationContext context) |
void |
UniqueValidator.validatePropertyConstraint(Object[] values,
PropertyConstraint constraint,
PropertyDefinition property,
InstanceValidationContext context) |
void |
NillableFlagValidator.validatePropertyConstraint(Object[] values,
PropertyConstraint constraint,
PropertyDefinition property,
InstanceValidationContext context) |
Modifier and Type | Class and Description |
---|---|
class |
DisplayName
Constraint that can provide a custom display name.
|
Modifier and Type | Class and Description |
---|---|
class |
Cardinality
Specifies the cardinality for a property, default is for a property to occur
exactly once.
|
class |
NillableFlag
Flags if a property is nillable, disabled by default
|
class |
Reference
Specifies that a property references another another type's
PrimaryKey . |
class |
Unique
Specifies that a property should be unique.
|
Modifier and Type | Method and Description |
---|---|
<T extends PropertyConstraint> |
AbstractPropertyDecorator.getConstraint(Class<T> constraintType) |
Modifier and Type | Method and Description |
---|---|
<T extends PropertyConstraint> |
ConstraintOverrideProperty.getConstraint(Class<T> constraintType) |
Constructor and Description |
---|
ConstraintOverrideProperty(PropertyDefinition property,
PropertyConstraint... constraints)
Create a decorator for the given property where the given constraints
override the constraints of the property.
|
Modifier and Type | Class and Description |
---|---|
class |
AutoIncrementFlag
Specifies whether a property is an auto increment property.
|
class |
DefaultValue
Specifies the default value for a property.
|
Modifier and Type | Class and Description |
---|---|
class |
XmlAttributeFlag
Flags if a property is represented by a XML attribute, disabled by default
|
class |
XmlIdUnique
Unique constraint for XS:ID types.
|
Modifier and Type | Method and Description |
---|---|
<T extends PropertyConstraint> |
XmlAttributeReferenceProperty.getConstraint(Class<T> constraintType) |
<T extends PropertyConstraint> |
SubstitutionProperty.getConstraint(Class<T> constraintType) |
Modifier and Type | Class and Description |
---|---|
class |
ElementName
Custom display name based on XML elements
|
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a