Package pl.net.bluesoft.rnd.processtool.dict.mapping.metadata.item

Examples of pl.net.bluesoft.rnd.processtool.dict.mapping.metadata.item.ItemInfo


    }
    return itemInfos.get(clazz);
  }

  private ItemInfo createItemInfo(Class clazz) {// 1 provider na slownik -> keszowanie
    ItemInfo itemInfo = new ItemInfo();
    for (Field field : getDeclaredFields(clazz)) {
      DictKey dictKey = field.getAnnotation(DictKey.class);
      if (dictKey != null) {
        PropertyInfo propInfo = new PropertyInfo();
        propInfo.setProperty(field.getName());
        propInfo.setDictName(dictKey.dict());
        propInfo.setDictEntryProvider(getDictEntryProvider(dictKey.dict()));
        itemInfo.addPropertyInfo(propInfo);
      }
    }
    return itemInfo;
  }
View Full Code Here

TOP

Related Classes of pl.net.bluesoft.rnd.processtool.dict.mapping.metadata.item.ItemInfo

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.