Package com.cognifide.slice.mapper.annotation

Examples of com.cognifide.slice.mapper.annotation.SliceReference


  }

  @Override
  public Object mapResourceToField(final Resource resource, final ValueMap valueMap, final Field field,
      final String propertyName) {
    final SliceReference sliceReferenceAnnotation = field.getAnnotation(SliceReference.class);
    final String initialPath = sliceReferenceAnnotation.value();
    final String fullPath = getFullPath(initialPath);
    final Class<?> fieldType = field.getType();
    return modelProvider.get().get(fieldType, fullPath);
  }
View Full Code Here


  }

  @Override
  public Object mapResourceToField(final Resource resource, final ValueMap valueMap, final Field field,
      final String propertyName) {
    final SliceReference sliceReferenceAnnotation = field.getAnnotation(SliceReference.class);
    final String initialPath = sliceReferenceAnnotation.value();
    final String fullPath = getFullPath(initialPath);
    final Class<?> fieldType = field.getType();
    return modelProvider.get().get(fieldType, fullPath);
  }
View Full Code Here

  }

  @Override
  public Object mapResourceToField(final Resource resource, final ValueMap valueMap, final Field field,
      final String propertyName) {
    final SliceReference sliceReferenceAnnotation = field.getAnnotation(SliceReference.class);
    final String initialPath = sliceReferenceAnnotation.value();
    final String fullPath = getFullPath(initialPath);
    final Class<?> fieldType = field.getType();
    return modelProvider.get().get(fieldType, fullPath);
  }
View Full Code Here

TOP

Related Classes of com.cognifide.slice.mapper.annotation.SliceReference

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.