public class CasTypeSystemMapper extends Object
| Modifier and Type | Field and Description | 
|---|---|
| TypeSystemImpl | tsSrc | 
| WeakReference<TypeSystemImpl> | tsTgt | 
| Constructor and Description | 
|---|
| CasTypeSystemMapper(TypeSystemImpl tsSrc,
                   TypeSystemImpl tsTgt) | 
| Modifier and Type | Method and Description | 
|---|---|
| FeatureImpl | getSrcFeature(TypeImpl tgtType,
             FeatureImpl tgtFeat) | 
| FeatureImpl[] | getSrcFeatures(TypeImpl tgtType)Given a tgt type, return an array of source features in the order they would appear in the
 target. | 
| FeatureImpl | getTgtFeature(TypeImpl srcType,
             FeatureImpl srcFeat)Get target feature, given src type and feature | 
| FeatureImpl | getToFeature(FeatureImpl[][] mapByTypeCode,
            TypeImpl fromType,
            FeatureImpl fromFeat) | 
| boolean | isEqual() | 
| TypeImpl | mapTypeCode2Other(TypeImpl type,
                 boolean src2tgt) | 
| TypeImpl | mapTypeCodeTgt2Src(int tgtTypeCode) | 
| TypeImpl | mapTypeSrc2Tgt(TypeImpl srcType) | 
| TypeImpl | mapTypeTgt2Src(TypeImpl tgtType) | 
public final TypeSystemImpl tsSrc
public final WeakReference<TypeSystemImpl> tsTgt
public CasTypeSystemMapper(TypeSystemImpl tsSrc, TypeSystemImpl tsTgt)
public boolean isEqual()
public TypeImpl mapTypeSrc2Tgt(TypeImpl srcType)
srcType - -public TypeImpl mapTypeTgt2Src(TypeImpl tgtType)
tgtType - -public TypeImpl mapTypeCodeTgt2Src(int tgtTypeCode)
public TypeImpl mapTypeCode2Other(TypeImpl type, boolean src2tgt)
type - -src2tgt - -public FeatureImpl getTgtFeature(TypeImpl srcType, FeatureImpl srcFeat)
srcType - the source typesrcFeat - the source featurepublic FeatureImpl getSrcFeature(TypeImpl tgtType, FeatureImpl tgtFeat)
public FeatureImpl[] getSrcFeatures(TypeImpl tgtType)
tgtType - -public FeatureImpl getToFeature(FeatureImpl[][] mapByTypeCode, TypeImpl fromType, FeatureImpl fromFeat)
Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.