|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ccs.beetree.BeeObject ccs.cdb.CDBObject ccs.cdb.MKCDBObject
public abstract class MKCDBObject
Multipart-Key CDBObject. The key is composite and contains several fields in a well-defined order. This class parses and assembles the key. Note: all subclasses must be public, and all the key elements must be public, otherwise it won't work.
Field Summary | |
---|---|
protected java.lang.String[] |
keyfieldnames
Subclass constructors must define this array, which references those fields that form the key. |
Fields inherited from class ccs.cdb.CDBObject |
---|
clone, key, marshalVersion, owner |
Fields inherited from class ccs.beetree.BeeObject |
---|
cipher, encodedLength, isBodiless, isForceDirectDecrypt, isZip, slack |
Constructor Summary | |
---|---|
MKCDBObject()
|
Method Summary | |
---|---|
protected java.lang.String |
cpgetKey()
generates the key from the key fields. |
protected void |
cpsetKey(java.lang.String key)
parses the key fields from the composite key. |
Methods inherited from class ccs.cdb.CDBObject |
---|
canChangeKeyProgrammatically, canDeleteProgrammatically, canUpdateProgrammatically, cpgetMarshalledLength, cpmarshal, cppreMarshal, cppreUnmarshal, cpunmarshal, getCDB, getKey, getMarshalledLength, marshal, preMarshal, preUnmarshal, setCDB, setKey, transientMarshal, transientUnmarshal, unmarshal |
Methods inherited from class ccs.beetree.BeeObject |
---|
lock, unlock |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String[] keyfieldnames
Constructor Detail |
---|
public MKCDBObject()
Method Detail |
---|
protected final java.lang.String cpgetKey()
cpgetKey
in class CDBObject
protected final void cpsetKey(java.lang.String key)
cpsetKey
in class CDBObject
key
- The composite key.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |