public class ProgramAttributeGetter
extends java.lang.Object
implements java.io.Serializable
This class uses a ProgramMap
object to define how attribute values are
specified in the PCML definition. This class is intended as a helper
class for implementing subclasses of Resource
.
Constructor and Description |
---|
ProgramAttributeGetter(AS400 system,
ProgramCallDocument document,
ProgramMap attributeMap)
Deprecated.
Constructs a ProgramAttributeGetter object.
|
Modifier and Type | Method and Description |
---|---|
void |
clearBuffer()
Deprecated.
Clears any buffered attribute values.
|
java.lang.Object |
getValue(java.lang.Object attributeID)
Deprecated.
Returns an attribute value.
|
java.lang.Object |
getValue(java.lang.Object attributeID,
int bidiStringType)
Deprecated.
Returns an attribute value.
|
public ProgramAttributeGetter(AS400 system, ProgramCallDocument document, ProgramMap attributeMap)
system
- The system.document
- The PCML document.attributeMap
- The attribute map.public void clearBuffer()
public java.lang.Object getValue(java.lang.Object attributeID) throws ResourceException
attributeID
- The attribute ID.ResourceException
- If an error occurs.public java.lang.Object getValue(java.lang.Object attributeID, int bidiStringType) throws ResourceException
attributeID
- The attribute ID.bidiStringType
- The bidi string type as defined by the CDRA (Character Data
Representation Architecture). See
BidiStringType
for more information and valid values.ResourceException
- If an error occurs.