Package org.decisiondeck.jmcda.persist.xmcda2

Classes to export to and import from XMCDA documents.

See:
          Description

Class Summary
XMCDAAlternatives Methods for reading alternatives from XMCDA fragments, and writing (sets of) alternatives to XMCDA.
XMCDAAlternativesMatrix Methods for reading alternative matrixes from XMCDA fragments, and writing matrixes of alternatives to XMCDA.
XMCDAAlternativesScores Methods for reading and writing alternative scores from and to XMCDA fragments.
XMCDAAssignments Methods for reading and writing alternative assignments from and to XMCDA fragments.
XMCDACategories Methods for reading and writing categories, including relations between categories and profiles defining them, from and to XMCDA fragments.
XMCDACriteria Methods for reading and writing criteria and related informations from and to XMCDA fragments.
XMCDACriteria.IsContinuousInterval A predicate that returns true if the given interval is not null and is continuous, thus, has no step size.
XMCDADecisionMakers Methods for reading and writing decision makers informations from and to XMCDA fragments.
XMCDAEvaluations Methods for reading and writing evaluations informations (called performance tables in XMCDA terms) from and to XMCDA fragments.
XMCDAOrderedIntervals Methods for reading and writing continuous intervals informations (called scales in XMCDA terms) from and to XMCDA fragments.
XMCDAVarious Reads from and writes to various XMCDA fragments.
 

Enum Summary
XMCDAAlternatives.AlternativesParsingMethod  
 

Package org.decisiondeck.jmcda.persist.xmcda2 Description

Classes to export to and import from XMCDA documents.

Vocabulary notes: a part of an XMCDA document is called a fragment. Methods reading data from XMCDA fragments may specify that they expect the fragment to conform to some specific structure. This is necessarily compatible with, and more restrictive than, the XMCDA standard. For example, a method may say that a fragment is expected to contain only numbers as values (thus not labels or anything else). When such expectation is not satisfied, i.e. in our example, if the fragment contains a value that is not a number, the reader class will act according to one of several possible error management strategies. The default strategy is to throw an InvalidInputException. The exception comes with a message that will explain briefly which unexpected situation was met. Throwing an exception stops the reading, thus other possible errors occuring in other places in the fragment are omitted from the message. The user may command the reader object to use other strategies to avoid stopping reading at the first error: log all errors, or collect all errors. In the latter case, the object may (and should) be queried to retrieve all error messages after the read.

When the classes documentation refers to alternatives, it generally designates alternatives and profiles, as profiles are represented in XMCDA as fictive alternatives. The class XMCDAAlternatives contains specific methods to discriminate real alternatives and profiles.



Copyright © 2011. All Rights Reserved.