Package net.sf.joafip.store.entity.classinfo

Examples of net.sf.joafip.store.entity.classinfo.FieldInfo


      final ClassInfo fieldType, final String originalFieldName,
      final Boolean staticField, final Boolean transientField)
      throws ImportException, ImportClassNotFoundException {
    try {
      // FIXMELUC ______known field
      return new FieldInfo(fieldDeclaringClass, originalFieldName,
          fieldType, staticField, transientField);
    } catch (ClassInfoException exception) {
      throw new ImportException(exception);
    }
  }
View Full Code Here


  public ObjectIOGetField(final FieldInfo[] fieldsInfo,// NOPMD
      final ObjectClassInfoAndDeclared[] values, final int offset) {// NOPMD
    this.offset = offset;
    this.values = values;
    for (int index = 0; index < fieldsInfo.length; index++) {
      final FieldInfo fieldInfo = fieldsInfo[index];
      if (fieldInfo.isPersisted()) {
        fieldindexByFieldNameMap.put(fieldInfo.getFieldName(), index);
      }
    }
  }
View Full Code Here

        } else if (!fieldReplacementDef.isDeletedField()) {
          /*
           * set result with replacement field info, target field
           * index, and field value
           */
          final FieldInfo newFieldInfo = fieldReplacementDef
              .getFieldInfo();
          int fieldIndex = fieldReplacementDef.getIndex();
          if (fieldIndex == -1) {
            // unknown replacement field index
            for (fieldIndex = 0; fieldIndex < fieldsToSetInfo.length// NOPMD
                && !newFieldInfo
                    .equals(fieldsToSetInfo[fieldIndex]); fieldIndex++)
              ;
            if (fieldIndex == fieldsToSetInfo.length) {
              throw new ConversionException(
                  "unexisting field in object to set fields:\n"
View Full Code Here

TOP

Related Classes of net.sf.joafip.store.entity.classinfo.FieldInfo

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.