|
Cumulus4j API (1.2.0-SNAPSHOT) |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.cumulus4j.store.model.IndexEntry org.cumulus4j.store.model.IndexEntryContainerSize
public class IndexEntryContainerSize
Persistent index information for the size of fields of type Collection
/Map
.
Constructor Summary | |
---|---|
IndexEntryContainerSize()
|
Method Summary | |
---|---|
ClassMeta |
getClassMeta()
Get the ClassMeta of the concrete type of the instance containing the field. |
Long |
getIndexKey()
Get the value which is indexed by this instance. |
protected void |
setIndexKey(Object indexKey)
|
Methods inherited from class org.cumulus4j.store.model.IndexEntry |
---|
equals, getFieldMeta, getIndexEntryID, getIndexValue, getKeyID, getKeyStoreRefID, getPersistenceManager, hashCode, jdoPreStore, setClassMeta, setFieldMeta, setIndexValue, setKeyID, setKeyStoreRefID |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IndexEntryContainerSize()
Method Detail |
---|
public Long getIndexKey()
IndexEntry
fieldMeta
.
getIndexKey
in class IndexEntry
protected void setIndexKey(Object indexKey)
setIndexKey
in class IndexEntry
public ClassMeta getClassMeta()
ClassMeta
of the concrete type of the instance containing the field.
If a field is declared in a super-class, all sub-classes have it, too. But when querying instances of a sub-class (either as candidate-class or in a relation (as concrete type of the field/property), only this given sub-class and its sub-classes should be found.
The ClassMeta
here is either the same as fieldMeta.classMeta
(if it is an instance of the class declaring the field) or a ClassMeta
of a sub-class of
fieldMeta.classMeta
.
The IndexEntryContainerSize
always uses the FieldMeta.classMeta
as classMeta
.
getClassMeta
in class IndexEntry
ClassMeta
of the concrete type of the instance containing the field.
|
Cumulus4j API (1.2.0-SNAPSHOT) |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |