Package | Description |
---|---|
org.datanucleus.enhancer.spi |
Package defining classes necessary for a bytecode enhancement contract based around what JDO uses
but here we use DataNucleus classes (so no dependency is present to JDO).
|
Modifier and Type | Method and Description |
---|---|
Persistable |
Persistable.dnNewInstance(ObjectProvider sm) |
Persistable |
Persistable.dnNewInstance(ObjectProvider sm,
Object oid) |
Modifier and Type | Method and Description |
---|---|
boolean |
StateManager.getBooleanField(Persistable pc,
int field,
boolean currentValue)
Return the value for the field.
|
byte |
StateManager.getByteField(Persistable pc,
int field,
byte currentValue)
Return the value for the field.
|
char |
StateManager.getCharField(Persistable pc,
int field,
char currentValue)
Return the value for the field.
|
double |
StateManager.getDoubleField(Persistable pc,
int field,
double currentValue)
Return the value for the field.
|
ExecutionContext |
StateManager.getExecutionContext(Persistable pc)
Return the
ExecutionContext that owns this instance. |
float |
StateManager.getFloatField(Persistable pc,
int field,
float currentValue)
Return the value for the field.
|
int |
StateManager.getIntField(Persistable pc,
int field,
int currentValue)
Return the value for the field.
|
long |
StateManager.getLongField(Persistable pc,
int field,
long currentValue)
Return the value for the field.
|
Object |
StateManager.getObjectField(Persistable pc,
int field,
Object currentValue)
Return the value for the field.
|
Object |
StateManager.getObjectId(Persistable pc)
Return the object representing the JDO identity
of the calling instance.
|
short |
StateManager.getShortField(Persistable pc,
int field,
short currentValue)
Return the value for the field.
|
String |
StateManager.getStringField(Persistable pc,
int field,
String currentValue)
Return the value for the field.
|
Object |
StateManager.getTransactionalObjectId(Persistable pc)
Return the object representing the JDO identity of the calling instance.
|
Object |
StateManager.getVersion(Persistable pc)
Return the object representing the version of the calling instance.
|
boolean |
StateManager.isDeleted(Persistable pc)
Tests whether this object has been deleted.
|
boolean |
StateManager.isDirty(Persistable pc)
Returns whether the object is dirty.
|
boolean |
StateManager.isLoaded(Persistable pc,
int field)
Return
true if the field is cached in the calling instance. |
boolean |
StateManager.isNew(Persistable pc)
Tests whether this object has been newly made persistent.
|
boolean |
StateManager.isPersistent(Persistable pc)
Tests whether this object is persistent.
|
boolean |
StateManager.isTransactional(Persistable pc)
Returns whether the object is transactional.
|
void |
StateManager.makeDirty(Persistable pc,
String fieldName)
Mark the associated
Persistable field dirty. |
void |
StateManager.preSerialize(Persistable pc)
Guarantee that the serializable transactional and persistent fields
are loaded into the instance.
|
void |
StateManager.providedBooleanField(Persistable pc,
int field,
boolean currentValue)
The value of the field requested to be provided to the
StateManager . |
void |
StateManager.providedByteField(Persistable pc,
int field,
byte currentValue)
The value of the field requested to be provided to the
StateManager . |
void |
StateManager.providedCharField(Persistable pc,
int field,
char currentValue)
The value of the field requested to be provided to the
StateManager . |
void |
StateManager.providedDoubleField(Persistable pc,
int field,
double currentValue)
The value of the field requested to be provided to the
StateManager . |
void |
StateManager.providedFloatField(Persistable pc,
int field,
float currentValue)
The value of the field requested to be provided to the
StateManager . |
void |
StateManager.providedIntField(Persistable pc,
int field,
int currentValue)
The value of the field requested to be provided to the
StateManager . |
void |
StateManager.providedLongField(Persistable pc,
int field,
long currentValue)
The value of the field requested to be provided to the
StateManager . |
void |
StateManager.providedObjectField(Persistable pc,
int field,
Object currentValue)
The value of the field requested to be provided to the
StateManager . |
void |
StateManager.providedShortField(Persistable pc,
int field,
short currentValue)
The value of the field requested to be provided to the
StateManager . |
void |
StateManager.providedStringField(Persistable pc,
int field,
String currentValue)
The value of the field requested to be provided to the
StateManager . |
boolean |
StateManager.replacingBooleanField(Persistable pc,
int field)
The replacement value of the field in the calling instance.
|
byte |
StateManager.replacingByteField(Persistable pc,
int field)
The replacement value of the field in the calling instance.
|
char |
StateManager.replacingCharField(Persistable pc,
int field)
The replacement value of the field in the calling instance.
|
Object[] |
StateManager.replacingDetachedState(Persistable pc,
Object[] state)
The replacement value of the detached state in the calling instance.
|
double |
StateManager.replacingDoubleField(Persistable pc,
int field)
The replacement value of the field in the calling instance.
|
byte |
StateManager.replacingFlags(Persistable pc)
The owning
StateManager uses this method to supply the
value of the flags to the Persistable instance. |
float |
StateManager.replacingFloatField(Persistable pc,
int field)
The replacement value of the field in the calling instance.
|
int |
StateManager.replacingIntField(Persistable pc,
int field)
The replacement value of the field in the calling instance.
|
long |
StateManager.replacingLongField(Persistable pc,
int field)
The replacement value of the field in the calling instance.
|
Object |
StateManager.replacingObjectField(Persistable pc,
int field)
The replacement value of the field in the calling instance.
|
short |
StateManager.replacingShortField(Persistable pc,
int field)
The replacement value of the field in the calling instance.
|
StateManager |
StateManager.replacingStateManager(Persistable pc,
StateManager sm)
Replace the current value of
jdoStateManager . |
String |
StateManager.replacingStringField(Persistable pc,
int field)
The replacement value of the field in the calling instance.
|
void |
StateManager.setBooleanField(Persistable pc,
int field,
boolean currentValue,
boolean newValue)
Mark the field as modified by the user.
|
void |
StateManager.setByteField(Persistable pc,
int field,
byte currentValue,
byte newValue)
Mark the field as modified by the user.
|
void |
StateManager.setCharField(Persistable pc,
int field,
char currentValue,
char newValue)
Mark the field as modified by the user.
|
void |
StateManager.setDoubleField(Persistable pc,
int field,
double currentValue,
double newValue)
Mark the field as modified by the user.
|
void |
StateManager.setFloatField(Persistable pc,
int field,
float currentValue,
float newValue)
Mark the field as modified by the user.
|
void |
StateManager.setIntField(Persistable pc,
int field,
int currentValue,
int newValue)
Mark the field as modified by the user.
|
void |
StateManager.setLongField(Persistable pc,
int field,
long currentValue,
long newValue)
Mark the field as modified by the user.
|
void |
StateManager.setObjectField(Persistable pc,
int field,
Object currentValue,
Object newValue)
Mark the field as modified by the user.
|
void |
StateManager.setShortField(Persistable pc,
int field,
short currentValue,
short newValue)
Mark the field as modified by the user.
|
void |
StateManager.setStringField(Persistable pc,
int field,
String currentValue,
String newValue)
Mark the field as modified by the user.
|
Copyright © 2021. All rights reserved.