Cumulus4j API
(1.2.0-SNAPSHOT)

org.cumulus4j.store.model
Class IndexEntryShort

java.lang.Object
  extended by org.cumulus4j.store.model.IndexEntry
      extended by org.cumulus4j.store.model.IndexEntryShort
All Implemented Interfaces:
StoreCallback

public class IndexEntryShort
extends IndexEntry

Persistent index information for fields of type short or Short.

This IndexEntry-subclass is used to index object-references, too. In this case, the values in indexKey are dataEntryIDs.

Author:
Marco หงุ่ยตระกูล-Schulze - marco at nightlabs dot de

Constructor Summary
IndexEntryShort()
           
 
Method Summary
 Short 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, getClassMeta, 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

IndexEntryShort

public IndexEntryShort()
Method Detail

getIndexKey

public Short getIndexKey()
Description copied from class: IndexEntry
Get the value which is indexed by this instance. It serves as 2nd part of the unique key together with the property fieldMeta.

Specified by:
getIndexKey in class IndexEntry
Returns:
the key.

setIndexKey

protected void setIndexKey(Object indexKey)
Specified by:
setIndexKey in class IndexEntry

Cumulus4j API
(1.2.0-SNAPSHOT)

Copyright © 2013 NightLabs Consulting GmbH. All Rights Reserved.