|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.as400.resource.ProgramAttributeSetter
public class ProgramAttributeSetter
The ProgramAttributeSetter class sets attribute values by calling a program on the system. The program call is specified using Program Call Markup Language (PCML).
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 Summary | |
---|---|
ProgramAttributeSetter(AS400 system,
ProgramCallDocument document,
ProgramMap attributeMap)
Deprecated. Constructs a ProgramAttributeSetter object. |
Method Summary | |
---|---|
void |
initializeAttributeValues(ProgramAttributeGetter attributeGetter)
Deprecated. Initializes the attribute values for the setter. |
void |
initializeAttributeValues(ProgramAttributeGetter attributeGetter,
Object[] attrsToInitializeFirst)
Deprecated. Initializes the attribute values for the setter. |
void |
setValues(Object[] attributeIDs,
Object[] values)
Deprecated. Sets the attribute values. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProgramAttributeSetter(AS400 system, ProgramCallDocument document, ProgramMap attributeMap)
system
- The system.document
- The PCML document.attributeMap
- The attribute map.Method Detail |
---|
public void initializeAttributeValues(ProgramAttributeGetter attributeGetter) throws ResourceException
attributeGetter
- The attribute getter with which to retrieve the current values from the system.
ResourceException
- If an error occurs.public void initializeAttributeValues(ProgramAttributeGetter attributeGetter, Object[] attrsToInitializeFirst) throws ResourceException
attributeGetter
- The attribute getter with which to retrieve the current values from the system.attrsToInitializeFirst
- The IDs of the attributes to initialize first, in desired order of initialization. These will typically be "length of another field" attributes.
ResourceException
- If an error occurs.public void setValues(Object[] attributeIDs, Object[] values) throws ResourceException
attributeIDs
- The attribute IDs.values
- The values. This array must contain the same number of
elements as attributeIDs.
ResourceException
- If an error occurs.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |