Uses of Interface
org.nuxeo.ecm.core.schema.types.Type
Package
Description
Schema API and implementation; a schema describes the names and types of some fields.
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."
Implementation of a Nuxeo repository over an SQL database.
-
Uses of Type in org.nuxeo.directory.mongodb
Modifier and TypeMethodDescriptionprotected Object
MongoDBSession.convertToType
(Object value, Type type) static Object
MongoDBSerializationHelper.valueToBson
(Object value, Type type) Cast an object according to its instance ans its type -
Uses of Type in org.nuxeo.ecm.automation.core.operations.document
Modifier and TypeMethodDescriptionprotected void
AbstractOperationMultiValuedProperty.checkFieldType
(Type type, Object value) Check if the given field type store a list of values and if the given value is compatible with the given type. -
Uses of Type in org.nuxeo.ecm.automation.core.util
Modifier and TypeMethodDescriptionprotected static void
DocumentHelper.setListProperty
(Type type, String behavior, boolean decodeStringListAsJSON, String value, Property p) -
Uses of Type in org.nuxeo.ecm.core.api.model
-
Uses of Type in org.nuxeo.ecm.core.api.model.impl
-
Uses of Type in org.nuxeo.ecm.core.api.propertiesmapping.impl
Modifier and TypeMethodDescriptionprotected boolean
PropertiesMappingComponent.compatibleTypes
(Type targetType, Type sourceType) -
Uses of Type in org.nuxeo.ecm.core.io.avro
Modifier and TypeMethodDescriptionorg.apache.avro.Schema
TypeSchemaFactory.createSchema
(Type input) -
Uses of Type in org.nuxeo.ecm.core.io.impl
Modifier and TypeMethodDescriptionprotected static Class<?>
AbstractDocumentModelWriter.getFieldClass
(Type fieldType) protected String
TypedExportedDocumentImpl.getSimpleTypeId
(Type type) Gets the simple type id. -
Uses of Type in org.nuxeo.ecm.core.io.marshallers.json.document
Modifier and TypeMethodDescriptionprotected void
DocumentPropertyJsonWriter.writeScalarPropertyValue
(com.fasterxml.jackson.core.JsonGenerator jg, Type type, Object value) -
Uses of Type in org.nuxeo.ecm.core.opencmis.impl.server
Modifier and TypeMethodDescriptionprotected static Object
NuxeoPropertyData.convertToNuxeo
(Object value, Type type) -
Uses of Type in org.nuxeo.ecm.core.schema
Modifier and TypeInterfaceDescriptioninterface
Document types are composite types made of several schemas.Modifier and TypeMethodDescriptionprotected Type
XSDLoader.createComplexType
(Schema schema, ComplexType superType, String name, com.sun.xml.xsom.XSContentType content, boolean abstractType) protected Type
XSDLoader.createFakeComplexType
(Schema schema, ComplexType superType, String name, com.sun.xml.xsom.XSModelGroup mg) protected Type
protected Type
protected Type
XSDLoader.loadComplexType
(Schema schema, String name, com.sun.xml.xsom.XSType type) protected Type
protected Type
XSDLoader.processModelGroup
(Schema schema, ComplexType superType, String name, ComplexType ct, com.sun.xml.xsom.XSModelGroup mg, boolean abstractType) Modifier and TypeMethodDescriptionprotected static Field
XSDLoader.createField
(ComplexType type, com.sun.xml.xsom.XSAttributeDecl element, Type fieldType, boolean isNillable) protected static Field
XSDLoader.createField
(ComplexType type, com.sun.xml.xsom.XSElementDecl element, Type fieldType) protected static ListType
XSDLoader.createListType
(Schema schema, String name, Type itemType, int min, int max) static boolean
TypeConstants.isContentType
(Type type) Returns true if given type is named "content", as it's a reserved type name for blobs.protected void
SchemaManagerImpl.registerType
(Type type) -
Uses of Type in org.nuxeo.ecm.core.schema.types
Modifier and TypeInterfaceDescriptioninterface
A complex type is tree-like structure of named elements which can be of any type.interface
A composite type is an aggregation of several schemas.interface
A list of typed objects.interface
A marker interface for schemas.interface
Simple Type.Modifier and TypeClassDescriptionclass
Abstract (common) implementation for a Type.final class
Type representing any type (for lists).class
A Complex Type holds several fields.class
A Composite Type resolves fields for several schemas.class
The implementation for a List type.class
Primitive type (basic types like long, string, boolean, etc.).class
The implementation of a Schemaclass
Implementation of a simple type that is not primitive (and therefore has constraints).Modifier and TypeFieldDescriptionstatic final Type[]
AbstractType.EMPTY_SUPERTYPES
protected final Type
AbstractType.superType
protected final Type
ListTypeImpl.type
Modifier and TypeMethodDescriptionField.getDeclaringType()
Gets the complex type or list type that declared this field.FieldImpl.getDeclaringType()
ListType.getFieldType()
Get the field describing the element type the list accept.ListTypeImpl.getFieldType()
AbstractType.getSuperType()
AnyType.getSuperType()
PrimitiveType.getSuperType()
Type.getSuperType()
Gets the super type.Field.getType()
Gets the field type.FieldImpl.getType()
static Type
ListTypeImpl.getType()
Gets a schema local type given its name.Type[]
AbstractType.getTypeHierarchy()
Type[]
AnyType.getTypeHierarchy()
Type[]
PrimitiveType.getTypeHierarchy()
Type[]
Type.getTypeHierarchy()
Gets the entire hierarchy of super-types.Type[]
Schema.getTypes()
Gets the types declared by this schema.Type[]
SchemaImpl.getTypes()
Modifier and TypeMethodDescriptionComplexType.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) static void
static Class<?>
static Class<?>
JavaTypes.getPrimitiveClass
(Type type) boolean
AbstractType.isSuperTypeOf
(Type type) boolean
Type.isSuperTypeOf
(Type type) Tests whether the given type is derived from this type.void
Schema.registerType
(Type type) Registers a new type in that schema context.void
SchemaImpl.registerType
(Type type) ModifierConstructorDescriptionprotected
AbstractType
(Type superType, String schema, String name) FieldImpl
(QName name, Type declaringType, Type type, String defaultValue, int flags, Collection<Constraint> constraints) ListTypeImpl
(String schema, String name, Type type) ListTypeImpl
(String schema, String name, Type type, String fieldName, String defaultValue, int minOccurs, int maxOccurs) ListTypeImpl
(String schema, String name, Type type, String fieldName, String defaultValue, int flags, Set<Constraint> constraints, int minOccurs, int maxOccurs) -
Uses of Type in org.nuxeo.ecm.core.schema.types.constraints
-
Uses of Type in org.nuxeo.ecm.core.schema.types.primitives
Modifier and TypeClassDescriptionfinal class
The binary type handles values of type InputStream.final class
The Boolean type.class
The date (actually timestamp) type.final class
The double type.final class
The integer type.final class
The long type.final class
The string type. -
Uses of Type in org.nuxeo.ecm.core.storage
Modifier and TypeMethodDescriptionprotected static Type
FulltextConfigurationFactory.getBaseType
(Type type) Modifier and TypeMethodDescriptionprotected static Type
FulltextConfigurationFactory.getBaseType
(Type type) protected abstract T
Gets a child state.protected abstract T
BaseDocument.getChildForWrite
(T state, String name, Type type) Gets a child state into which we will want to write data.protected static Object[]
BaseDocument.typedArray
(Type type, Object[] array) Copies the array with an appropriate class depending on the type.protected void
FulltextConfigurationFactory.PathsFinder.walkSimpleType
(Type type, String path, String addPrefix) protected void
-
Uses of Type in org.nuxeo.ecm.core.storage.dbs
Modifier and TypeFieldDescriptionprotected static final Type
DBSSession.STRING_ARRAY_TYPE
DBSExpressionEvaluator.ValueInfo.type
Modifier and TypeMethodDescriptionprotected State
protected State
DBSDocument.getChildForWrite
(State state, String name, Type type) protected DBSDocumentState
DBSDocument.getStateOrTarget
(Type type) -
Uses of Type in org.nuxeo.ecm.core.storage.mongodb
-
Uses of Type in org.nuxeo.ecm.core.storage.sql
Modifier and TypeMethodDescriptionstatic ColumnType
ColumnType.fromFieldType
(Type type) Gets the column type from a Nuxeo Schema field type (unconstrained).static ColumnType
ColumnType.fromFieldType
(Type type, boolean array) Gets the column type from a Nuxeo Schema field type (unconstrained) with arraytrue
if an array type is requiredprotected static ColumnType
ColumnType.fromFieldType
(Type type, int maxLength) protected static ColumnType
ColumnType.fromFieldType
(Type type, int maxLength, boolean array) static PropertyType
PropertyType.fromFieldType
(Type fieldType, boolean array) Converts a Nuxeo core schema field type into a property type. -
Uses of Type in org.nuxeo.ecm.core.storage.sql.coremodel
-
Uses of Type in org.nuxeo.ecm.platform.csv.export.io
Modifier and TypeMethodDescriptionstatic Directory
DocumentModelCSVHelper.getVocabulary
(Type type) static boolean
DocumentModelCSVHelper.isVocabulary
(Type type) Checks if given type is a vocabulary.protected void
DocumentPropertyCSVWriter.writeUnsupported
(Type type, org.apache.commons.csv.CSVPrinter printer) -
Uses of Type in org.nuxeo.elasticsearch.core
ModifierConstructorDescriptionEsResultSetImpl
(org.opensearch.action.search.SearchResponse response, Map<String, Type> selectFieldsAndTypes) EsSearchHitConverter
(Map<String, Type> selectFieldsAndTypes) -
Uses of Type in org.nuxeo.elasticsearch.query
Modifier and TypeMethodDescriptionNxqlQueryConverter.getSelectClauseFields
(String nxql) NxQueryBuilder.getSelectFieldsAndTypes()