|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The PIndexedElem interface defines the representation of an element of a generic class. It provides a way to access the element value, as well as its index. It also allows the association of a status for such elements when the generic class accessor implemented by the MI supports delta modifications (@see PGenClassAccessor#deltaSupported).
Field Summary | |
---|---|
static byte |
ELEM_CREATED
It specifies that this element is a new one within this generic class object. |
static byte |
ELEM_DELETED
It specifies that this element has been deleted from this generic class object. |
static byte |
ELEM_MODIFIED
It specifies that this element as been modified within this generic class object. |
static byte |
ELEM_UNMODIFIED
It specifies that this element existed at load time and that it has not been modified until then. |
Method Summary | |
---|---|
byte |
getElemStatus()
It yields the status of this indexed element. |
java.math.BigDecimal |
pieGetBigDecimalElem()
It retrieves the value of a BigDecimal element. |
java.math.BigInteger |
pieGetBigIntegerElem()
It retrieves the value of a BigInteger element. |
boolean |
pieGetBooleanElem()
It retrieves the value of a boolean element. |
byte[] |
pieGetByteArrayElem()
It retrieves the value of a bytearray element. |
byte |
pieGetByteElem()
It retrieves the value of a byte element. |
byte |
pieGetByteIndexField(java.lang.String fn)
It retrieves the value of a byte index field. |
char[] |
pieGetCharArrayElem()
It retrieves the value of a chararray element. |
char |
pieGetCharElem()
It retrieves the value of a char element. |
char |
pieGetCharIndexField(java.lang.String fn)
It retrieves the value of a char index field. |
java.util.Date |
pieGetDateElem()
It retrieves the value of a date element. |
java.util.Date |
pieGetDateIndexField(java.lang.String fn)
It retrieves the value of a date index field. |
double |
pieGetDoubleElem()
It retrieves the value of a double element. |
float |
pieGetFloatElem()
It retrieves the value of a float element. |
int |
pieGetIntElem()
It retrieves the value of an int element. |
int |
pieGetIntIndexField(java.lang.String fn)
It retrieves the value of an int index field. |
long |
pieGetLongElem()
It retrieves the value of a long element. |
long |
pieGetLongIndexField(java.lang.String fn)
It retrieves the value of a long index field. |
java.lang.Boolean |
pieGetObooleanElem()
It retrieves the value of a boolean element. |
java.lang.Byte |
pieGetObyteElem()
It retrieves the value of a byte element. |
java.lang.Byte |
pieGetObyteIndexField(java.lang.String fn)
It retrieves the value of a byte index field. |
java.lang.Character |
pieGetOcharElem()
It retrieves the value of a char element. |
java.lang.Character |
pieGetOcharIndexField(java.lang.String fn)
It retrieves the value of a char index field. |
java.lang.Double |
pieGetOdoubleElem()
It retrieves the value of a double element. |
java.lang.Float |
pieGetOfloatElem()
It retrieves the value of a float element. |
java.lang.Integer |
pieGetOintElem()
It retrieves the value of an int element. |
java.lang.Integer |
pieGetOintIndexField(java.lang.String fn)
It retrieves the value of an int index field. |
java.lang.Long |
pieGetOlongElem()
It retrieves the value of a long element. |
java.lang.Long |
pieGetOlongIndexField(java.lang.String fn)
It retrieves the value of a long index field. |
java.lang.Short |
pieGetOshortElem()
It retrieves the value of a short element. |
java.lang.Short |
pieGetOshortIndexField(java.lang.String fn)
It retrieves the value of a short index field. |
PName |
pieGetRefElem()
It retrieves the value of a reference element. |
java.io.Serializable |
pieGetSerializedElem()
It retrieves the value of a serialized element. |
short |
pieGetShortElem()
It retrieves the value of a short element. |
short |
pieGetShortIndexField(java.lang.String fn)
It retrieves the value of a short index field. |
java.lang.String |
pieGetStringElem()
It retrieves the value of a string element. |
java.lang.String |
pieGetStringIndexField(java.lang.String fn)
It retrieves the value of a string index field. |
void |
pieSetBigDecimalElem(java.math.BigDecimal value)
It assigns the value to a BigDecimal element. |
void |
pieSetBigIntegerElem(java.math.BigInteger value)
It assigns the value to a BigInteger element. |
void |
pieSetBooleanElem(boolean value)
It assigns the value to a boolean element. |
void |
pieSetByteArrayElem(byte[] value)
It assigns the value to a bytearray element. |
void |
pieSetByteElem(byte value)
It assigns the value to a byte element. |
void |
pieSetByteIndexField(java.lang.String fn,
byte value)
It assigns the value to a byte index field. |
void |
pieSetCharArrayElem(char[] value)
It assigns the value to a chararray element. |
void |
pieSetCharElem(char value)
It assigns the value to a char element. |
void |
pieSetCharIndexField(java.lang.String fn,
char value)
It assigns the value to a char index field. |
void |
pieSetDateElem(java.util.Date value)
It assigns the value to a date element. |
void |
pieSetDateIndexField(java.lang.String fn,
java.util.Date value)
It assigns the value to a date index field. |
void |
pieSetDoubleElem(double value)
It assigns the value to a double element. |
void |
pieSetFloatElem(float value)
It assigns the value to a float element. |
void |
pieSetIntElem(int value)
It assigns the value to an int element. |
void |
pieSetIntIndexField(java.lang.String fn,
int value)
It assigns the value to an int index field. |
void |
pieSetLongElem(long value)
It assigns the value to a long element. |
void |
pieSetLongIndexField(java.lang.String fn,
long value)
It assigns the value to a long index field. |
void |
pieSetObooleanElem(java.lang.Boolean value)
It assigns the value to a boolean element. |
void |
pieSetObyteElem(java.lang.Byte value)
It assigns the value to a Byte element. |
void |
pieSetObyteIndexField(java.lang.String fn,
java.lang.Byte value)
It assigns the value to a Byte index field. |
void |
pieSetOcharElem(java.lang.Character value)
It assigns the value to a Character element. |
void |
pieSetOcharIndexField(java.lang.String fn,
java.lang.Character value)
It assigns the value to a Character index field. |
void |
pieSetOdoubleElem(java.lang.Double value)
It assigns the value to a Double element. |
void |
pieSetOfloatElem(java.lang.Float value)
It assigns the value to a Float element. |
void |
pieSetOintElem(java.lang.Integer value)
It assigns the value to an Integer element. |
void |
pieSetOintIndexField(java.lang.String fn,
java.lang.Integer value)
It assigns the value to an Integer index field. |
void |
pieSetOlongElem(java.lang.Long value)
It assigns the value to a Long element. |
void |
pieSetOlongIndexField(java.lang.String fn,
java.lang.Long value)
It assigns the value to a Long index field. |
void |
pieSetOshortElem(java.lang.Short value)
It assigns the value to a Short element. |
void |
pieSetOshortIndexField(java.lang.String fn,
java.lang.Short value)
It assigns the value to a Short index field. |
void |
pieSetRefElem(PName value)
It assigns the value to a reference element. |
void |
pieSetSerializedElem(java.io.Serializable value)
It assigns the value to a serialized element. |
void |
pieSetShortElem(short value)
It assigns the value to a short element. |
void |
pieSetShortIndexField(java.lang.String fn,
short value)
It assigns the value to a short index field. |
void |
pieSetStringElem(java.lang.String value)
It assigns the value to a string element. |
void |
pieSetStringIndexField(java.lang.String fn,
java.lang.String value)
It assigns the value to a string index field. |
Field Detail |
public static final byte ELEM_CREATED
public static final byte ELEM_DELETED
public static final byte ELEM_MODIFIED
public static final byte ELEM_UNMODIFIED
Method Detail |
public byte getElemStatus()
public boolean pieGetBooleanElem() throws PException
PExceptionTyping
- Elements are not of this type.
PException
public java.lang.Boolean pieGetObooleanElem() throws PException
PExceptionTyping
- Elements are not of this type.
PException
public byte pieGetByteElem() throws PException
PExceptionTyping
- Elements are not of this type.
PException
public java.lang.Byte pieGetObyteElem() throws PException
PExceptionTyping
- Elements are not of this type.
PException
public byte pieGetByteIndexField(java.lang.String fn) throws PException
fn
- A String containing the name of the index field.
PExceptionTyping
- There is no field with this name and
this type within this index.
PException
public java.lang.Byte pieGetObyteIndexField(java.lang.String fn) throws PException
fn
- A String containing the name of the index field.
PExceptionTyping
- There is no field with this name and
this type within this index.
PException
public char pieGetCharElem() throws PException
PExceptionTyping
- Elements are not of this type.
PException
public java.lang.Character pieGetOcharElem() throws PException
PExceptionTyping
- Elements are not of this type.
PException
public char pieGetCharIndexField(java.lang.String fn) throws PException
fn
- A String containing the name of the index field.
PExceptionTyping
- There is no field with this name and
this type within this index.
PException
public java.lang.Character pieGetOcharIndexField(java.lang.String fn) throws PException
fn
- A String containing the name of the index field.
PExceptionTyping
- There is no field with this name and
this type within this index.
PException
public short pieGetShortElem() throws PException
PExceptionTyping
- Elements are not of this type.
PException
public java.lang.Short pieGetOshortElem() throws PException
PExceptionTyping
- Elements are not of this type.
PException
public short pieGetShortIndexField(java.lang.String fn) throws PException
fn
- A String containing the name of the index field.
PExceptionTyping
- There is no field with this name and
this type within this index.
PException
public java.lang.Short pieGetOshortIndexField(java.lang.String fn) throws PException
fn
- A String containing the name of the index field.
PExceptionTyping
- There is no field with this name and
this type within this index.
PException
public int pieGetIntElem() throws PException
PExceptionTyping
- Elements are not of this type.
PException
public java.lang.Integer pieGetOintElem() throws PException
PExceptionTyping
- Elements are not of this type.
PException
public int pieGetIntIndexField(java.lang.String fn) throws PException
fn
- A String containing the name of the index field.
PExceptionTyping
- There is no field with this name and
this type within this index.
PException
public java.lang.Integer pieGetOintIndexField(java.lang.String fn) throws PException
fn
- A String containing the name of the index field.
PExceptionTyping
- There is no field with this name and
this type within this index.
PException
public long pieGetLongElem() throws PException
PExceptionTyping
- Elements are not of this type.
PException
public java.lang.Long pieGetOlongElem() throws PException
PExceptionTyping
- Elements are not of this type.
PException
public long pieGetLongIndexField(java.lang.String fn) throws PException
fn
- A String containing the name of the index field.
PExceptionTyping
- There is no field with this name and
this type within this index.
PException
public java.lang.Long pieGetOlongIndexField(java.lang.String fn) throws PException
fn
- A String containing the name of the index field.
PExceptionTyping
- There is no field with this name and
this type within this index.
PException
public float pieGetFloatElem() throws PException
PExceptionTyping
- Elements are not of this type.
PException
public java.lang.Float pieGetOfloatElem() throws PException
PExceptionTyping
- Elements are not of this type.
PException
public double pieGetDoubleElem() throws PException
PExceptionTyping
- Elements are not of this type.
PException
public java.lang.Double pieGetOdoubleElem() throws PException
PExceptionTyping
- Elements are not of this type.
PException
public java.lang.String pieGetStringElem() throws PException
PExceptionTyping
- Elements are not of this type.
PException
public java.lang.String pieGetStringIndexField(java.lang.String fn) throws PException
fn
- A String containing the name of the index field.
PExceptionTyping
- There is no field with this name and
this type within this index.
PException
public java.util.Date pieGetDateElem() throws PException
PExceptionTyping
- Elements are not of this type.
PException
public java.util.Date pieGetDateIndexField(java.lang.String fn) throws PException
fn
- A String containing the name of the index field.
PExceptionTyping
- There is no field with this name and
this type within this index.
PException
public char[] pieGetCharArrayElem() throws PException
PExceptionTyping
- Elements are not of this type.
PException
public byte[] pieGetByteArrayElem() throws PException
PExceptionTyping
- Elements are not of this type.
PException
public java.io.Serializable pieGetSerializedElem() throws PException
PExceptionTyping
- Elements are not of this type.
PException
public java.math.BigInteger pieGetBigIntegerElem() throws PException
PExceptionTyping
- Elements are not of this type.
PException
public java.math.BigDecimal pieGetBigDecimalElem() throws PException
PExceptionTyping
- Elements are not of this type.
PException
public PName pieGetRefElem() throws PException
PExceptionTyping
- Elements are not of this type.
PException
public void pieSetBooleanElem(boolean value) throws PException
value
- The boolean value to assign.
PExceptionTyping
- Elements are not of this type.
PException
public void pieSetObooleanElem(java.lang.Boolean value) throws PException
value
- The Boolean value to assign.
PExceptionTyping
- Elements are not of this type.
PException
public void pieSetByteElem(byte value) throws PException
value
- The byte value to assign.
PExceptionTyping
- Elements are not of this type.
PException
public void pieSetObyteElem(java.lang.Byte value) throws PException
value
- The Byte value to assign.
PExceptionTyping
- Elements are not of this type.
PException
public void pieSetByteIndexField(java.lang.String fn, byte value) throws PException
fn
- A String containing the name of the field to be set.value
- The byte value to assign.
PExceptionTyping
- There is no field with this name and
this type within this index.
PException
public void pieSetObyteIndexField(java.lang.String fn, java.lang.Byte value) throws PException
fn
- A String containing the name of the field to be set.value
- The Byte value to assign.
PExceptionTyping
- There is no field with this name and
this type within this index.
PException
public void pieSetCharElem(char value) throws PException
value
- The char value to assign.
PExceptionTyping
- Elements are not of this type.
PException
public void pieSetOcharElem(java.lang.Character value) throws PException
value
- The Character value to assign.
PExceptionTyping
- Elements are not of this type.
PException
public void pieSetCharIndexField(java.lang.String fn, char value) throws PException
fn
- A String containing the name of the field to be set.value
- The char value to assign.
PExceptionTyping
- There is no field with this name and
this type within this index.
PException
public void pieSetOcharIndexField(java.lang.String fn, java.lang.Character value) throws PException
fn
- A String containing the name of the field to be set.value
- The Character value to assign.
PExceptionTyping
- There is no field with this name and
this type within this index.
PException
public void pieSetShortElem(short value) throws PException
value
- The short value to assign.
PExceptionTyping
- Elements are not of this type.
PException
public void pieSetOshortElem(java.lang.Short value) throws PException
value
- The Short value to assign.
PExceptionTyping
- Elements are not of this type.
PException
public void pieSetShortIndexField(java.lang.String fn, short value) throws PException
fn
- A String containing the name of the field to be set.value
- The short value to assign.
PExceptionTyping
- There is no field with this name and
this type within this index.
PException
public void pieSetOshortIndexField(java.lang.String fn, java.lang.Short value) throws PException
fn
- A String containing the name of the field to be set.value
- The Short value to assign.
PExceptionTyping
- There is no field with this name and
this type within this index.
PException
public void pieSetIntElem(int value) throws PException
value
- The int value to assign.
PExceptionTyping
- Elements are not of this type.
PException
public void pieSetOintElem(java.lang.Integer value) throws PException
value
- The Integer value to assign.
PExceptionTyping
- Elements are not of this type.
PException
public void pieSetIntIndexField(java.lang.String fn, int value) throws PException
fn
- A String containing the name of the field to be set.value
- The int value to assign.
PExceptionTyping
- There is no field with this name and
this type within this index.
PException
public void pieSetOintIndexField(java.lang.String fn, java.lang.Integer value) throws PException
fn
- A String containing the name of the field to be set.value
- The Integer value to assign.
PExceptionTyping
- There is no field with this name and
this type within this index.
PException
public void pieSetLongElem(long value) throws PException
value
- The long value to assign.
PExceptionTyping
- Elements are not of this type.
PException
public void pieSetOlongElem(java.lang.Long value) throws PException
value
- The Long value to assign.
PExceptionTyping
- Elements are not of this type.
PException
public void pieSetLongIndexField(java.lang.String fn, long value) throws PException
fn
- A String containing the name of the field to be set.value
- The long value to assign.
PExceptionTyping
- There is no field with this name and
this type within this index.
PException
public void pieSetOlongIndexField(java.lang.String fn, java.lang.Long value) throws PException
fn
- A String containing the name of the field to be set.value
- The Long value to assign.
PExceptionTyping
- There is no field with this name and
this type within this index.
PException
public void pieSetFloatElem(float value) throws PException
value
- The float value to assign.
PExceptionTyping
- Elements are not of this type.
PException
public void pieSetOfloatElem(java.lang.Float value) throws PException
value
- The Float value to assign.
PExceptionTyping
- Elements are not of this type.
PException
public void pieSetDoubleElem(double value) throws PException
value
- The double value to assign.
PExceptionTyping
- Elements are not of this type.
PException
public void pieSetOdoubleElem(java.lang.Double value) throws PException
value
- The Double value to assign.
PExceptionTyping
- Elements are not of this type.
PException
public void pieSetStringElem(java.lang.String value) throws PException
value
- The java.lang.String value to assign.
PExceptionTyping
- Elements are not of this type.
PException
public void pieSetStringIndexField(java.lang.String fn, java.lang.String value) throws PException
fn
- A String containing the name of the field to be set.value
- The java.lang.String value to assign.
PExceptionTyping
- There is no field with this name and
this type within this index.
PException
public void pieSetDateElem(java.util.Date value) throws PException
value
- The java.sql.Date value to assign.
PExceptionTyping
- Elements are not of this type.
PException
public void pieSetDateIndexField(java.lang.String fn, java.util.Date value) throws PException
fn
- A String containing the name of the field to be set.value
- The java.util.Date value to assign.
PExceptionTyping
- There is no field with this name and
this type within this index.
PException
public void pieSetCharArrayElem(char[] value) throws PException
value
- The char[] value to assign.
PExceptionTyping
- Elements are not of this type.
PException
public void pieSetByteArrayElem(byte[] value) throws PException
value
- The byte[] value to assign.
PExceptionTyping
- Elements are not of this type.
PException
public void pieSetSerializedElem(java.io.Serializable value) throws PException
value
- The java.io.Serializable value to assign.
PExceptionTyping
- Elements are not of this type.
PException
public void pieSetBigIntegerElem(java.math.BigInteger value) throws PException
value
- The java.math.BigInteger value to assign.
PExceptionTyping
- Elements are not of this type.
PException
public void pieSetBigDecimalElem(java.math.BigDecimal value) throws PException
value
- The java.math.BigDecimal value to assign.
PExceptionTyping
- Elements are not of this type.
PException
public void pieSetRefElem(PName value) throws PException
value
- The reference value to assign.
PExceptionTyping
- Elements are not of this type.
PException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |