Package | Description |
---|---|
net.ontopia.persistence.proxy |
An object-relational mapping framework.
|
net.ontopia.persistence.query.sql |
Object model for representing SQL queries.
|
net.ontopia.topicmaps.impl.rdbms |
Relational database implementation of the core topic map
interfaces.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractFieldInfo
INTERNAL: An abstract field info class containing the common
behaviour for FieldInfoIFs.
|
class |
AggregateFieldInfo
INTERNAL: A field that references an aggregate class.
|
class |
IdentityFieldInfo
INTERNAL: A field that represents the identity of instances of a
class.
|
class |
PrimitiveFieldInfo
INTERNAL: A field that references a primitive value class.
|
class |
ReferenceFieldInfo
INTERNAL: A field that references objects.
|
Modifier and Type | Field and Description |
---|---|
protected FieldInfoIF |
SQLManyToManyReference.field |
protected FieldInfoIF |
SQLOneToManyReference.field |
protected FieldInfoIF |
SQLOneToManyAggregate.field |
protected FieldInfoIF |
SQLOneToOne.field |
protected FieldInfoIF[] |
IdentityFieldInfo.fields |
protected FieldInfoIF[] |
AggregateFieldInfo.fields |
protected FieldInfoIF |
OnDemandValue.finfo |
protected FieldInfoIF |
SQLObjectAccess.identity_field |
protected FieldInfoIF |
SQLManyToManyReference.identity_field |
protected FieldInfoIF |
SQLOneToManyReference.identity_field |
protected FieldInfoIF |
SQLOneToManyAggregate.identity_field |
protected FieldInfoIF |
SQLCollectionAccess.identity_field |
protected FieldInfoIF |
ClassInfo.identity_field |
protected FieldInfoIF |
ReferenceFieldInfo.identity_field |
protected FieldInfoIF |
SQLOneToOne.identity_field |
protected FieldInfoIF[] |
SQLObjectAccess.m2m_fields |
protected FieldInfoIF[] |
ClassInfo.m2m_fields |
protected FieldInfoIF[] |
SQLObjectAccess.o2a_fields |
protected FieldInfoIF[] |
ClassInfo.o2m_fields |
protected FieldInfoIF[] |
SQLObjectAccess.o2o_fields |
protected FieldInfoIF[] |
ClassInfo.o2o_fields |
protected FieldInfoIF[] |
SQLManyToManyReference.select_fields |
protected FieldInfoIF[] |
SQLOneToManyReference.select_fields |
protected FieldInfoIF[] |
SQLOneToManyAggregate.select_fields |
protected FieldInfoIF[] |
SQLOneToOne.select_fields |
protected FieldInfoIF[] |
SQLOneToOne.select_fields_ref |
protected FieldInfoIF |
SQLManyToManyReference.value_field |
protected FieldInfoIF |
SQLOneToManyReference.value_field |
protected FieldInfoIF |
SQLCollectionAccess.value_field |
protected FieldInfoIF |
SQLOneToOne.value_field |
protected FieldInfoIF[] |
SQLObjectAccess.value_fields |
protected FieldInfoIF[] |
ClassInfo.value_fields |
Modifier and Type | Field and Description |
---|---|
protected Map<String,FieldInfoIF> |
ClassInfo.fields |
Modifier and Type | Method and Description |
---|---|
protected static FieldInfoIF[] |
ClassInfo.compileFieldInfos(ClassInfoIF cinfo,
FieldDescriptor[] fdescs)
INTERNAL: Wraps the field descriptors in the appropriate field
info implementations.
|
static FieldInfoIF[] |
FieldUtils.filterAggregate(FieldInfoIF[] finfos)
INTERNAL: Filters out all but the aggregate field infos.
|
static FieldInfoIF[] |
FieldUtils.filterByCardinality(FieldInfoIF[] finfos,
int cardinality)
INTERNAL: Filters the field infos by cardinality.
|
protected static FieldInfoIF |
ClassInfo.getFieldInfo(ClassInfoIF cinfo,
FieldDescriptor fdesc,
int index)
INTERNAL: Wraps the field descriptor in the appropriate field
info implementation.
|
FieldInfoIF |
ClassInfo.getFieldInfoByName(String name)
INTERNAL: Get the field info by name.
|
FieldInfoIF |
ClassInfoIF.getFieldInfoByName(String name)
INTERNAL: Get the field info by name.
|
FieldInfoIF[] |
IdentityFieldInfo.getFieldInfos()
INTERNAL: Returns the underlying FieldInfoIF instances.
|
FieldInfoIF[] |
IdentityFieldInfo.getFields()
INTERNAL: Returns the underlying FieldInfoIFs that the identity
field spans.
|
FieldInfoIF |
ClassInfo.getIdentityFieldInfo()
INTERNAL: Get the identity field infos.
|
FieldInfoIF |
ClassInfoIF.getIdentityFieldInfo()
INTERNAL: Get the identity field info.
|
FieldInfoIF[] |
ClassInfo.getMany2ManyFieldInfos()
INTERNAL: Get the M:M field infos.
|
FieldInfoIF[] |
ClassInfoIF.getMany2ManyFieldInfos()
INTERNAL: Get the M:M field infos.
|
FieldInfoIF[] |
ClassInfo.getOne2ManyFieldInfos()
INTERNAL: Get the 1:M field infos.
|
FieldInfoIF[] |
ClassInfoIF.getOne2ManyFieldInfos()
INTERNAL: Get the 1:M field infos.
|
FieldInfoIF[] |
ClassInfo.getOne2OneFieldInfos()
INTERNAL: Get the 1:1 field infos.
|
FieldInfoIF[] |
ClassInfoIF.getOne2OneFieldInfos()
INTERNAL: Get the 1:1 field infos.
|
FieldInfoIF[] |
ClassInfo.getValueFieldInfos()
INTERNAL: Get the value field infos.
|
FieldInfoIF[] |
ClassInfoIF.getValueFieldInfos()
INTERNAL: Get the value field infos.
|
static FieldInfoIF[] |
FieldUtils.joinFieldInfos(FieldInfoIF[] a,
FieldInfoIF[] b)
INTERNAL: Joins the two FieldInfoIF arrays by producing a new
composite string array.
|
static FieldInfoIF[] |
FieldUtils.toFieldInfoArray(Collection<FieldInfoIF> finfos)
INTERNAL: Utility method that converts a collection of field
infos to an array of field infos.
|
Modifier and Type | Method and Description |
---|---|
static void |
FieldUtils.addColumns(FieldInfoIF[] fields,
Collection<String> columns) |
static void |
FieldUtils.addColumns(FieldInfoIF field,
Collection<String> columns) |
static void |
SQLGenerator.bindMultipleParameters(Iterator<IdentityIF> identities,
FieldInfoIF finfo,
PreparedStatement stm,
int batchSize) |
static void |
SQLGenerator.bindMultipleParameters(Iterator<IdentityIF> identities,
FieldInfoIF finfo,
PreparedStatement stm,
int offset,
int batchSize) |
static FieldInfoIF[] |
FieldUtils.filterAggregate(FieldInfoIF[] finfos)
INTERNAL: Filters out all but the aggregate field infos.
|
static FieldInfoIF[] |
FieldUtils.filterByCardinality(FieldInfoIF[] finfos,
int cardinality)
INTERNAL: Filters the field infos by cardinality.
|
static int |
FieldUtils.getColumnCount(FieldInfoIF[] fields)
INTERNAL: Returns the number of columns that the fields span.
|
static String[] |
FieldUtils.getColumns(FieldInfoIF[] fields)
INTERNAL: Returns the names of the value columns that the fields
span.
|
static String |
SQLGenerator.getDeleteStatement(String table,
FieldInfoIF[] where_fields)
INTERNAL: Generates a SQL delete statement for the specified table
with a where clause referencing the given field infos.
|
static String |
SQLGenerator.getInsertStatement(String table,
FieldInfoIF[] value_fields)
INTERNAL: Generates a SQL insert statement for the specified
table with a value clause referencing the given field infos.
|
static String |
SQLGenerator.getSelectStatement(String table,
FieldInfoIF[] select_fields,
FieldInfoIF[] where_fields,
int multiple)
INTERNAL: Generates a SQL select statement for the specified
table with a select clause and a where clause referencing the
given field infos.
|
static String |
SQLGenerator.getSelectStatement(String table,
FieldInfoIF[] select_fields,
FieldInfoIF[] where_fields,
int multiple)
INTERNAL: Generates a SQL select statement for the specified
table with a select clause and a where clause referencing the
given field infos.
|
static String[] |
FieldUtils.getTables(FieldInfoIF[] fields)
INTERNAL: Returns an array containing the tables in which the
fields are stored.
|
static String |
SQLGenerator.getUpdateStatement(String table,
FieldInfoIF[] set_fields,
FieldInfoIF[] where_fields)
INTERNAL: Generates a SQL update statement for the specified
table with a set clause and a where clause referencing the given
field infos.
|
static String |
SQLGenerator.getUpdateStatement(String table,
FieldInfoIF[] set_fields,
FieldInfoIF[] where_fields)
INTERNAL: Generates a SQL update statement for the specified
table with a set clause and a where clause referencing the given
field infos.
|
Object |
ObjectAccessIF.getValue(Object object,
FieldInfoIF finfo)
INTERNAL: Returns the object field value.
|
Object |
PersistentObjectAccess.getValue(Object object,
FieldInfoIF finfo) |
static FieldInfoIF[] |
FieldUtils.joinFieldInfos(FieldInfoIF[] a,
FieldInfoIF[] b)
INTERNAL: Joins the two FieldInfoIF arrays by producing a new
composite string array.
|
static FieldInfoIF[] |
FieldUtils.joinFieldInfos(FieldInfoIF[] a,
FieldInfoIF[] b)
INTERNAL: Joins the two FieldInfoIF arrays by producing a new
composite string array.
|
Object |
AbstractRWPersistent.loadValue(FieldInfoIF finfo) |
Object |
PersistentIF.loadValue(FieldInfoIF finfo) |
Object |
AbstractROPersistent.loadValue(FieldInfoIF finfo) |
void |
OnDemandValue.setContext(IdentityIF identity,
FieldInfoIF finfo) |
Modifier and Type | Method and Description |
---|---|
static FieldInfoIF[] |
FieldUtils.toFieldInfoArray(Collection<FieldInfoIF> finfos)
INTERNAL: Utility method that converts a collection of field
infos to an array of field infos.
|
Constructor and Description |
---|
IdentityFieldInfo(ClassInfoIF parent_cinfo,
FieldInfoIF[] identity_fields) |
SQLBatchManyToManyReference(RDBMSAccess access,
FieldInfoIF field) |
SQLBatchOneToManyAggregate(RDBMSAccess access,
FieldInfoIF field) |
SQLBatchOneToManyReference(RDBMSAccess access,
FieldInfoIF field) |
SQLBatchOneToOne(RDBMSAccess access,
FieldInfoIF field) |
SQLManyToManyReference(RDBMSAccess access,
FieldInfoIF field) |
SQLOneToManyAggregate(RDBMSAccess access,
FieldInfoIF field) |
SQLOneToManyReference(RDBMSAccess access,
FieldInfoIF field) |
SQLOneToOne(RDBMSAccess access,
FieldInfoIF field) |
Modifier and Type | Method and Description |
---|---|
protected FieldInfoIF |
SQLBuilder.getFieldInfo(JDOCollection coll,
net.ontopia.persistence.query.sql.SQLBuilder.BuildInfo info) |
protected FieldInfoIF |
SQLBuilder.getFieldInfo(JDOField field,
net.ontopia.persistence.query.sql.SQLBuilder.BuildInfo info) |
protected FieldInfoIF |
SQLBuilder.getFieldInfo(JDOObject object,
net.ontopia.persistence.query.sql.SQLBuilder.BuildInfo info) |
protected FieldInfoIF |
SQLBuilder.getFieldInfo(JDOParameter param,
net.ontopia.persistence.query.sql.SQLBuilder.BuildInfo info) |
protected FieldInfoIF |
SQLBuilder.getFieldInfo(JDOValueIF jdovalue,
net.ontopia.persistence.query.sql.SQLBuilder.BuildInfo info) |
protected FieldInfoIF |
SQLBuilder.getFieldInfo(JDOVariable var,
net.ontopia.persistence.query.sql.SQLBuilder.BuildInfo info) |
Modifier and Type | Method and Description |
---|---|
protected String[] |
SQLBuilder.getInlineColumns(FieldInfoIF finfo) |
protected String[] |
SQLBuilder.getKeyColumns(FieldInfoIF finfo) |
Modifier and Type | Field and Description |
---|---|
protected FieldInfoIF |
RoleTypeAssocTypeCache.AssociationIF_idfield |
protected FieldInfoIF |
RoleTypeAssocTypeCache.AssociationRoleIF_idfield |
protected FieldInfoIF |
RoleTypeAssocTypeCache.TopicIF_idfield |
protected FieldInfoIF |
RoleTypeAssocTypeCache.TopicMapIF_idfield |
Modifier and Type | Method and Description |
---|---|
protected int |
RoleTypeAssocTypeCache.bind(FieldInfoIF finfo,
Object value,
PreparedStatement stm,
int offset) |