Package com.portal.pcm
Class Element
java.lang.Object
com.portal.pcm.Field
com.portal.pcm.Element
- All Implemented Interfaces:
Serializable
,Cloneable
- Direct Known Subclasses:
ArrayField
The element class contains information pertaining to fields that belong
to an FList array.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
'Any' Element ID - matches all element IDs.static final int
'Assign' Element ID - Used to request element ID assignment.static final int
Maximum element ID value.Fields inherited from class com.portal.pcm.Field
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_INT64, TYPE_NUM, TYPE_OBJ, TYPE_POID, TYPE_STR, TYPE_SUBSTRUCT, TYPE_TEXTBUF, TYPE_TIME, TYPE_TSTAMP, TYPE_UINT, TYPE_UNUSED
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the element ID.void
setElementID
(int elementID) Sets the element ID.toString()
Returns a string representation of field.Methods inherited from class com.portal.pcm.Field
clone, equals, fromName, fromName, fromPINName, getName, getNameID, getNameString, getNameString, getPINType, getTypeID, hashCode, macroToClass
-
Field Details
-
ELEMID_ANY
public static final int ELEMID_ANY'Any' Element ID - matches all element IDs.- See Also:
-
ELEMID_ASSIGN
public static final int ELEMID_ASSIGN'Assign' Element ID - Used to request element ID assignment.- See Also:
-
ELEMID_MAX
public static final int ELEMID_MAXMaximum element ID value.- See Also:
-
-
Constructor Details
-
Element
public Element(int nameID, int typeID, int elementID) Constructs an instance ofElement
from a name ID, a type ID, and an element ID.- Parameters:
nameID
- A valid Portal field name.typeID
- A valid Portal storable class type name.elementID
- A valid element ID.- See Also:
-
Element
-
-
Method Details
-
getElementID
public int getElementID()Returns the element ID.- Returns:
- The element id.
-
setElementID
public void setElementID(int elementID) Sets the element ID.- Parameters:
elementID
- The element ID.
-
toString
Description copied from class:Field
Returns a string representation of field.
-