|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EntityInput
Used for reading object fields.
Unlike TupleInput, Strings are returned by readObject()
when using
this class.
Method Summary | |
---|---|
Catalog |
getCatalog()
Returns the Catalog associated with this input. |
boolean |
isRawAccess()
Return whether this input is in raw mode, i.e., whether it is returning raw instances. |
int |
readArrayLength()
Called by ObjectArrayFormat and PrimitiveArrayFormat to read the array length. |
BigInteger |
readBigInteger()
|
boolean |
readBoolean()
|
byte |
readByte()
|
char |
readChar()
|
int |
readEnumConstant(String[] names)
Called by EnumFormat to read and return index of the enum constant. |
int |
readInt()
|
Object |
readKeyObject(Format format)
Called for a primary key field or a composite key field with a reference type. |
long |
readLong()
|
Object |
readObject()
Called via Accessor to read all fields with reference types, except for the primary key field and composite key fields (see readKeyObject below). |
short |
readShort()
|
BigDecimal |
readSortedBigDecimal()
|
double |
readSortedDouble()
|
float |
readSortedFloat()
|
String |
readString()
|
Object |
readStringObject()
Called for a String field, that is not a primary key field or a composite key field with a reference type. |
void |
registerPriKeyObject(Object o)
Called via Accessor.readSecKeyFields for a primary key field with a reference type. |
void |
registerPriStringKeyObject(Object o)
Called via Accessor.readSecKeyFields for a primary String key field. |
boolean |
setRawAccess(boolean rawAccessParam)
Changes raw mode and returns the original mode, which is normally restored later. |
void |
skipField(Format declaredFormat)
Called via PersistKeyCreator to skip fields prior to the secondary key field. |
Method Detail |
---|
Catalog getCatalog()
boolean isRawAccess()
boolean setRawAccess(boolean rawAccessParam)
Object readObject() throws RefreshException
RefreshException
Object readKeyObject(Format format) throws RefreshException
For such key fields, no formatId is present nor can the object already be present in the visited object set.
RefreshException
Object readStringObject() throws RefreshException
For the new String format, no formatId is present nor can the object already be present in the visited object set. For the old String format, this method simply calls readObject for compatibility.
RefreshException
void registerPriKeyObject(Object o)
void registerPriStringKeyObject(Object o)
int readArrayLength()
int readEnumConstant(String[] names)
void skipField(Format declaredFormat) throws RefreshException
RefreshException
String readString() throws RefreshException
RefreshException
char readChar() throws RefreshException
RefreshException
boolean readBoolean() throws RefreshException
RefreshException
byte readByte() throws RefreshException
RefreshException
short readShort() throws RefreshException
RefreshException
int readInt() throws RefreshException
RefreshException
long readLong() throws RefreshException
RefreshException
float readSortedFloat() throws RefreshException
RefreshException
double readSortedDouble() throws RefreshException
RefreshException
BigInteger readBigInteger() throws RefreshException
RefreshException
BigDecimal readSortedBigDecimal() throws RefreshException
RefreshException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |