Package | Description |
---|---|
org.modeshape.jcr | |
org.modeshape.jcr.cache | |
org.modeshape.jcr.query.validate |
This package provides the interfaces that define the tables and columns that can be queried.
|
org.modeshape.jcr.spi.index |
This package contains the interfaces for managing index providers and index definitions.
|
org.modeshape.jcr.value |
Nodes in a graph contain properties, and this package defines the interfaces, classes and exceptions for
representing and working with properties and their values.
|
org.modeshape.jcr.value.basic |
A set of basic implementations of the various interfaces defined in
org.modeshape.jcr.value . |
Modifier and Type | Method and Description |
---|---|
ValueFactory<?> |
ExecutionContext.ContextFactories.getValueFactory(PropertyType type) |
Modifier and Type | Method and Description |
---|---|
static PropertyType |
PropertyTypeUtil.modePropertyTypeFor(int jcrPropertyType)
Compute the ModeShape
PropertyType for the given JCR PropertyType value. |
Modifier and Type | Method and Description |
---|---|
static int |
PropertyTypeUtil.jcrPropertyTypeFor(PropertyType dnaPropertyType)
Compute the ModeShape
PropertyType for the given JCR PropertyType value. |
Modifier and Type | Field and Description |
---|---|
static PropertyType |
ImmutableColumn.DEFAULT_REQUIRED_TYPE |
Modifier and Type | Method and Description |
---|---|
PropertyType |
Schemata.Column.getRequiredType() |
PropertyType |
ImmutableColumn.getRequiredType() |
Modifier and Type | Method and Description |
---|---|
ImmutableSchemata.Builder |
ImmutableSchemata.Builder.addColumn(String tableName,
String columnName,
String type,
PropertyType requiredType,
boolean fullTextSearchable,
boolean orderable,
Object minimum,
Object maximum,
Set<Operator> operations)
Add a column with the supplied name and type to the named table.
|
Constructor and Description |
---|
ImmutableColumn(String name,
String type,
PropertyType requiredType) |
ImmutableColumn(String name,
String type,
PropertyType requiredType,
boolean fullTextSearchable) |
ImmutableColumn(String name,
String type,
PropertyType requiredType,
boolean fullTextSearchable,
boolean orderable,
boolean canContainReferences,
Object minimum,
Object maximum,
Operator... operators) |
ImmutableColumn(String name,
String type,
PropertyType requiredType,
boolean fullTextSearchable,
boolean orderable,
Object minimum,
Object maximum,
Set<Operator> operators) |
Modifier and Type | Method and Description |
---|---|
PropertyType |
IndexColumnDefinition.getColumnType()
Get the type of value for this index column applies.
|
Modifier and Type | Method and Description |
---|---|
IndexColumnDefinitionTemplate |
IndexColumnDefinitionTemplate.getColumnType(PropertyType type)
Set the type of value for this index column applies.
|
Modifier and Type | Field and Description |
---|---|
protected PropertyType |
ValueTypeSystem.Factory.type |
Modifier and Type | Method and Description |
---|---|
static PropertyType |
PropertyType.discoverType(Class<?> clazz)
Discover the most appropriate
PropertyType whose values can be assigned to variables or parameters of the supplied
type. |
static PropertyType |
PropertyType.discoverType(Object value) |
PropertyType |
ValueFactory.getPropertyType()
Get the
type of values created by this factory. |
PropertyType |
ValueFormatException.getTargetType()
Get the
PropertyType to which the value was being converted. |
static PropertyType |
PropertyType.valueFor(String typeNameInAnyCase) |
static PropertyType |
PropertyType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PropertyType[] |
PropertyType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static Iterator<PropertyType> |
PropertyType.iterator()
Return an iterator over all the property type enumeration literals.
|
Modifier and Type | Method and Description |
---|---|
Property |
PropertyFactory.create(Name name,
PropertyType desiredType,
Iterable<?> values)
Create a multi-valued property with the supplied name and values
|
Property |
PropertyFactory.create(Name name,
PropertyType desiredType,
Iterator<?> values)
Create a multi-valued property with the supplied name and values
|
Property |
PropertyFactory.create(Name name,
PropertyType desiredType,
Object firstValue)
Create a single-valued property with the supplied name and values
|
Property |
PropertyFactory.create(Name name,
PropertyType desiredType,
Object[] values)
Create a multi-valued property with the supplied name and values
|
ValueFactory<?> |
ValueFactories.getValueFactory(PropertyType type)
Get the value factory that creates values of the supplied
type . |
Constructor and Description |
---|
ValueFormatException(Object value,
PropertyType targetType,
String message) |
ValueFormatException(Object value,
PropertyType targetType,
String message,
Throwable cause) |
ValueFormatException(PropertyType targetType,
String message,
Throwable cause) |
Modifier and Type | Field and Description |
---|---|
protected PropertyType |
AbstractValueFactory.propertyType |
Modifier and Type | Method and Description |
---|---|
PropertyType |
AbstractValueFactory.getPropertyType() |
Modifier and Type | Method and Description |
---|---|
Property |
BasicPropertyFactory.create(Name name,
PropertyType desiredType,
Iterable<?> values) |
Property |
BasicPropertyFactory.create(Name name,
PropertyType desiredType,
Iterator<?> values) |
Property |
BasicPropertyFactory.create(Name name,
PropertyType desiredType,
Object firstValue) |
Property |
BasicPropertyFactory.create(Name name,
PropertyType desiredType,
Object[] values) |
ValueFactory<?> |
AbstractValueFactories.getValueFactory(PropertyType type) |
Constructor and Description |
---|
AbstractValueFactory(PropertyType type,
TextDecoder decoder,
ValueFactories valueFactories) |
NodeIdentifierReferenceFactory(PropertyType type,
TextDecoder decoder,
ValueFactories valueFactories,
boolean weak,
boolean simple,
NodeKey rootKey) |
ReferenceValueFactory(PropertyType type,
TextDecoder decoder,
ValueFactories valueFactories,
boolean weak,
boolean simple) |
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.