test_class.file: model/src/test/java/com/abiquo/model/util/ModelTransformerTest.java
test_class.identifier: ModelTransformerTest
test_case.body: @Test
      public void transformPersistence() throws Exception
      {
          Datacenter obj = new Datacenter("test", "situation test");
  
          DatacenterDto dto = ModelTransformer.transportFromPersistence(DatacenterDto.class, obj);
  
          assertEquals(obj.getId(), dto.getId());
          assertEquals(obj.getName(), dto.getName());
          assertEquals(obj.getLocation(), dto.getLocation());
      }
test_case.class_method_signature: ModelTransformerTest.transformPersistence()
test_case.full_signature: @Test public void transformPersistence()
test_case.identifier: transformPersistence
test_case.invocations: transportFromPersistence assertEquals getId getId assertEquals getName getName assertEquals getLocation getLocation
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void transformPersistence()
focal_class.file: model/src/main/java/com/abiquo/model/util/ModelTransformer.java
focal_class.identifier: ModelTransformer
focal_class.class_method_signature: ModelTransformer.transportFromPersistence(final Class<T> clazz, final Object persistent)
focal_class.full_signature: public static T transportFromPersistence(final Class<T> clazz, final Object persistent)
focal_class.identifier: transportFromPersistence
focal_class.modifiers: public static
focal_class.parameters: (final Class<T> clazz, final Object persistent)
focal_class.return: T
focal_class.signature: T transportFromPersistence(final Class<T> clazz, final Object persistent)
focal_class.class_method_signature: ModelTransformer.persistenceFromTransport(final Class<T> clazz, final Object transport)
focal_class.full_signature: public static T persistenceFromTransport(final Class<T> clazz, final Object transport)
focal_class.identifier: persistenceFromTransport
focal_class.modifiers: public static
focal_class.parameters: (final Class<T> clazz, final Object transport)
focal_class.return: T
focal_class.signature: T persistenceFromTransport(final Class<T> clazz, final Object transport)
focal_class.class_method_signature: ModelTransformer.transform(final Class sourceClass, final Class<T> targetClass,
          final Object template)
focal_class.full_signature: public static T transform(final Class sourceClass, final Class<T> targetClass,
          final Object template)
focal_class.identifier: transform
focal_class.modifiers: public static
focal_class.parameters: (final Class sourceClass, final Class<T> targetClass,
          final Object template)
focal_class.return: T
focal_class.signature: T transform(final Class sourceClass, final Class<T> targetClass,
          final Object template)
focal_class.class_method_signature: ModelTransformer.transform(final Class sourceClass, final Class<T> targetClass,
          final Object source, final T target)
focal_class.full_signature: public static void transform(final Class sourceClass, final Class<T> targetClass,
          final Object source, final T target)
focal_class.identifier: transform
focal_class.modifiers: public static
focal_class.parameters: (final Class sourceClass, final Class<T> targetClass,
          final Object source, final T target)
focal_class.return: void
focal_class.signature: void transform(final Class sourceClass, final Class<T> targetClass,
          final Object source, final T target)
focal_class.class_method_signature: ModelTransformer.getter(final String fieldName, final Class clazz)
focal_class.full_signature: private static Method getter(final String fieldName, final Class clazz)
focal_class.identifier: getter
focal_class.modifiers: private static
focal_class.parameters: (final String fieldName, final Class clazz)
focal_class.return: Method
focal_class.signature: Method getter(final String fieldName, final Class clazz)
focal_class.class_method_signature: ModelTransformer.getter(final String prefix, final String fieldName, final Class clazz)
focal_class.full_signature: private static Method getter(final String prefix, final String fieldName, final Class clazz)
focal_class.identifier: getter
focal_class.modifiers: private static
focal_class.parameters: (final String prefix, final String fieldName, final Class clazz)
focal_class.return: Method
focal_class.signature: Method getter(final String prefix, final String fieldName, final Class clazz)
focal_class.class_method_signature: ModelTransformer.setter(final String fieldName, final Class clazz, final Class type)
focal_class.full_signature: private static Method setter(final String fieldName, final Class clazz, final Class type)
focal_class.identifier: setter
focal_class.modifiers: private static
focal_class.parameters: (final String fieldName, final Class clazz, final Class type)
focal_class.return: Method
focal_class.signature: Method setter(final String fieldName, final Class clazz, final Class type)
focal_class.class_method_signature: ModelTransformer.fieldExist(final String fieldName, final Class clazz)
focal_class.full_signature: private static boolean fieldExist(final String fieldName, final Class clazz)
focal_class.identifier: fieldExist
focal_class.modifiers: private static
focal_class.parameters: (final String fieldName, final Class clazz)
focal_class.return: boolean
focal_class.signature: boolean fieldExist(final String fieldName, final Class clazz)
focal_class.class_method_signature: ModelTransformer.getterExist(final String fieldName, final Class clazz)
focal_class.full_signature: private static boolean getterExist(final String fieldName, final Class clazz)
focal_class.identifier: getterExist
focal_class.modifiers: private static
focal_class.parameters: (final String fieldName, final Class clazz)
focal_class.return: boolean
focal_class.signature: boolean getterExist(final String fieldName, final Class clazz)
focal_class.class_method_signature: ModelTransformer.setterExist(final String fieldName, final Class clazz, final Class type)
focal_class.full_signature: private static boolean setterExist(final String fieldName, final Class clazz, final Class type)
focal_class.identifier: setterExist
focal_class.modifiers: private static
focal_class.parameters: (final String fieldName, final Class clazz, final Class type)
focal_class.return: boolean
focal_class.signature: boolean setterExist(final String fieldName, final Class clazz, final Class type)
focal_method.body: public static <T> T transportFromPersistence(final Class<T> clazz, final Object persistent)
          throws Exception
      {
          return transform(clazz, clazz, persistent);
      }
focal_method.class_method_signature: ModelTransformer.transportFromPersistence(final Class<T> clazz, final Object persistent)
focal_method.full_signature: public static T transportFromPersistence(final Class<T> clazz, final Object persistent)
focal_method.identifier: transportFromPersistence
focal_method.invocations: transform
focal_method.modifiers: public static
focal_method.parameters: (final Class<T> clazz, final Object persistent)
focal_method.return: T
focal_method.signature: T transportFromPersistence(final Class<T> clazz, final Object persistent)