|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.decisiondeck.jmcda.persist.xmcda2.utils.XMCDAHelper
org.decisiondeck.jmcda.persist.xmcda2.utils.XMCDAHelperWithVarious
org.decisiondeck.jmcda.persist.xmcda2.XMCDADecisionMakers
public class XMCDADecisionMakers
Methods for reading and writing decision makers informations from and to XMCDA fragments.
| Constructor Summary | |
|---|---|
XMCDADecisionMakers()
Creates a new object which will use the default error management strategy XMCDAErrorsManager.ErrorManagement.THROW. |
|
XMCDADecisionMakers(XMCDAErrorsManager errorsManager)
Creates a new object delegating error management to the given error manager in case of unexpected data read. |
|
| Method Summary | |
|---|---|
Set<DecisionMaker> |
read(XMethodParameters xMethodParameters)
Retrieves the set of decision makers found in the given fragment. |
XMethodParameters |
write(Set<DecisionMaker> dms)
Retrieves an XMCDA fragment representing the given set of decision makers. |
| Methods inherited from class org.decisiondeck.jmcda.persist.xmcda2.utils.XMCDAHelper |
|---|
error, getStrategy, setStrategy |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XMCDADecisionMakers()
XMCDAErrorsManager.ErrorManagement.THROW.
public XMCDADecisionMakers(XMCDAErrorsManager errorsManager)
errorsManager - not null.| Method Detail |
|---|
public XMethodParameters write(Set<DecisionMaker> dms)
dms - not null.
null.
public Set<DecisionMaker> read(XMethodParameters xMethodParameters)
throws InvalidInputException
Retrieves the set of decision makers found in the given fragment.
This method expects the decision makers to have a label set. In case of unexpected data, an exception is thrown
if this object follows the XMCDAErrorsManager.ErrorManagement.THROW strategy, otherwise, non conforming informations will be
skipped.
xMethodParameters - not null.
null iff the given fragment contains an XValue that is not a label and this object
does not follows the XMCDAErrorsManager.ErrorManagement.THROW strategy.
InvalidInputException - iff the given fragment contains a XValue that is not a label and this object follows the
XMCDAErrorsManager.ErrorManagement.THROW strategy.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||