@Deprecated public class ConversionDescription extends Object
ConversionDescription
Type | Property and Description |
---|---|
String |
as
Deprecated.
Returns the conversion description as property entry.
|
Modifier and Type | Field and Description |
---|---|
static String |
DEPRECATED_ELEMENT_PREFIX
Deprecated.
|
static String |
ELEMENT_PREFIX
Deprecated.
|
String |
fullQualifiedClassName
Deprecated.
|
static String |
KEY_PREFIX
Deprecated.
|
static String |
KEY_PROPERTY_PREFIX
Deprecated.
|
protected static org.apache.logging.log4j.Logger |
log
Deprecated.
Jakarta commons-logging reference.
|
String |
property
Deprecated.
|
String |
rule
Deprecated.
|
String |
type
Deprecated.
|
String |
typeConverter
Deprecated.
|
String |
value
Deprecated.
|
Constructor and Description |
---|
ConversionDescription()
Deprecated.
|
ConversionDescription(String property)
Deprecated.
Creates an ConversionDescription with the specified property name.
|
Modifier and Type | Method and Description |
---|---|
String |
asProperty()
Deprecated.
Returns the conversion description as property entry.
|
String |
getFullQualifiedClassName()
Deprecated.
Returns the fullQualifiedClassName attribute is used to create the special
conversion.properties file name. |
String |
getType()
Deprecated.
|
String |
getValue()
Deprecated.
|
void |
setFullQualifiedClassName(String fullQualifiedClassName)
Deprecated.
The fullQualifiedClassName attribute is used to create the special
conversion.properties file name. |
void |
setProperty(String property)
Deprecated.
Sets the property name to be inserted into the related conversion.properties file.
Note: Do not add COLLECTION_PREFIX or MAP_PREFIX keys to property names. |
void |
setRule(String rule)
Deprecated.
|
void |
setType(String type)
Deprecated.
|
void |
setTypeConverter(String typeConverter)
Deprecated.
Sets the class name of the type converter to be used.
|
void |
setValue(String value)
Deprecated.
|
public String asProperty
Example:
property.name = converter.className
Collection_property.name = converter.className
Map_property.name = converter.className
KeyProperty_name = id
protected static org.apache.logging.log4j.Logger log
public static final String KEY_PREFIX
public static final String ELEMENT_PREFIX
public static final String KEY_PROPERTY_PREFIX
public static final String DEPRECATED_ELEMENT_PREFIX
public String property
public String typeConverter
public String rule
public String value
public String fullQualifiedClassName
public String type
public ConversionDescription()
public ConversionDescription(String property)
property
- propertypublic void setProperty(String property)
Sets the property name to be inserted into the related conversion.properties file.
Note: Do not add COLLECTION_PREFIX or MAP_PREFIX keys to property names.
property
- The property to be converted.public void setTypeConverter(String typeConverter)
typeConverter
- The class name of the type converter.public void setRule(String rule)
rule
- the rule prefix for COLLECTION_PREFIX or MAP_PREFIX key. Defaults to en empty String.public void setType(String type)
public String getType()
public String getValue()
public void setValue(String value)
public String asProperty()
Example:
property.name = converter.className
Collection_property.name = converter.className
Map_property.name = converter.className
KeyProperty_name = id
public String getFullQualifiedClassName()
conversion.properties
file name.public void setFullQualifiedClassName(String fullQualifiedClassName)
conversion.properties
file name.fullQualifiedClassName
- a full qualified class nameCopyright © 2000–2020 Apache Software Foundation. All rights reserved.