Package | Description |
---|---|
org.nuxeo.ecm.core.api.model | |
org.nuxeo.ecm.core.api.model.impl | |
org.nuxeo.ecm.core.model | |
org.nuxeo.ecm.core.schema |
Schema API and implementation; a schema describes the names and types of some fields.
|
org.nuxeo.ecm.core.schema.types | |
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."
|
org.nuxeo.ecm.core.storage.sql |
Implementation of a Nuxeo repository over an SQL database.
|
org.nuxeo.ecm.core.storage.sql.coremodel |
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() |
Modifier and Type | Method and Description |
---|---|
Type |
Property.getType()
Gets the property 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 | Method and Description |
---|---|
static boolean |
TypeConstants.isContentType(Type type)
Returns true if given type is named "content", as it's a reserved type
name for blobs.
|
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 |
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) |
Field |
ComplexType.addField(String name,
Type type,
String defaultValue,
int flags)
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 |
---|
FieldImpl(QName name,
Type declaringType,
Type type) |
FieldImpl(QName name,
Type declaringType,
Type type,
String defaultValue,
int flags) |
ListTypeImpl(String schema,
String name,
Type type) |
ListTypeImpl(String schema,
String name,
Type type,
String fieldName,
String defaultValue,
int minOccurs,
int maxOccurs) |
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 |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
Type |
SQLBaseProperty.getType() |
Constructor and Description |
---|
SQLBaseProperty(Type type,
String name,
boolean readonly) |
SQLSimpleProperty(SimpleProperty property,
Type type,
boolean readonly)
Creates a
SQLSimpleProperty to wrap a SimpleProperty . |
Copyright © 2014 Nuxeo SA. All Rights Reserved.