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."
|
Modifier and Type | Method and Description |
---|---|
Constraint |
ConstraintViolation.getConstraint() |
Constructor and Description |
---|
ConstraintViolation(Schema schema,
List<ConstraintViolation.PathNode> fieldPath,
Constraint constraint,
Object invalidValue) |
Modifier and Type | Method and Description |
---|---|
protected void |
ConstraintJsonWriter.writeEntityBody(Constraint constraint,
org.codehaus.jackson.JsonGenerator jg) |
Modifier and Type | Field and Description |
---|---|
protected Set<Constraint> |
AbstractType.constraints |
Modifier and Type | Method and Description |
---|---|
Set<Constraint> |
Type.getConstraints() |
Set<Constraint> |
PrimitiveType.getConstraints() |
Set<Constraint> |
FieldImpl.getConstraints() |
Set<Constraint> |
Field.getConstraints() |
Set<Constraint> |
AbstractType.getConstraints() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractType.addConstraints(Collection<Constraint> constraints) |
Field |
ComplexTypeImpl.addField(String name,
Type type,
String defaultValue,
int flags,
Collection<Constraint> constraints) |
Field |
ComplexType.addField(String name,
Type type,
String defaultValue,
int flags,
Collection<Constraint> constraints)
Adds a field to this complex type.
|
abstract boolean |
PrimitiveType.support(Class<? extends Constraint> constraint) |
Constructor and 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) |
Modifier and Type | Class and 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 some
Type . |
Modifier and Type | Method and Description |
---|---|
static <T extends Constraint> |
ConstraintUtils.getConstraint(Collection<Constraint> constraints,
Class<T> constraintClass) |
Modifier and Type | Method and Description |
---|---|
static <T extends Constraint> |
ConstraintUtils.getConstraint(Collection<Constraint> constraints,
Class<T> constraintClass) |
Modifier and Type | Method and Description |
---|---|
List<Class<? extends Constraint>> |
BooleanType.getRelevantConstraints() |
Modifier and Type | Method and Description |
---|---|
boolean |
StringType.support(Class<? extends Constraint> constraint) |
boolean |
LongType.support(Class<? extends Constraint> constraint) |
boolean |
IntegerType.support(Class<? extends Constraint> constraint) |
boolean |
DoubleType.support(Class<? extends Constraint> constraint) |
boolean |
DateType.support(Class<? extends Constraint> constraint) |
boolean |
BooleanType.support(Class<? extends Constraint> constraint) |
boolean |
BinaryType.support(Class<? extends Constraint> constraint) |
Copyright © 2015 Nuxeo SA. All rights reserved.