public interface ClassInfoIF
Modifier and Type | Field and Description |
---|---|
static int |
STRUCTURE_COLLECTION
Flag indicating that the descriptor class has collection structure.
|
static int |
STRUCTURE_OBJECT
Flag indicating that the descriptor class has object structure.
|
static int |
TYPE_AGGREGATE
Flag indicating that the descriptor class is an aggregate.
|
static int |
TYPE_IDENTIFIABLE
Flag indicating that the descriptor class is identifiable.
|
Modifier and Type | Method and Description |
---|---|
Object |
createInstance(boolean immutable)
INTERNAL: Creates an instance of the descriptor class.
|
Class<?> |
getDescriptorClass()
INTERNAL: Return the descriptor class described by the
descriptor.
|
FieldInfoIF |
getFieldInfoByName(String name)
INTERNAL: Get the field info by name.
|
FieldInfoIF |
getIdentityFieldInfo()
INTERNAL: Get the identity field info.
|
FieldInfoIF[] |
getMany2ManyFieldInfos()
INTERNAL: Get the M:M field infos.
|
ObjectRelationalMappingIF |
getMapping()
INTERNAL: Returns the owning object relational mapping instance.
|
String |
getMasterTable()
INTERNAL: Returns the name of the master table in which the class
is stored.
|
String |
getName()
INTERNAL: Returns the name of the descriptor class (the mapped
class).
|
FieldInfoIF[] |
getOne2ManyFieldInfos()
INTERNAL: Get the 1:M field infos.
|
FieldInfoIF[] |
getOne2OneFieldInfos()
INTERNAL: Get the 1:1 field infos.
|
int |
getStructure()
INTERNAL: Returns the structure of the descriptor class.
|
FieldInfoIF[] |
getValueFieldInfos()
INTERNAL: Get the value field infos.
|
boolean |
isAbstract()
INTERNAL: Returns true if the descriptor class is declared as an
abstract descriptor.
|
boolean |
isAggregate()
INTERNAL: Returns true if the descriptor class is declared as an
aggregate type.
|
boolean |
isIdentifiable()
INTERNAL: Returns true if the descriptor class is declared as a
an identifiable type.
|
static final int TYPE_IDENTIFIABLE
static final int TYPE_AGGREGATE
static final int STRUCTURE_OBJECT
static final int STRUCTURE_COLLECTION
ObjectRelationalMappingIF getMapping()
String getName()
Class<?> getDescriptorClass()
Object createInstance(boolean immutable) throws Exception
Exception
FieldInfoIF getFieldInfoByName(String name)
FieldInfoIF getIdentityFieldInfo()
FieldInfoIF[] getValueFieldInfos()
FieldInfoIF[] getOne2OneFieldInfos()
FieldInfoIF[] getOne2ManyFieldInfos()
FieldInfoIF[] getMany2ManyFieldInfos()
boolean isAbstract()
boolean isIdentifiable()
boolean isAggregate()
int getStructure()
String getMasterTable()