public class NativeAPIEntry extends InternalEntry
InternalEntry.Type
Modifier and Type | Field and Description |
---|---|
private CallingConvention |
callconv
The API calling convention.
|
private java.lang.String |
libname
Library name in which this native API exists.
|
private int |
ordinal
The ordinal if the API is exported via ordinal instead of name.
|
private boolean |
persistent
Flag to determine if a library loaded just for this call should be kept in memory.
|
BUFFER_MODE, INPUT_MODE, INPUT_OUTPUT_MODE, OUTPUT_MODE
Constructor and Description |
---|
NativeAPIEntry(java.lang.String pname,
java.lang.String jname)
Construct an instance.
|
Modifier and Type | Method and Description |
---|---|
CallingConvention |
getCallingConvention()
Get the calling convention.
|
java.lang.String |
getLibraryName()
Get the library name.
|
int |
getOrdinal()
Get the ordinal.
|
boolean |
isPersistent()
Checks if the library should be loaded persistently.
|
void |
putAttribute(java.lang.String name,
java.lang.String value)
Set the value of the given attribute.
|
getAttribute, getLegacyName, getParameter, getParameterList, getParameterListSize, getParameterModes, getParameters, getSignature, isFunction, isInHandle, isOutputMode, isPrivate, isSuper
private java.lang.String libname
private CallingConvention callconv
private boolean persistent
private int ordinal
public NativeAPIEntry(java.lang.String pname, java.lang.String jname)
pname
- Legacy 4GL name for this internal-entry.jname
- Converted Java name for this internal-entry.public void putAttribute(java.lang.String name, java.lang.String value)
putAttribute
in class InternalEntry
name
- The attribute's name.value
- The attribute's value.public java.lang.String getLibraryName()
public CallingConvention getCallingConvention()
public boolean isPersistent()
true
if the library should be loaded persistently.public int getOrdinal()