| java.lang.Object com.versant.core.common.State com.versant.core.common.GenericState
All known Subclasses: com.versant.core.jdbc.JdbcGenericState,
GenericState | public class GenericState extends State (Code) | | This is a State implementation suitable for use with any PC class. It is
intended for use during development when the State class generating code is
broken. The meta data OID factory method can just return these for all
PC classes. Performance is not important for this class as it will not
be used in a production release.
|
Field Summary | |
public static boolean | RUNNING_JDBC_TESTS The JDBC tests set this flag to disable the checkFilled calls on
getString etc. | protected int | classIndex The index of the persistant class. | protected transient ClassMetaData | cmd | protected Object[] | data This holds the data for all of the persistent fields and any extra
data required for a particular store. | protected boolean | dirty A global indication if this state has any dirty fields. | protected transient boolean[] | dirtyFields Keeps track of dirty fields. | protected boolean[] | filled Each field or extra store value that has a valid entry in data has a
flag set here. | protected transient boolean[] | resolvedForClient Keeps tracks of which fields have been resolved for client side usage. |
Method Summary | |
public void | addOneToManyInverseFieldsForL2Evict(VersantPersistenceManagerImp pm) Add the values of any non-null reference fields used as back or inverse
fields for unmanaged one-to-many collections for eviction from the L2
cache on commit. | public void | addRefs(VersantPersistenceManagerImp pm, PCStateMan pcStateMan) | final protected void | checkCmd() | public boolean | checkKeyFields(OID oid) | public void | clear() | public void | clearApplicationIdentityFields() Clear any application identity fields from this State. | public void | clearCollectionFields() | public void | clearDirtyFields() Mark all dirty fields as clean and not filled and not resolved. | public void | clearFilledFlags() | public void | clearNonAutoSetFields() | public void | clearNonFilled(State state) | public void | clearSCOFields() | final public void | clearTransactionNonPersistentFields() | public int | compareToPass1(State state) Return 0 if state has the same field numbers as us, less than 0 we are
less than it or greater than 0 if we are greater than it. | public boolean | containFields(int[] stateFieldNos) | public boolean | containFieldsAbs(int[] absFieldNos) | public boolean | containsApplicationIdentityFields() Does this State contain all of the application identity fields for
its class? This returns false if the class does not use application
identity. | public boolean | containsFetchGroup(FetchGroup fetchGroup) | public boolean | containsField(int stateFieldNo) | public boolean | containsFieldAbs(int absFieldNo) | public boolean | containsPass1Fields() | public boolean | containsPass2Fields() | public boolean | containsValidAppIdFields() | public void | copyFields(OID oid) Populate the primary key fields from the OID. | public void | copyFieldsForOptimisticLocking(State state, VersantPersistenceManagerImp sm) This is to copy the fields that is filled in on the supplied state to the
current state. | public void | copyKeyFields(OID oid) Populate the OID from this state. | public void | copyKeyFieldsUpdate(OID oid) Populate the OID from this state. | public void | copyOptimisticLockingField(State state) This copies all the fakeFields from one the supplied state. | public boolean | equals(Object obj) | public void | fillForRead(State dest, VersantPersistenceManagerImp pm) | public boolean | fillToStoreState(State stateToStore, PersistenceContext pm, VersantStateManager sm) This return a deep clone of this state instance with only fields that
must be sent to the server to persist changes to this instance filled
in. | public void | findDirectEdges(OIDGraph graph, IntArray edges) Add the graph indexes of all OIDs that we have direct references to
(e.g. | public boolean | getBooleanField(int stateFieldNo) | public boolean | getBooleanFieldAbs(int field) | public byte | getByteField(int stateFieldNo) | public byte | getByteFieldAbs(int field) | public char | getCharField(int stateFieldNo) | public char | getCharFieldAbs(int field) | public int | getClassIndex() Return the index of our PC class in the meta data. | public ClassMetaData | getClassMetaData(ModelMetaData jmd) Get the meta data for our class. | public ClassMetaData | getClassMetaData() | public State | getCopy() | public double | getDoubleField(int stateFieldNo) | public double | getDoubleFieldAbs(int field) | public int | getFieldNos(int[] stateFieldNoBuf) Put the stateField numbers of all fields we have into stateFieldNoBuf. | public float | getFloatField(int stateFieldNo) | public float | getFloatFieldAbs(int field) | public int | getIntField(int stateFieldNo) | public int | getIntFieldAbs(int field) | public Object | getInternalObjectField(int stateFieldNo) | public Object | getInternalObjectFieldAbs(int field) | public long | getLongField(int stateFieldNo) | public long | getLongFieldAbs(int field) | public long | getLongFieldInternal(int stateFieldNo) | public Object | getObjectField(int stateFieldNo, PersistenceCapable owningPC, PersistenceContext pm, OID oid) | public Object | getObjectFieldAbs(int absFieldNo, PersistenceCapable owningPC, PersistenceContext sm, OID oid) | public Object | getOptimisticLockingValue() The value of the version field on the pc. | public int | getPass1FieldNos(int[] stateFieldNoBuf) Put the stateField numbers of all pass 1 fields we have into stateFieldNoBuf. | public int | getPass1FieldRefFieldNosWithNewOids(int[] stateFieldNoBuf) | public int | getPass2FieldNos(int[] stateFieldNoBuf) Put the stateField numbers of all pass 2 fields we have into stateFieldNoBuf. | public short | getShortField(int stateFieldNo) | public short | getShortFieldAbs(int field) | public String | getStringField(int stateFieldNo) | public String | getStringFieldAbs(int field) | public String | getVersion() | public boolean | hasSameFields(State state) | public boolean | isDirty() | public boolean | isDirty(int absFieldNo) | public boolean | isEmpty() | public boolean | isFieldNullorZero(int stateFieldNo) | public boolean | isHollow() | public boolean | isNull(int stateFieldNo) | public boolean | isResolvedForClient(int stateFieldNo) | public void | makeClean() | public void | makeDirty(int stateFieldNo) | public void | makeDirtyAbs(int absFieldNo) | public State | newInstance() | public void | readExternal(OIDObjectInput is) | public static Object | readSimple(int type, DataInput is) | public boolean | replaceNewObjectOIDs(int[] fieldNos, int fieldNosLength) Replace any NewObjectOID's in fields in fieldNos in this state with
their realOID's. | public int | replaceSCOFields(PersistenceCapable owner, VersantPersistenceManagerImp sm, int[] absFields) This will replace all fields that should be a SCO field with it's SCO implementation. | public void | retrieve(VersantPersistenceManagerImp sm) | public void | setBooleanField(int field, boolean newValue) | public void | setBooleanFieldAbs(int field, boolean newValue) | public void | setByteField(int field, byte newValue) | public void | setByteFieldAbs(int absFieldNo, byte newValue) | public void | setCharField(int stateFieldNo, char newValue) | public void | setCharFieldAbs(int absFieldNo, char newValue) | public void | setClassMetaData(ClassMetaData cmd) | public void | setDoubleField(int field, double newValue) | public void | setDoubleFieldAbs(int field, double newValue) | public void | setFilled(int stateFieldNo) | public void | setFloatField(int field, float newValue) | public void | setFloatFieldAbs(int field, float newValue) | public void | setIntField(int field, int newValue) | public void | setIntFieldAbs(int absFieldNo, int newValue) | public void | setInternalBooleanField(int field, boolean newValue) | public void | setInternalBooleanFieldAbs(int field, boolean newValue) | public void | setInternalByteField(int field, byte newValue) | public void | setInternalByteFieldAbs(int field, byte newValue) | public void | setInternalCharField(int field, char newValue) | public void | setInternalCharFieldAbs(int field, char newValue) | public void | setInternalDoubleField(int field, double newValue) | public void | setInternalDoubleFieldAbs(int field, double newValue) | public void | setInternalFloatField(int field, float newValue) | public void | setInternalFloatFieldAbs(int field, float newValue) | public void | setInternalIntField(int field, int newValue) | public void | setInternalIntFieldAbs(int field, int newValue) | public void | setInternalLongField(int field, long newValue) | public void | setInternalLongFieldAbs(int field, long newValue) | public void | setInternalObjectField(int field, Object newValue) | public void | setInternalObjectFieldAbs(int field, Object newValue) | public void | setInternalShortField(int field, short newValue) | public void | setInternalShortFieldAbs(int field, short newValue) | public void | setInternalStringField(int field, String newValue) | public void | setInternalStringFieldAbs(int field, String newValue) | public void | setLongField(int field, long newValue) | public void | setLongFieldAbs(int field, long newValue) | public void | setObjectField(int field, Object newValue) | public void | setObjectFieldAbs(int field, Object newValue) | public void | setObjectFieldUnresolved(int field, Object newValue) | public void | setObjectFieldUnresolvedAbs(int field, Object newValue) | public void | setShortField(int field, short newValue) | public void | setShortFieldAbs(int field, short newValue) | public void | setStringField(int field, String newValue) | public void | setStringFieldAbs(int field, String newValue) | public String | toString() | public void | unmanageSCOFields() | public void | updateAutoSetFieldsCreated(Date now) Update all autoset fields that must be set on commit of a new JDO
instance. | public void | updateAutoSetFieldsModified(Date now, State oldState) Update all autoset fields that must be set on commit of modifications
to an existing JDO instance. | public void | updateFrom(State state) | public void | updateNonFilled(State state) | public void | validateForCache() | public void | writeExternal(OIDObjectOutput os) |
RUNNING_JDBC_TESTS | public static boolean RUNNING_JDBC_TESTS(Code) | | The JDBC tests set this flag to disable the checkFilled calls on
getString etc.
|
classIndex | protected int classIndex(Code) | | The index of the persistant class.
|
data | protected Object[] data(Code) | | This holds the data for all of the persistent fields and any extra
data required for a particular store. The persistent fields are
stored first in fieldNo order (i.e. alphabetically) followed by
the store defined values (if any).
|
dirty | protected boolean dirty(Code) | | A global indication if this state has any dirty fields.
|
dirtyFields | protected transient boolean[] dirtyFields(Code) | | Keeps track of dirty fields. This is the result of all setXXX methods. The
setInternalXXX method does not change the status to dirty. This is only
used on the client side.
|
filled | protected boolean[] filled(Code) | | Each field or extra store value that has a valid entry in data has a
flag set here.
|
resolvedForClient | protected transient boolean[] resolvedForClient(Code) | | Keeps tracks of which fields have been resolved for client side usage. eg
ensure that an oid field is resolved to the actual PersistantCapable instance.
|
GenericState | public GenericState()(Code) | | |
addOneToManyInverseFieldsForL2Evict | public void addOneToManyInverseFieldsForL2Evict(VersantPersistenceManagerImp pm)(Code) | | Add the values of any non-null reference fields used as back or inverse
fields for unmanaged one-to-many collections for eviction from the L2
cache on commit. Note that the filled status of the field is not
checked. This method is called only for newly managed instances so
all fields will be filled.
|
checkCmd | final protected void checkCmd()(Code) | | |
checkKeyFields | public boolean checkKeyFields(OID oid)(Code) | | |
clear | public void clear()(Code) | | |
clearApplicationIdentityFields | public void clearApplicationIdentityFields()(Code) | | Clear any application identity fields from this State. This is a NOP
if the class does not use application identity.
|
clearCollectionFields | public void clearCollectionFields()(Code) | | |
clearDirtyFields | public void clearDirtyFields()(Code) | | Mark all dirty fields as clean and not filled and not resolved.
filled &= ~dirty
resolved &= ~dirty
dirty = 0
|
clearFilledFlags | public void clearFilledFlags()(Code) | | |
clearNonAutoSetFields | public void clearNonAutoSetFields()(Code) | | |
clearNonFilled | public void clearNonFilled(State state)(Code) | | |
clearSCOFields | public void clearSCOFields()(Code) | | |
clearTransactionNonPersistentFields | final public void clearTransactionNonPersistentFields()(Code) | | |
compareToPass1 | public int compareToPass1(State state)(Code) | | Return 0 if state has the same field numbers as us, less than 0 we are
less than it or greater than 0 if we are greater than it. The definition
of less than and greater than is up to the state implementation but
must be detirministic. For fields that are stored using Oracle style
LOBs then the nullness of the value must also be considered in the
comparison i.e. states with field x null and not null respectively
are different.
Parameters: state - State to compare to (will be for same class) |
containFields | public boolean containFields(int[] stateFieldNos)(Code) | | |
containFieldsAbs | public boolean containFieldsAbs(int[] absFieldNos)(Code) | | |
containsApplicationIdentityFields | public boolean containsApplicationIdentityFields()(Code) | | Does this State contain all of the application identity fields for
its class? This returns false if the class does not use application
identity.
|
containsFetchGroup | public boolean containsFetchGroup(FetchGroup fetchGroup)(Code) | | |
containsField | public boolean containsField(int stateFieldNo)(Code) | | |
containsFieldAbs | public boolean containsFieldAbs(int absFieldNo)(Code) | | |
containsValidAppIdFields | public boolean containsValidAppIdFields()(Code) | | |
copyFields | public void copyFields(OID oid)(Code) | | Populate the primary key fields from the OID. This is only called
for PC classes that are using application identity.
|
copyFieldsForOptimisticLocking | public void copyFieldsForOptimisticLocking(State state, VersantPersistenceManagerImp sm)(Code) | | This is to copy the fields that is filled in on the supplied state to the
current state. The objective behind it is to keep a copy of the date to
compare against the db at the time of commit. The only field types of interest
is java.util.Date and Reference fields.
Parameters: state - Parameters: sm - |
copyKeyFields | public void copyKeyFields(OID oid)(Code) | | Populate the OID from this state. This is called for classes
using application identity when a new object is persisted. It will
not be called otherwise.
|
copyKeyFieldsUpdate | public void copyKeyFieldsUpdate(OID oid)(Code) | | Populate the OID from this state. This is called for classes
using application identity when a primary key field of an existing
object is updated. It will not be called otherwise. Note that if the
primary key consists of multiple fields then those that have not
changed may not be in state.
|
copyOptimisticLockingField | public void copyOptimisticLockingField(State state)(Code) | | This copies all the fakeFields from one the supplied state.
Parameters: state - |
fillToStoreState | public boolean fillToStoreState(State stateToStore, PersistenceContext pm, VersantStateManager sm)(Code) | | This return a deep clone of this state instance with only fields that
must be sent to the server to persist changes to this instance filled
in. For JdbcDataStore this will include only the dirty fields. For
VdsDataStore this includes all fields so the whole DataStoreObject
can be written.
All 'First Class Objects' will be resolved to an OID and
'Second Class Objects' will be resolved to some serializable/storable
format that represents the state of the field.
True if some fields were written to stateToStore and false ifnot (i.e. we have no dirty fields) |
getBooleanField | public boolean getBooleanField(int stateFieldNo)(Code) | | |
getBooleanFieldAbs | public boolean getBooleanFieldAbs(int field)(Code) | | |
getByteField | public byte getByteField(int stateFieldNo)(Code) | | |
getByteFieldAbs | public byte getByteFieldAbs(int field)(Code) | | |
getCharField | public char getCharField(int stateFieldNo)(Code) | | |
getCharFieldAbs | public char getCharFieldAbs(int field)(Code) | | |
getDoubleField | public double getDoubleField(int stateFieldNo)(Code) | | |
getDoubleFieldAbs | public double getDoubleFieldAbs(int field)(Code) | | |
getFieldNos | public int getFieldNos(int[] stateFieldNoBuf)(Code) | | Put the stateField numbers of all fields we have into stateFieldNoBuf. The number of field
numbers stored is returned.
|
getFloatField | public float getFloatField(int stateFieldNo)(Code) | | |
getFloatFieldAbs | public float getFloatFieldAbs(int field)(Code) | | |
getIntField | public int getIntField(int stateFieldNo)(Code) | | |
getIntFieldAbs | public int getIntFieldAbs(int field)(Code) | | |
getInternalObjectField | public Object getInternalObjectField(int stateFieldNo)(Code) | | |
getInternalObjectFieldAbs | public Object getInternalObjectFieldAbs(int field)(Code) | | |
getLongField | public long getLongField(int stateFieldNo)(Code) | | |
getLongFieldAbs | public long getLongFieldAbs(int field)(Code) | | |
getLongFieldInternal | public long getLongFieldInternal(int stateFieldNo)(Code) | | |
getOptimisticLockingValue | public Object getOptimisticLockingValue()(Code) | | The value of the version field on the pc.
This will return null if there are no version fields.
|
getPass1FieldRefFieldNosWithNewOids | public int getPass1FieldRefFieldNosWithNewOids(int[] stateFieldNoBuf)(Code) | | |
getShortField | public short getShortField(int stateFieldNo)(Code) | | |
getShortFieldAbs | public short getShortFieldAbs(int field)(Code) | | |
getStringField | public String getStringField(int stateFieldNo)(Code) | | |
getStringFieldAbs | public String getStringFieldAbs(int field)(Code) | | |
hasSameFields | public boolean hasSameFields(State state)(Code) | | Does this State contain exactly the same fields as the supplied State?
Parameters: state - State to compare to (will be for same class) |
isDirty | public boolean isDirty()(Code) | | |
isDirty | public boolean isDirty(int absFieldNo)(Code) | | |
isEmpty | public boolean isEmpty()(Code) | | |
isFieldNullorZero | public boolean isFieldNullorZero(int stateFieldNo)(Code) | | |
isHollow | public boolean isHollow()(Code) | | |
isNull | public boolean isNull(int stateFieldNo)(Code) | | Is the supplied stateFieldNo null?
|
isResolvedForClient | public boolean isResolvedForClient(int stateFieldNo)(Code) | | |
makeClean | public void makeClean()(Code) | | |
makeDirty | public void makeDirty(int stateFieldNo)(Code) | | |
makeDirtyAbs | public void makeDirtyAbs(int absFieldNo)(Code) | | |
newInstance | public State newInstance()(Code) | | Return a new State instance
new State instance |
replaceNewObjectOIDs | public boolean replaceNewObjectOIDs(int[] fieldNos, int fieldNosLength)(Code) | | Replace any NewObjectOID's in fields in fieldNos in this state with
their realOID's. Entries in fieldNos that are less than 0 should be
skipped. Note that skipped entries will never be for fields that could
hold OIDs.
|
replaceSCOFields | public int replaceSCOFields(PersistenceCapable owner, VersantPersistenceManagerImp sm, int[] absFields)(Code) | | This will replace all fields that should be a SCO field with it's SCO implementation.
|
setBooleanField | public void setBooleanField(int field, boolean newValue)(Code) | | |
setBooleanFieldAbs | public void setBooleanFieldAbs(int field, boolean newValue)(Code) | | |
setByteField | public void setByteField(int field, byte newValue)(Code) | | |
setByteFieldAbs | public void setByteFieldAbs(int absFieldNo, byte newValue)(Code) | | |
setCharField | public void setCharField(int stateFieldNo, char newValue)(Code) | | |
setCharFieldAbs | public void setCharFieldAbs(int absFieldNo, char newValue)(Code) | | |
setDoubleField | public void setDoubleField(int field, double newValue)(Code) | | |
setDoubleFieldAbs | public void setDoubleFieldAbs(int field, double newValue)(Code) | | |
setFilled | public void setFilled(int stateFieldNo)(Code) | | |
setFloatField | public void setFloatField(int field, float newValue)(Code) | | |
setFloatFieldAbs | public void setFloatFieldAbs(int field, float newValue)(Code) | | |
setIntField | public void setIntField(int field, int newValue)(Code) | | |
setIntFieldAbs | public void setIntFieldAbs(int absFieldNo, int newValue)(Code) | | |
setInternalBooleanField | public void setInternalBooleanField(int field, boolean newValue)(Code) | | |
setInternalBooleanFieldAbs | public void setInternalBooleanFieldAbs(int field, boolean newValue)(Code) | | |
setInternalByteField | public void setInternalByteField(int field, byte newValue)(Code) | | |
setInternalByteFieldAbs | public void setInternalByteFieldAbs(int field, byte newValue)(Code) | | |
setInternalCharField | public void setInternalCharField(int field, char newValue)(Code) | | |
setInternalCharFieldAbs | public void setInternalCharFieldAbs(int field, char newValue)(Code) | | |
setInternalDoubleField | public void setInternalDoubleField(int field, double newValue)(Code) | | |
setInternalDoubleFieldAbs | public void setInternalDoubleFieldAbs(int field, double newValue)(Code) | | |
setInternalFloatField | public void setInternalFloatField(int field, float newValue)(Code) | | |
setInternalFloatFieldAbs | public void setInternalFloatFieldAbs(int field, float newValue)(Code) | | |
setInternalIntField | public void setInternalIntField(int field, int newValue)(Code) | | |
setInternalIntFieldAbs | public void setInternalIntFieldAbs(int field, int newValue)(Code) | | |
setInternalLongField | public void setInternalLongField(int field, long newValue)(Code) | | |
setInternalLongFieldAbs | public void setInternalLongFieldAbs(int field, long newValue)(Code) | | |
setInternalObjectField | public void setInternalObjectField(int field, Object newValue)(Code) | | |
setInternalObjectFieldAbs | public void setInternalObjectFieldAbs(int field, Object newValue)(Code) | | |
setInternalShortField | public void setInternalShortField(int field, short newValue)(Code) | | |
setInternalShortFieldAbs | public void setInternalShortFieldAbs(int field, short newValue)(Code) | | |
setInternalStringField | public void setInternalStringField(int field, String newValue)(Code) | | |
setInternalStringFieldAbs | public void setInternalStringFieldAbs(int field, String newValue)(Code) | | |
setLongField | public void setLongField(int field, long newValue)(Code) | | |
setLongFieldAbs | public void setLongFieldAbs(int field, long newValue)(Code) | | |
setObjectField | public void setObjectField(int field, Object newValue)(Code) | | |
setObjectFieldAbs | public void setObjectFieldAbs(int field, Object newValue)(Code) | | |
setObjectFieldUnresolved | public void setObjectFieldUnresolved(int field, Object newValue)(Code) | | |
setObjectFieldUnresolvedAbs | public void setObjectFieldUnresolvedAbs(int field, Object newValue)(Code) | | |
setShortField | public void setShortField(int field, short newValue)(Code) | | |
setShortFieldAbs | public void setShortFieldAbs(int field, short newValue)(Code) | | |
setStringField | public void setStringField(int field, String newValue)(Code) | | |
setStringFieldAbs | public void setStringFieldAbs(int field, String newValue)(Code) | | |
unmanageSCOFields | public void unmanageSCOFields()(Code) | | |
updateAutoSetFieldsCreated | public void updateAutoSetFieldsCreated(Date now)(Code) | | Update all autoset fields that must be set on commit of a new JDO
instance.
See Also: FieldMetaData.autoSet |
updateAutoSetFieldsModified | public void updateAutoSetFieldsModified(Date now, State oldState)(Code) | | Update all autoset fields that must be set on commit of modifications
to an existing JDO instance.
Parameters: oldState - The pre-modification state of the instance. See Also: FieldMetaData.autoSet |
updateNonFilled | public void updateNonFilled(State state)(Code) | | |
validateForCache | public void validateForCache()(Code) | | |
Methods inherited from com.versant.core.common.State | public void addFetchGroupStatesToDCS(FetchGroup fg, DetachStateContainer dcs, VersantPersistenceManagerImp pm, OID oid, ClassMetaData cmd)(Code)(Java Doc) abstract public void addOneToManyInverseFieldsForL2Evict(VersantPersistenceManagerImp pm)(Code)(Java Doc) abstract public void addRefs(VersantPersistenceManagerImp sm, PCStateMan pcStateMan)(Code)(Java Doc) abstract public boolean checkKeyFields(OID oid)(Code)(Java Doc) abstract public void clear()(Code)(Java Doc) abstract public void clearApplicationIdentityFields()(Code)(Java Doc) abstract public void clearCollectionFields()(Code)(Java Doc) abstract public void clearDirtyFields()(Code)(Java Doc) abstract public void clearFilledFlags()(Code)(Java Doc) abstract public void clearNonAutoSetFields()(Code)(Java Doc) abstract public void clearNonFilled(State state)(Code)(Java Doc) abstract public void clearSCOFields()(Code)(Java Doc) abstract public void clearTransactionNonPersistentFields()(Code)(Java Doc) abstract public int compareToPass1(State state)(Code)(Java Doc) abstract public boolean containFields(int[] stateFieldNos)(Code)(Java Doc) abstract public boolean containFieldsAbs(int[] absFieldNos)(Code)(Java Doc) abstract public boolean containsApplicationIdentityFields()(Code)(Java Doc) abstract public boolean containsFetchGroup(FetchGroup fetchGroup)(Code)(Java Doc) abstract public boolean containsField(int stateFieldNo)(Code)(Java Doc) abstract public boolean containsFieldAbs(int absFieldNo)(Code)(Java Doc) abstract public boolean containsPass1Fields()(Code)(Java Doc) abstract public boolean containsPass2Fields()(Code)(Java Doc) abstract public boolean containsValidAppIdFields()(Code)(Java Doc) abstract public void copyFields(OID oid)(Code)(Java Doc) abstract public void copyFieldsForOptimisticLocking(State state, VersantPersistenceManagerImp sm)(Code)(Java Doc) abstract public void copyKeyFields(OID oid)(Code)(Java Doc) abstract public void copyKeyFieldsUpdate(OID oid)(Code)(Java Doc) abstract public void copyOptimisticLockingField(State state)(Code)(Java Doc) abstract public void fillForRead(State dest, VersantPersistenceManagerImp sm)(Code)(Java Doc) abstract public boolean fillToStoreState(State stateToStore, PersistenceContext sm, VersantStateManager pcStateMan)(Code)(Java Doc) abstract public void findDirectEdges(OIDGraph graph, IntArray edges)(Code)(Java Doc) protected void findDirectEdges(OIDGraph graph, ClassMetaData cmd, int fieldNo, State state, IntArray edges)(Code)(Java Doc) abstract public boolean getBooleanField(int stateFieldNo)(Code)(Java Doc) abstract public boolean getBooleanFieldAbs(int absFieldNo)(Code)(Java Doc) abstract public byte getByteField(int stateFieldNo)(Code)(Java Doc) abstract public byte getByteFieldAbs(int absFieldNo)(Code)(Java Doc) abstract public char getCharField(int stateFieldNo)(Code)(Java Doc) abstract public char getCharFieldAbs(int absFieldNo)(Code)(Java Doc) abstract public int getClassIndex()(Code)(Java Doc) abstract public ClassMetaData getClassMetaData(ModelMetaData jmd)(Code)(Java Doc) abstract public ClassMetaData getClassMetaData()(Code)(Java Doc) abstract public State getCopy()(Code)(Java Doc) abstract public double getDoubleField(int stateFieldNo)(Code)(Java Doc) abstract public double getDoubleFieldAbs(int absFieldNo)(Code)(Java Doc) abstract public int getFieldNos(int[] buf)(Code)(Java Doc) abstract public float getFloatField(int stateFieldNo)(Code)(Java Doc) abstract public float getFloatFieldAbs(int absFieldNo)(Code)(Java Doc) abstract public int getIntField(int stateFieldNo)(Code)(Java Doc) abstract public int getIntFieldAbs(int absFieldNo)(Code)(Java Doc) abstract public Object getInternalObjectField(int field)(Code)(Java Doc) abstract public Object getInternalObjectFieldAbs(int field)(Code)(Java Doc) abstract public long getLongField(int stateFieldNo)(Code)(Java Doc) abstract public long getLongFieldAbs(int absFieldNo)(Code)(Java Doc) abstract public long getLongFieldInternal(int stateFieldNo)(Code)(Java Doc) abstract public Object getObjectField(int stateFieldNo, PersistenceCapable owningPC, PersistenceContext pm, OID oid)(Code)(Java Doc) abstract public Object getObjectFieldAbs(int absFieldNo, PersistenceCapable owningPC, PersistenceContext pm, OID oid)(Code)(Java Doc) abstract public Object getOptimisticLockingValue()(Code)(Java Doc) abstract public int getPass1FieldNos(int[] buf)(Code)(Java Doc) abstract public int getPass1FieldRefFieldNosWithNewOids(int[] stateFieldNoBuf)(Code)(Java Doc) abstract public int getPass2FieldNos(int[] buf)(Code)(Java Doc) abstract public short getShortField(int stateFieldNo)(Code)(Java Doc) abstract public short getShortFieldAbs(int absFieldNo)(Code)(Java Doc) abstract public String getStringField(int stateFieldNo)(Code)(Java Doc) abstract public String getStringFieldAbs(int absFieldNo)(Code)(Java Doc) abstract public String getVersion()(Code)(Java Doc) abstract public boolean hasSameFields(State state)(Code)(Java Doc) public boolean isCacheble()(Code)(Java Doc) abstract public boolean isDirty()(Code)(Java Doc) abstract public boolean isDirty(int fieldNo)(Code)(Java Doc) abstract public boolean isEmpty()(Code)(Java Doc) abstract public boolean isFieldNullorZero(int stateFieldNo)(Code)(Java Doc) abstract public boolean isHollow()(Code)(Java Doc) abstract public boolean isNull(int stateFieldNo)(Code)(Java Doc) abstract public boolean isResolvedForClient(int stateFieldNo)(Code)(Java Doc) abstract public void makeClean()(Code)(Java Doc) abstract public void makeDirtyAbs(int fieldNo)(Code)(Java Doc) abstract public State newInstance()(Code)(Java Doc) abstract public void readExternal(OIDObjectInput is) throws IOException, ClassNotFoundException(Code)(Java Doc) abstract public boolean replaceNewObjectOIDs(int[] fieldNos, int fieldNosLength)(Code)(Java Doc) abstract public int replaceSCOFields(PersistenceCapable owner, VersantPersistenceManagerImp sm, int[] absFieldNos)(Code)(Java Doc) public Object resolveArrayOIDs(Object[] oids, PersistenceContext sm, Class type)(Code)(Java Doc) public Object resolveArrayValues(Object vals, PersistenceContext pm)(Code)(Java Doc) abstract public void retrieve(VersantPersistenceManagerImp sm)(Code)(Java Doc) abstract public void setBooleanField(int stateFieldNo, boolean newValue)(Code)(Java Doc) abstract public void setBooleanFieldAbs(int absFieldNo, boolean newValue)(Code)(Java Doc) abstract public void setByteField(int stateFieldNo, byte newValue)(Code)(Java Doc) abstract public void setByteFieldAbs(int absFieldNo, byte newValue)(Code)(Java Doc) abstract public void setCharField(int stateFieldNo, char newValue)(Code)(Java Doc) abstract public void setCharFieldAbs(int absFieldNo, char newValue)(Code)(Java Doc) abstract public void setClassMetaData(ClassMetaData cmd)(Code)(Java Doc) abstract public void setDoubleField(int stateFieldNo, double newValue)(Code)(Java Doc) abstract public void setDoubleFieldAbs(int absFieldNo, double newValue)(Code)(Java Doc) abstract public void setFilled(int stateFieldNo)(Code)(Java Doc) abstract public void setFloatField(int stateFieldNo, float newValue)(Code)(Java Doc) abstract public void setFloatFieldAbs(int absFieldNo, float newValue)(Code)(Java Doc) abstract public void setIntField(int stateFieldNo, int newValue)(Code)(Java Doc) abstract public void setIntFieldAbs(int absFieldNo, int newValue)(Code)(Java Doc) abstract public void setInternalBooleanField(int field, boolean newValue)(Code)(Java Doc) abstract public void setInternalBooleanFieldAbs(int field, boolean newValue)(Code)(Java Doc) abstract public void setInternalByteField(int field, byte newValue)(Code)(Java Doc) abstract public void setInternalByteFieldAbs(int field, byte newValue)(Code)(Java Doc) abstract public void setInternalCharField(int field, char newValue)(Code)(Java Doc) abstract public void setInternalCharFieldAbs(int field, char newValue)(Code)(Java Doc) abstract public void setInternalDoubleField(int field, double newValue)(Code)(Java Doc) abstract public void setInternalDoubleFieldAbs(int field, double newValue)(Code)(Java Doc) abstract public void setInternalFloatField(int field, float newValue)(Code)(Java Doc) abstract public void setInternalFloatFieldAbs(int field, float newValue)(Code)(Java Doc) abstract public void setInternalIntField(int field, int newValue)(Code)(Java Doc) abstract public void setInternalIntFieldAbs(int field, int newValue)(Code)(Java Doc) abstract public void setInternalLongField(int field, long newValue)(Code)(Java Doc) abstract public void setInternalLongFieldAbs(int field, long newValue)(Code)(Java Doc) abstract public void setInternalObjectField(int field, Object newValue)(Code)(Java Doc) abstract public void setInternalObjectFieldAbs(int field, Object newValue)(Code)(Java Doc) abstract public void setInternalShortField(int field, short newValue)(Code)(Java Doc) abstract public void setInternalShortFieldAbs(int field, short newValue)(Code)(Java Doc) abstract public void setInternalStringField(int field, String newValue)(Code)(Java Doc) abstract public void setInternalStringFieldAbs(int field, String newValue)(Code)(Java Doc) abstract public void setLongField(int stateFieldNo, long newValue)(Code)(Java Doc) abstract public void setLongFieldAbs(int absFieldNo, long newValue)(Code)(Java Doc) abstract public void setObjectField(int stateFieldNo, Object newValue)(Code)(Java Doc) abstract public void setObjectFieldAbs(int absFieldNo, Object newValue)(Code)(Java Doc) abstract public void setObjectFieldUnresolved(int field, Object newValue)(Code)(Java Doc) abstract public void setObjectFieldUnresolvedAbs(int field, Object newValue)(Code)(Java Doc) abstract public void setShortField(int stateFieldNo, short newValue)(Code)(Java Doc) abstract public void setShortFieldAbs(int absFieldNo, short newValue)(Code)(Java Doc) abstract public void setStringField(int stateFieldNo, String newValue)(Code)(Java Doc) abstract public void setStringFieldAbs(int absFieldNo, String newValue)(Code)(Java Doc) abstract public void unmanageSCOFields()(Code)(Java Doc) abstract public void updateAutoSetFieldsCreated(Date now)(Code)(Java Doc) abstract public void updateAutoSetFieldsModified(Date now, State oldState)(Code)(Java Doc) abstract public void updateFrom(State state)(Code)(Java Doc) abstract public void updateNonFilled(State state)(Code)(Java Doc) public void validateForCache()(Code)(Java Doc) abstract public void writeExternal(OIDObjectOutput os) throws IOException(Code)(Java Doc)
|
|
|