Uses of Interface
org.nuxeo.ecm.core.schema.types.constraints.Constraint
-
Packages that use Constraint Package Description org.nuxeo.ecm.core.api.validation org.nuxeo.ecm.core.io.marshallers.json.validation org.nuxeo.ecm.core.schema.types org.nuxeo.ecm.core.schema.types.constraints Implementation of schema xsd restrictions.org.nuxeo.ecm.core.schema.types.primitives 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
Methods in org.nuxeo.ecm.core.api.validation that return Constraint Modifier and Type Method Description Constraint
ConstraintViolation. getConstraint()
Constructors in org.nuxeo.ecm.core.api.validation with parameters of type Constraint Constructor Description ConstraintViolation(Schema schema, List<ConstraintViolation.PathNode> fieldPath, Constraint constraint, Object invalidValue)
-
Uses of Constraint in org.nuxeo.ecm.core.io.marshallers.json.validation
Methods in org.nuxeo.ecm.core.io.marshallers.json.validation with parameters of type Constraint Modifier and Type Method Description protected void
ConstraintJsonWriter. writeEntityBody(Constraint constraint, com.fasterxml.jackson.core.JsonGenerator jg)
-
Uses of Constraint in org.nuxeo.ecm.core.schema.types
Fields in org.nuxeo.ecm.core.schema.types with type parameters of type Constraint Modifier and Type Field Description protected Set<Constraint>
AbstractType. constraints
Methods in org.nuxeo.ecm.core.schema.types that return types with arguments of type Constraint Modifier and Type Method Description Set<Constraint>
AbstractType. getConstraints()
Set<Constraint>
Field. getConstraints()
Set<Constraint>
FieldImpl. getConstraints()
Set<Constraint>
PrimitiveType. getConstraints()
Set<Constraint>
Type. getConstraints()
Method parameters in org.nuxeo.ecm.core.schema.types with type arguments of type Constraint Modifier and Type Method Description void
AbstractType. addConstraints(Collection<Constraint> constraints)
Field
ComplexType. addField(String name, Type type, String defaultValue, int flags, Collection<Constraint> constraints)
Adds a field to this complex type.Field
ComplexTypeImpl. addField(String name, Type type, String defaultValue, int flags, Collection<Constraint> constraints)
abstract boolean
PrimitiveType. support(Class<? extends Constraint> constraint)
Constructor parameters in org.nuxeo.ecm.core.schema.types with type arguments of type Constraint Constructor Description FieldImpl(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
Classes in org.nuxeo.ecm.core.schema.types.constraints that implement Constraint Modifier and Type Class Description class
AbstractConstraint
This constraint ensures some date representation is in an enumeration.class
DateIntervalConstraint
This constraint ensures a date is in an interval.class
EnumConstraint
This constraint ensures some object's String representation is in an enumeration.class
LengthConstraint
This constraints checks whether an object's String representation size is in some interval.class
NotNullConstraint
This constraint ensure some object is not null.class
NumericIntervalConstraint
This constraint ensures a numeric is in an interval.class
ObjectResolverConstraint
External references are document field with a simple type whose value refers to an external business entity.class
PatternConstraint
This constraint ensures some object's String representation match a pattern.class
TypeConstraint
This constraint ensures some object's is supported by someType
.Methods in org.nuxeo.ecm.core.schema.types.constraints with type parameters of type Constraint Modifier and Type Method Description static <T extends Constraint>
TConstraintUtils. getConstraint(Collection<Constraint> constraints, Class<T> constraintClass)
Method parameters in org.nuxeo.ecm.core.schema.types.constraints with type arguments of type Constraint Modifier and Type Method Description static <T extends Constraint>
TConstraintUtils. getConstraint(Collection<Constraint> constraints, Class<T> constraintClass)
-
Uses of Constraint in org.nuxeo.ecm.core.schema.types.primitives
Methods in org.nuxeo.ecm.core.schema.types.primitives that return types with arguments of type Constraint Modifier and Type Method Description List<Class<? extends Constraint>>
BooleanType. getRelevantConstraints()
Method parameters in org.nuxeo.ecm.core.schema.types.primitives with type arguments of type Constraint Modifier and Type Method Description boolean
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)
-