Uses of Interface
org.nuxeo.ecm.core.schema.types.constraints.Constraint
Package
Description
Implementation of schema xsd restrictions.
Primitive types implementationl; according to the XML Schemas specifications,
"primitive datatypes are those that are not defined in terms of other
datatypes; they exist ab initio."
-
Uses of Constraint in org.nuxeo.ecm.core.api.validation
ModifierConstructorDescriptionConstraintViolation
(Schema schema, List<ConstraintViolation.PathNode> fieldPath, Constraint constraint, Object invalidValue) -
Uses of Constraint in org.nuxeo.ecm.core.io.marshallers.json.validation
Modifier and TypeMethodDescriptionprotected void
ConstraintJsonWriter.writeEntityBody
(Constraint constraint, com.fasterxml.jackson.core.JsonGenerator jg) -
Uses of Constraint in org.nuxeo.ecm.core.schema.types
Modifier and TypeMethodDescriptionAbstractType.getConstraints()
Field.getConstraints()
FieldImpl.getConstraints()
PrimitiveType.getConstraints()
Type.getConstraints()
Modifier and TypeMethodDescriptionvoid
AbstractType.addConstraints
(Collection<Constraint> constraints) ComplexType.addField
(String name, Type type, String defaultValue, int flags, Collection<Constraint> constraints) Adds a field to this complex type.ComplexTypeImpl.addField
(String name, Type type, String defaultValue, int flags, Collection<Constraint> constraints) abstract boolean
PrimitiveType.support
(Class<? extends Constraint> constraint) ModifierConstructorDescriptionFieldImpl
(QName name, Type declaringType, Type type, String defaultValue, int flags, Collection<Constraint> constraints) ListTypeImpl
(String schema, String name, Type type, String fieldName, String defaultValue, int flags, Set<Constraint> constraints, int minOccurs, int maxOccurs) -
Uses of Constraint in org.nuxeo.ecm.core.schema.types.constraints
Modifier and TypeClassDescriptionclass
This constraint ensures some date representation is in an enumeration.class
This constraint ensures a date is in an interval.class
This constraint ensures some object's String representation is in an enumeration.class
This constraints checks whether an object's String representation size is in some interval.class
This constraint ensure some object is not null.class
This constraint ensures a numeric is in an interval.final class
External references are document field with a simple type whose value refers to an external business entity.class
This constraint ensures some object's String representation match a pattern.class
This constraint ensures some object's is supported by someType
.Modifier and TypeMethodDescriptionstatic <T extends Constraint>
TConstraintUtils.getConstraint
(Collection<Constraint> constraints, Class<T> constraintClass) Modifier and TypeMethodDescriptionstatic <T extends Constraint>
TConstraintUtils.getConstraint
(Collection<Constraint> constraints, Class<T> constraintClass) -
Uses of Constraint in org.nuxeo.ecm.core.schema.types.primitives
Modifier and TypeMethodDescriptionList<Class<? extends Constraint>>
BooleanType.getRelevantConstraints()
Modifier and TypeMethodDescriptionboolean
BinaryType.support
(Class<? extends Constraint> constraint) boolean
BooleanType.support
(Class<? extends Constraint> constraint) boolean
DateType.support
(Class<? extends Constraint> constraint) boolean
DoubleType.support
(Class<? extends Constraint> constraint) boolean
IntegerType.support
(Class<? extends Constraint> constraint) boolean
LongType.support
(Class<? extends Constraint> constraint) boolean
StringType.support
(Class<? extends Constraint> constraint)