|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FML
This is the FML interface. Both FML16 and FML32 implement this interface, and hence both types of buffer can be treated identically by applications.
FmlKey
, FldTbl
, mkfldclass
Field Summary | |
---|---|
static int |
FLD_BOOL A field of type boolean - Object:<none> |
static int |
FLD_CARRAY A field of type carray - Object: byte[] |
static int |
FLD_CHAR A field of type char - Object: Character |
static int |
FLD_DECIMAL A field of type decimal - Object:<none> |
static int |
FLD_DOUBLE A field of type double - Object: Double |
static int |
FLD_FLOAT A field of type float - Object: Float |
static int |
FLD_FML32 An FML32 buffer field - Object: TypedFML32 |
static int |
FLD_INT A field of type int - Object:<none> |
static int |
FLD_LDOUBLE A field of type long double - Object:<none> |
static int |
FLD_LLONG A field of type long long - Object:<none> |
static int |
FLD_LONG A field of type long - Object: Integer |
static int |
FLD_MBSTRING A MBSTRING buffer field - Object: TypedMBString |
static int |
FLD_PTR A TypedBuffer field - Object: TypedBuffer |
static int |
FLD_SCHAR A field of type signed char - Object:<none> |
static int |
FLD_SHORT A field of type short - Object: Short |
static int |
FLD_STRING A field of type string - Object: String |
static int |
FLD_UCHAR A field of type unsigned char - Object:<none> |
static int |
FLD_UINT A field of type unsigned int - Object:<none> |
static int |
FLD_ULLONG A field of type unsigned long long - Object:<none> |
static int |
FLD_USHORT A field of type unsigned short - Object:<none> |
static int |
FLD_VIEW32 A VIEW32 buffer field - Object:<none> |
static int |
FLD_WCHAR A field of type wchar - Object:<none> |
Method Summary | |
---|---|
abstract void |
Fchg(FmlKey key, Object value) Adds the given object, whose field id is contained in key to the fielded buffer. |
abstract void |
Fchg(int fldid, int occurance, Object value) Adds the given object. |
abstract void |
Fdel(FmlKey key) Delete given key from fielded buffer. |
abstract void |
Fdel(int fldid, int occurance) Delete given element from fielded buffer. |
abstract Object |
Fget(FmlKey key) Retrieves a copy of the object stored in the FML buffer of the given field id and occurance number. |
abstract Object |
Fget(int fldid, int occurance) Retrieves a copy of the object stored in the FML buffer of the given field id and occurance number. |
abstract Iterator |
Fiterator() Returns an iterator for the start of the fielded FML buffer. |
abstract int |
Fldid(String name) Returns the field id corresponding to the given name. |
abstract int |
Fldno(int fldid) Given a fieldid, this returns the field number |
abstract int |
Fldtype(int fldid) Given a fieldid, this returns the field type |
abstract String |
Fname(int fldid) Returns the string that matches the given fieldid. |
abstract int |
Foccur(int fldid) Returns the number of occurences of the field specified by fldid |
abstract int |
Fused() Returns the amount of space that this FML buffer will take when present |
abstract FldTbl[] |
getFieldTables() gets the current list of FldTbls that are being used by this TypedFML object to do FldId/String mappings. |
abstract void |
setFieldTables(FldTbl[] tables) This function sets the list of FldTbl objects that can be used for FldId/String mappings |
Field Detail |
---|
static final int FLD_SHORT
static final int FLD_LONG
static final int FLD_CHAR
static final int FLD_FLOAT
static final int FLD_DOUBLE
static final int FLD_STRING
static final int FLD_CARRAY
static final int FLD_INT
static final int FLD_DECIMAL
static final int FLD_PTR
static final int FLD_FML32
static final int FLD_VIEW32
static final int FLD_MBSTRING
static final int FLD_BOOL
static final int FLD_UCHAR
static final int FLD_SCHAR
static final int FLD_WCHAR
static final int FLD_UINT
static final int FLD_LLONG
static final int FLD_ULLONG
static final int FLD_LDOUBLE
static final int FLD_USHORT
Method Detail |
---|
void setFieldTables(FldTbl[] tables)
tables
- The list of tables to use for FldId/String mappingsFldTbl
FldTbl[] getFieldTables()
int Fldno(int fldid)
fldid
- The field id from which to extract the field numberint Fldtype(int fldid)
fldid
- The field id from which to extract the field typevoid Fchg(FmlKey key, Object value) throws Ferror
key
- The fieldid and occurance to add to the buffervalue
- The element to add to the buffer. Note that this object must match the type of object expected by the field type, or an invalid cast exception will be thrownFerror
- usually if space is lowFmlKey
void Fchg(int fldid, int occurance, Object value) throws Ferror
fldid
- The fieldid to add to this bufferoccurance
- The occurance number of the field to addvalue
- The element to add to the buffer. Note that this object must match the type of object expected by the field type, or an invalid cast exception will be thrownFerror
- usually if space is lowFmlKey
Object Fget(FmlKey key) throws Ferror
key
- the field id and occurance number of the element to retrieveFerror
- if the object is not found in the buffer among other reasonsObject Fget(int fldid, int occurance) throws Ferror
fldid
- The field id of the element to retrieveoccurance
- The occurance number of the element to retrieveFerror
- if the object is not found in the buffer among other reasonsIterator Fiterator() throws Ferror
Ferror
int Foccur(int fldid)
fldid
- the field id to look for in the fielded FML buffervoid Fdel(FmlKey key) throws Ferror
key
- The field id and occurance of the element to be removedFerror
- if the element is not in the buffer among other reasonsvoid Fdel(int fldid, int occurance) throws Ferror
fldid
- The field id of the element to be removedoccurance
- The occurance of the element to be removedFerror
- if the element is not in the buffer among other reasonsString Fname(int fldid) throws Ferror
fldid
- The field id to map to a stringFerror
- if the name cannot be foundint Fldid(String name) throws Ferror
name
- the name of the field we are trying to findinteger
field idFerror
- if the field id cannot be foundint Fused() throws Ferror
Ferror
|
Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |