|
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_BOOLA field of type boolean - Object:<none> |
static int |
FLD_CARRAYA field of type carray - Object: byte[] |
static int |
FLD_CHARA field of type char - Object: Character |
static int |
FLD_DECIMALA field of type decimal - Object:<none> |
static int |
FLD_DOUBLEA field of type double - Object: Double |
static int |
FLD_FLOATA field of type float - Object: Float |
static int |
FLD_FML32An FML32 buffer field - Object: TypedFML32 |
static int |
FLD_INTA field of type int - Object:<none> |
static int |
FLD_LDOUBLEA field of type long double - Object:<none> |
static int |
FLD_LLONGA field of type long long - Object:<none> |
static int |
FLD_LONGA field of type long - Object: Integer |
static int |
FLD_MBSTRINGA MBSTRING buffer field - Object: TypedMBString |
static int |
FLD_PTRA TypedBuffer field - Object: TypedBuffer |
static int |
FLD_SCHARA field of type signed char - Object:<none> |
static int |
FLD_SHORTA field of type short - Object: Short |
static int |
FLD_STRINGA field of type string - Object: String |
static int |
FLD_UCHARA field of type unsigned char - Object:<none> |
static int |
FLD_UINTA field of type unsigned int - Object:<none> |
static int |
FLD_ULLONGA field of type unsigned long long - Object:<none> |
static int |
FLD_USHORTA field of type unsigned short - Object:<none> |
static int |
FLD_VIEW32A VIEW32 buffer field - Object:<none> |
static int |
FLD_WCHARA 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 mappingsFldTblFldTbl[] 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 type
void 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 reasons
Object 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 reasons
Iterator Fiterator()
throws Ferror
Ferrorint Foccur(int fldid)
fldid - the field id to look for in the fielded FML buffer
void 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 reasons
void 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 reasons
String Fname(int fldid)
throws Ferror
fldid - The field id to map to a stringFerror - if the name cannot be found
int Fldid(String name)
throws Ferror
name - the name of the field we are trying to findinteger field idFerror - if the field id cannot be found
int 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 | |||||||||