TypeDescriptor
instead.@Deprecated public class TypeDescriptor extends Object
Constructor and Description |
---|
TypeDescriptor()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ItemType |
getItemType()
Deprecated.
|
Map<String,PropertyTypeDescriptor> |
getPropertyDescriptors(TypeMapping typeMapping)
Deprecated.
This method is not synchronized to avoid thread blocking, but the method guarantees that the returned map is not mutated afterward.
|
PropertyTypeDescriptor |
getPropertyTypeDescriptor(String propertyName,
TypeMapping typeMapping)
Deprecated.
|
Content2BeanTransformer |
getTransformer()
Deprecated.
Can return a custom transformer.
|
Class<?> |
getType()
Deprecated.
|
boolean |
isCollection()
Deprecated.
|
boolean |
isMap()
Deprecated.
|
boolean |
needsDefaultMapping()
Deprecated.
|
void |
setCollection(boolean isCollection)
Deprecated.
|
void |
setItemType(ItemType itemType)
Deprecated.
|
void |
setMap(boolean isMap)
Deprecated.
|
void |
setTransformer(Content2BeanTransformer transformer)
Deprecated.
|
void |
setType(Class<?> type)
Deprecated.
|
public ItemType getItemType()
public void setItemType(ItemType itemType)
public Class<?> getType()
public void setType(Class<?> type)
public boolean isCollection()
public void setCollection(boolean isCollection)
public boolean isMap()
public void setMap(boolean isMap)
public PropertyTypeDescriptor getPropertyTypeDescriptor(String propertyName, TypeMapping typeMapping)
public boolean needsDefaultMapping()
public Map<String,PropertyTypeDescriptor> getPropertyDescriptors(TypeMapping typeMapping)
public Content2BeanTransformer getTransformer()
public void setTransformer(Content2BeanTransformer transformer)
Copyright © 2003–2018 Magnolia International Ltd.. All rights reserved.