public class AlternativeAssignmentConverter extends Converter
| Modifier and Type | Field and Description |
|---|---|
static String |
ALTERNATIVE_AFFECTATION |
static String |
ALTERNATIVE_ASSIGNMENT |
| Constructor and Description |
|---|
AlternativeAssignmentConverter() |
| Modifier and Type | Method and Description |
|---|---|
<VALUE_TYPE> |
convertTo_v2(AlternativeAssignment<VALUE_TYPE> alternativeAssignment_v3) |
<T> AlternativeAssignment<T> |
convertTo_v3(AlternativeAffectation affectation_v2,
XMCDA xmcda_v3)
Converts a XMVDA v2
<alternativeAffectation> into a XMCDA v3 <alternativeAssignment>. |
getWarningspublic static final String ALTERNATIVE_ASSIGNMENT
public static final String ALTERNATIVE_AFFECTATION
public <T> AlternativeAssignment<T> convertTo_v3(AlternativeAffectation affectation_v2, XMCDA xmcda_v3)
<alternativeAffectation> into a XMCDA v3 <alternativeAssignment>. Not all
<alternativeAffectation>s can be converted: those referring to a <alternativeSet> or to a
<alternativesSetID> cannot be converted (there are no shuch things in XMCDA v3); in this case the
method returns null.affectation_v2 - the XMCDA v2 alternative affectation to convertxmcda_v3 - the XMCDA object in which the conversion searches for objects (or creates them)alternative assignment, or null
if it cannot be convertedpublic <VALUE_TYPE> AlternativeAffectation convertTo_v2(AlternativeAssignment<VALUE_TYPE> alternativeAssignment_v3)
Copyright © 2013–2021 Sébastien Bigaret, Patrick Meyer. All rights reserved.