Package | Description |
---|---|
net.ontopia.persistence.proxy |
An object-relational mapping framework.
|
Modifier and Type | Field and Description |
---|---|
protected FieldDescriptor |
AbstractFieldInfo.field |
Modifier and Type | Field and Description |
---|---|
protected Map<String,FieldDescriptor> |
ClassDescriptor.fdescs |
protected List<FieldDescriptor> |
ClassDescriptor.fdescs_list |
Modifier and Type | Method and Description |
---|---|
static FieldDescriptor[] |
FieldUtils.filterByCardinality(FieldDescriptor[] fdescs,
int cardinality)
INTERNAL: Filters the field descriptors by cardinality.
|
static FieldDescriptor[] |
FieldUtils.filterByTable(FieldDescriptor[] fdescs,
String table)
INTERNAL: Returns the field descriptors that are stored in the
specified table.
|
FieldDescriptor[] |
ClassDescriptor.getAggregateFields()
INTERNAL: Returns an array containing the fields that are
aggregate objects.
|
FieldDescriptor |
AbstractFieldInfo.getDescriptor()
INTERNAL: Returns the underlying FieldDescriptor instance if one
exists.
|
FieldDescriptor |
ClassDescriptor.getFieldByName(String field_name)
INTERNAL: Gets the field descriptor representing the field with
the given name.
|
FieldDescriptor[] |
ClassDescriptor.getFieldDescriptors()
INTERNAL: Returns all the field descriptors of this class
descriptor.
|
FieldDescriptor[] |
ClassDescriptor.getIdentityFields()
INTERNAL: Returns an array containing the fields that are
identity fields.
|
FieldDescriptor[] |
ClassDescriptor.getPrimitiveFields()
INTERNAL: Returns an array containing the fields that are of
primitive types.
|
FieldDescriptor[] |
ClassDescriptor.getReferenceFields()
INTERNAL: Returns an array containing the fields that references
other mapped objects.
|
FieldDescriptor[] |
ClassDescriptor.getValueFields()
INTERNAL: Returns an array containing the fields that are value
fields, i.e.
|
static FieldDescriptor[] |
FieldUtils.toFieldDescriptorArray(Collection<FieldDescriptor> fdescs)
INTERNAL: Utility method that converts a collection of field
descriptors to an array of field descriptors.
|
Modifier and Type | Method and Description |
---|---|
protected Map<String,FieldDescriptor> |
ClassDescriptor.getFieldDescriptorMap() |
Modifier and Type | Method and Description |
---|---|
void |
ClassDescriptor.addField(FieldDescriptor fdesc)
INTERNAL: Adds the field descriptor to the class descriptor.
|
protected static FieldInfoIF[] |
ClassInfo.compileFieldInfos(ClassInfoIF cinfo,
FieldDescriptor[] fdescs)
INTERNAL: Wraps the field descriptors in the appropriate field
info implementations.
|
static FieldDescriptor[] |
FieldUtils.filterByCardinality(FieldDescriptor[] fdescs,
int cardinality)
INTERNAL: Filters the field descriptors by cardinality.
|
static FieldDescriptor[] |
FieldUtils.filterByTable(FieldDescriptor[] fdescs,
String table)
INTERNAL: Returns the field descriptors that are stored in the
specified table.
|
protected static FieldInfoIF |
ClassInfo.getFieldInfo(ClassInfoIF cinfo,
FieldDescriptor fdesc,
int index)
INTERNAL: Wraps the field descriptor in the appropriate field
info implementation.
|
static String[] |
FieldUtils.getFieldNames(FieldDescriptor[] fields)
INTERNAL: Utility method that extracts the field names of an
array of field descriptors.
|
static Method |
FieldUtils.getGetterMethod(FieldDescriptor fdesc)
INTERNAL: Returns the getter methods for the given field
descriptor.
|
static Method |
FieldUtils.getSetterMethod(FieldDescriptor fdesc)
INTERNAL: Returns the setter methods for the given field
descriptor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ClassDescriptor.populateExtendsMap(Map<String,FieldDescriptor> _fdescs) |
static FieldDescriptor[] |
FieldUtils.toFieldDescriptorArray(Collection<FieldDescriptor> fdescs)
INTERNAL: Utility method that converts a collection of field
descriptors to an array of field descriptors.
|
Constructor and Description |
---|
AggregateFieldInfo(ClassInfoIF parent_cinfo,
FieldDescriptor field,
int index) |
ReferenceFieldInfo(ClassInfoIF parent_cinfo,
FieldDescriptor field,
int index) |