public class UnionValidationConstraint extends ValidationConstraint
Constructor and Description |
---|
UnionValidationConstraint(Collection<? extends TypeDefinition> unionTypes)
Create a type union validation constraint.
|
Modifier and Type | Method and Description |
---|---|
Validator |
getValidator()
Returns the validator for this constraint.
|
isInheritable
public UnionValidationConstraint(Collection<? extends TypeDefinition> unionTypes)
unionTypes
- the definitions of the types contained in the unionpublic Validator getValidator()
ValidationConstraint
getValidator
in class ValidationConstraint
ValidationConstraint.getValidator()
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a