public class CollectionPropertyHidingTransformer extends Node2BeanTransformerImpl
Constructor and Description |
---|
CollectionPropertyHidingTransformer(Class<?> beanClass,
String collectionName) |
Modifier and Type | Method and Description |
---|---|
TypeDescriptor |
getPropertyType() |
protected TypeDescriptor |
onResolveType(TypeMapping typeMapping,
TransformationState state,
TypeDescriptor resolvedType,
ComponentProvider componentProvider)
Called once the type should have been resolved.
|
void |
setProperty(TypeMapping mapping,
TransformationState state,
PropertyTypeDescriptor descriptor,
Map<String,Object> values)
Set this property on that bean.
|
convertPropertyValue, createCollectionFromMap, getChildren, initBean, isBeanEnabled, newBeanInstance, newState, resolveType
protected TypeDescriptor onResolveType(TypeMapping typeMapping, TransformationState state, TypeDescriptor resolvedType, ComponentProvider componentProvider)
Node2BeanTransformerImpl
onResolveType
in class Node2BeanTransformerImpl
public void setProperty(TypeMapping mapping, TransformationState state, PropertyTypeDescriptor descriptor, Map<String,Object> values) throws javax.jcr.RepositoryException
Node2BeanTransformer
setProperty
in interface Node2BeanTransformer
setProperty
in class Node2BeanTransformerImpl
javax.jcr.RepositoryException
public TypeDescriptor getPropertyType()
Copyright © 2003–2015 Magnolia International Ltd.. All rights reserved.