Modifier and Type | Method and Description |
---|---|
static Object |
MongoDBSerializationHelper.valueToBson(Object value,
Type type)
Cast an object according to its instance ans its type
|
Modifier and Type | Method and Description |
---|---|
protected 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.
|
Modifier and Type | Method and Description |
---|---|
Type |
Property.getType()
Get the type of the field corresponding to this property.
|
Modifier and Type | Method and Description |
---|---|
Type |
ScalarProperty.getType() |
Type |
RemovedProperty.getType() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
PropertiesMappingComponent.compatibleTypes(Type targetType,
Type sourceType) |
Modifier and Type | Method and Description |
---|---|
protected static Class |
AbstractDocumentModelWriter.getFieldClass(Type fieldType) |
protected String |
TypedExportedDocumentImpl.getSimpleTypeId(Type type)
Gets the simple type id.
|
Modifier and Type | Method and Description |
---|---|
protected static Object |
NuxeoPropertyData.convertToNuxeo(Object value,
Type type) |
Modifier and Type | Interface and Description |
---|---|
interface |
DocumentType
Document types are composite types made of several schemas.
|
Modifier and Type | Class and Description |
---|---|
class |
DocumentTypeImpl
Implementation of a document type.
|
Modifier and Type | Field and Description |
---|---|
protected Map<String,Type> |
SchemaManagerImpl.types
Basic type registry.
|
Modifier and Type | Method and Description |
---|---|
protected 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 |
XSDLoader.getType(String name) |
protected Type |
SchemaManagerImpl.getType(String name) |
protected Type |
XSDLoader.loadComplexType(Schema schema,
String name,
com.sun.xml.xsom.XSType type) |
protected Type |
XSDLoader.loadType(Schema schema,
com.sun.xml.xsom.XSType type,
String fieldName) |
protected Type |
XSDLoader.processModelGroup(Schema schema,
ComplexType superType,
String name,
ComplexType ct,
com.sun.xml.xsom.XSModelGroup mg,
boolean abstractType) |
Modifier and Type | Method and Description |
---|---|
protected Collection<Type> |
SchemaManagerImpl.getTypes() |
Modifier and Type | Method and Description |
---|---|
protected 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) |
Modifier and Type | Interface and Description |
---|---|
interface |
ComplexType
A complex type is tree-like structure of named elements which can be of any type.
|
interface |
CompositeType
A composite type is an aggregation of several schemas.
|
interface |
ListType
A list of typed objects.
|
interface |
Schema
A marker interface for schemas.
|
interface |
SimpleType
Simple Type.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractType
Abstract (common) implementation for a Type.
|
class |
AnyType
Type representing any type (for lists).
|
class |
ComplexTypeImpl
A Complex Type holds several fields.
|
class |
CompositeTypeImpl
A Composite Type resolves fields for several schemas.
|
class |
ListTypeImpl
The implementation for a List type.
|
class |
PrimitiveType
Primitive type (basic types like long, string, boolean, etc.).
|
class |
SchemaImpl
The implementation of a Schema
|
class |
SimpleTypeImpl
Implementation of a simple type that is not primitive (and therefore has constraints).
|
Modifier and Type | Field and Description |
---|---|
static Type[] |
AbstractType.EMPTY_SUPERTYPES |
protected Type |
AbstractType.superType |
protected Type |
ListTypeImpl.type |
Modifier and Type | Method and Description |
---|---|
Type |
FieldImpl.getDeclaringType() |
Type |
Field.getDeclaringType()
Gets the complex type or list type that declared this field.
|
Type |
ListTypeImpl.getFieldType() |
Type |
ListType.getFieldType()
Get the field describing the element type the list accept.
|
Type |
Type.getSuperType()
Gets the super type.
|
Type |
PrimitiveType.getSuperType() |
Type |
AnyType.getSuperType() |
Type |
AbstractType.getSuperType() |
Type |
ListTypeImpl.getType() |
Type |
FieldImpl.getType() |
Type |
Field.getType()
Gets the field type.
|
static Type |
JavaTypes.getType(Class<?> klass) |
Type |
SchemaImpl.getType(String typeName) |
Type |
Schema.getType(String typeName)
Gets a schema local type given its name.
|
Type[] |
Type.getTypeHierarchy()
Gets the entire hierarchy of super-types.
|
Type[] |
PrimitiveType.getTypeHierarchy() |
Type[] |
AnyType.getTypeHierarchy() |
Type[] |
AbstractType.getTypeHierarchy() |
Type[] |
SchemaImpl.getTypes() |
Type[] |
Schema.getTypes()
Gets the types declared by this schema.
|
Modifier and Type | Method and Description |
---|---|
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.
|
static void |
JavaTypes.bind(Type type,
Class<?> klass) |
static Class<?> |
JavaTypes.getClass(Type type) |
static Class<?> |
JavaTypes.getPrimitiveClass(Type type) |
boolean |
Type.isSuperTypeOf(Type type)
Tests whether the given type is derived from this type.
|
boolean |
AbstractType.isSuperTypeOf(Type type) |
void |
SchemaImpl.registerType(Type type) |
void |
Schema.registerType(Type type)
Registers a new type in that schema context.
|
Constructor and Description |
---|
AbstractType(Type superType,
String schema,
String name) |
FieldImpl(QName name,
Type declaringType,
Type type) |
FieldImpl(QName name,
Type declaringType,
Type type,
String defaultValue,
int flags) |
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) |
Modifier and Type | Method and Description |
---|---|
Type |
TypeConstraint.getType() |
Modifier and Type | Class and Description |
---|---|
class |
BinaryType
The binary type handles values of type InputStream.
|
class |
BooleanType
The Boolean type.
|
class |
DateType
The date (actually timestamp) type.
|
class |
DoubleType
The double type.
|
class |
IntegerType
The integer type.
|
class |
LongType
The long type.
|
class |
StringType
The string type.
|
Modifier and Type | Method and Description |
---|---|
protected Type |
FulltextConfiguration.getBaseType(Type type) |
Modifier and Type | Method and Description |
---|---|
protected Type |
FulltextConfiguration.getBaseType(Type type) |
protected abstract T |
BaseDocument.getChild(T state,
String name,
Type type)
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 |
FulltextConfiguration.PathsFinder.walkSimpleType(Type type,
String path,
String addPrefix) |
protected void |
FulltextConfiguration.PathsFinder.walkType(Type type,
String path,
String addPrefix) |
Modifier and Type | Field and Description |
---|---|
protected static Type |
DBSSession.STRING_ARRAY_TYPE |
Type |
DBSExpressionEvaluator.ValueInfo.type |
Modifier and Type | Method and Description |
---|---|
static Type |
DBSSession.getType(String name) |
Modifier and Type | Method and Description |
---|---|
protected State |
DBSDocument.getChild(State state,
String name,
Type type) |
protected State |
DBSDocument.getChildForWrite(State state,
String name,
Type type) |
protected DBSDocumentState |
DBSDocument.getStateOrTarget(Type type) |
Modifier and Type | Field and Description |
---|---|
protected Type |
MongoDBQueryBuilder.FieldInfo.type |
Constructor and Description |
---|
FieldInfo(String prop,
String queryField,
String projectionField,
Type type,
boolean isTrueOrNullBoolean) |
Modifier and Type | Field and Description |
---|---|
protected Type |
Model.idCoreType |
Modifier and Type | Method and Description |
---|---|
Type |
Model.getSpecialPropertyType(String propertyName) |
Modifier and Type | Method and Description |
---|---|
static ColumnType |
ColumnType.fromFieldType(Type type)
Gets the column type from a Nuxeo Schema field type (unconstrained).
|
static PropertyType |
PropertyType.fromFieldType(Type fieldType,
boolean array)
Converts a Nuxeo core schema field type into a property type.
|
static ColumnType |
ColumnType.fromFieldType(Type type,
boolean array)
Gets the column type from a Nuxeo Schema field type (unconstrained) with array
true if an array type is
required |
protected static ColumnType |
ColumnType.fromFieldType(Type type,
int maxLength) |
protected static ColumnType |
ColumnType.fromFieldType(Type type,
int maxLength,
boolean array) |
Modifier and Type | Field and Description |
---|---|
protected Type |
SQLDocumentLive.type |
Modifier and Type | Method and Description |
---|---|
protected Node |
SQLDocumentLive.getChild(Node node,
String name,
Type type) |
protected Node |
SQLDocumentLive.getChildForWrite(Node node,
String name,
Type type) |
Constructor and Description |
---|
EsResultSetImpl(org.elasticsearch.action.search.SearchResponse response,
Map<String,Type> selectFieldsAndTypes) |
EsSearchHitConverter(Map<String,Type> selectFieldsAndTypes) |
Modifier and Type | Method and Description |
---|---|
static Map<String,Type> |
NxqlQueryConverter.getSelectClauseFields(String nxql) |
Map<String,Type> |
NxQueryBuilder.getSelectFieldsAndTypes() |
Copyright © 2018 Nuxeo. All rights reserved.