public class Element extends Field
Modifier and Type | Field and Description |
---|---|
static int |
ELEMID_ANY
'Any' Element ID - matches all element IDs.
|
static int |
ELEMID_ASSIGN
'Assign' Element ID - Used to request element ID assignment.
|
static int |
ELEMID_MAX
Maximum element ID value.
|
OPFLG_CUST_FLDS_ONLY, PIN_DD_FLDS_CUST_FLDS_MAX_RANGE1, PIN_DD_FLDS_CUST_FLDS_MIN_RANGE1, PIN_DD_FLDS_CUST_FLDS_MIN_RANGE2, TYPE_ARRAY, TYPE_BINSTR, TYPE_BUF, TYPE_DECIMAL, TYPE_ENUM, TYPE_ERR, TYPE_INT, TYPE_NUM, TYPE_OBJ, TYPE_POID, TYPE_STR, TYPE_SUBSTRUCT, TYPE_TEXTBUF, TYPE_TIME, TYPE_TSTAMP, TYPE_UINT, TYPE_UNUSED
Constructor and Description |
---|
Element(int nameID,
int typeID,
int elementID)
Constructs an instance of
Element from
a name ID, a type ID, and an element ID. |
Element(int nameID,
int typeID,
int elementID,
String name) |
Modifier and Type | Method and Description |
---|---|
int |
getElementID()
Returns the element ID.
|
void |
setElementID(int elementID)
Sets the element ID.
|
String |
toString()
Returns a string representation of field.
|
clone, equals, fromName, fromName, fromPINName, getName, getNameID, getNameString, getNameString, getPINType, getTypeID, hashCode, macroToClass
public static final int ELEMID_ANY
public static final int ELEMID_ASSIGN
public static final int ELEMID_MAX
public Element(int nameID, int typeID, int elementID)
Element
from
a name ID, a type ID, and an element ID.nameID
- A valid Portal field name.typeID
- A valid Portal storable class type name.elementID
- A valid element ID.ELEMID_ANY
,
ELEMID_ASSIGN
,
ELEMID_MAX
public Element(int nameID, int typeID, int elementID, String name)
Copyright © 2003, 2023, Oracle and/or its affiliates.