Package net.sf.joafip.store.entity.conversion

Examples of net.sf.joafip.store.entity.conversion.FieldConversionMap


    assertEquals("bad replacement class", classInfoForA,// NOPMD
        classReplacementDef.getReplacementClass());

    assertTrue("must not have static replacement def", classReplacementDef
        .getStaticFieldConversionMap().isEmpty());
    final FieldConversionMap fieldConversionMap = classReplacementDef
        .getFieldConversionMap();
    assertFalse("must have field replacement def",
        fieldConversionMap.isEmpty());

    final Set<Entry<FieldInfo, FieldReplacementDef>> set = fieldConversionMap
        .newFieldByOriginalFieldMapEntrySet();
    assertEquals("must have one replacement def", 1, set.size());
    final Iterator<Entry<FieldInfo, FieldReplacementDef>> setIterator = set
        .iterator();
    final Entry<FieldInfo, FieldReplacementDef> entry = setIterator.next();
View Full Code Here


    assertEquals("bad replacement class", classInfoForA,
        classReplacementDef.getReplacementClass());

    assertTrue("must not have static replacement def", classReplacementDef
        .getStaticFieldConversionMap().isEmpty());
    final FieldConversionMap fieldConversionMap = classReplacementDef
        .getFieldConversionMap();
    assertFalse("must have field replacement def",
        fieldConversionMap.isEmpty());

    final Set<Entry<FieldInfo, FieldReplacementDef>> set = fieldConversionMap
        .newFieldByOriginalFieldMapEntrySet();
    assertEquals("must have 1 field replacement def", 1, set.size());

    final Iterator<Entry<FieldInfo, FieldReplacementDef>> setIterator = set
        .iterator();
View Full Code Here

    assertEquals("bad original class", classInfoForA,
        classReplacementDef.getOriginalClass());
    assertEquals("bad replacement class", classInfoForB,
        classReplacementDef.getReplacementClass());

    final FieldConversionMap fieldConversionMap = classReplacementDef
        .getFieldConversionMap();
    assertFalse("must have field replacement def",
        fieldConversionMap.isEmpty());

    final Set<Entry<FieldInfo, FieldReplacementDef>> set = fieldConversionMap
        .newFieldByOriginalFieldMapEntrySet();
    assertEquals("must have 1 field replacement def", 1, set.size());

    final Iterator<Entry<FieldInfo, FieldReplacementDef>> setIterator = set
        .iterator();
View Full Code Here

TOP

Related Classes of net.sf.joafip.store.entity.conversion.FieldConversionMap

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.