|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This container-interface provides the possibility to set values on a persistent or transient content whose structure and types conform to an underlying schema.
ProcedureContext.getContext(AdaptationName)
,
ProcedureContext.getContextForNewOccurrence(AdaptationTable)
Method Summary | |
void |
setValue(Object aValue,
Path aPath)
Sets the value to the node specified. |
void |
setValueFromXsString(String aString,
Path aPath)
The string must comply with the standard representation of the associated type, as specified by XML Schema. |
Methods inherited from interface com.softwareag.mdm.instance.ValueContext |
displayOccurrence, formatOccurrence, getHome, getNode, getNode, getValue, getValue |
Method Detail |
public void setValue(Object aValue, Path aPath) throws UnavailableContentError, PathAccessException, IllegalArgumentException
On a terminal adaptation node, the peculiar value AdaptationValue.INHERIT_VALUE
may be set for specifying that a node inherits its value from the parent adaptation instance
(this is indeed the default value for a newly created adaptation instance).
The container will validate it against the schema type and constraints when the transaction is committed.
Any update on data must conform to Rule for updates.
UnavailableContentError
- If content has become unavailable because of a schema error.
PathAccessException
- If the node specified does not exist.
IllegalArgumentException
- If the node specified cannot be written.AdaptationValue.INHERIT_VALUE
public void setValueFromXsString(String aString, Path aPath) throws InvalidChangeError, UnavailableContentError, PathAccessException
Any update on data must conform to Rule for updates.
InvalidChangeError
UnavailableContentError
PathAccessException
SchemaNode.parseXsString(String)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
(report a bug)
webMethods MDM 4.2.8 [0558]
Copyright Software AG 2000-2007. All rights reserved.