|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgldapo.schema.attribute.type.DefaultTypeMappings
public class DefaultTypeMappings
| Constructor Summary | |
|---|---|
DefaultTypeMappings()
|
|
| Method Summary | |
|---|---|
MetaClass |
getMetaClass()
|
Object |
getProperty(String name)
|
Object |
invokeMethod(String name,
Object args)
|
static Object |
mapFromBooleanType(Object value)
|
static Object |
mapFrombyteArrayType(Object value)
|
static Object |
mapFromByteArrayType(Object value)
|
static Object |
mapFromDistinguishedNameType(Object value)
|
static Object |
mapFromFloatType(Object value)
|
static Object |
mapFromIntegerType(Object value)
|
static Object |
mapFromLongType(Object value)
|
static Object |
mapFromShortType(Object value)
|
static Object |
mapFromStringType(Object value)
|
static Object |
mapToBigDecimalType(Object value)
Default type mapping for Decimal type Uses new Decimal(String) to convert. |
static Object |
mapToBigIntegerType(Object value)
Default type mapping for BigInteger type Uses new BigInteger(String) to convert. |
static Object |
mapToBooleanType(Object value)
|
static Object |
mapTobyteArrayType(Object value)
|
static Object |
mapToByteArrayType(Object value)
|
static Object |
mapToDistinguishedNameType(Object value)
|
static Object |
mapToDoubleType(Object value)
Default type mapping for Double type Uses new Double(String) to convert. |
static Object |
mapToFloatType(Object value)
Default type mapping for Float type Uses new Float(String) to convert. |
static Object |
mapToIntegerType(Object value)
Default type mapping for Integer type Uses new Integer(String) to convert. |
static Object |
mapToLongType(Object value)
Default type mapping for Long type Uses new Long(String) to convert. |
static Object |
mapToShortType(Object value)
Default type mapping for Short type Uses new Short(String) to convert. |
static Object |
mapToStringType(Object value)
Default type mapping for String type |
void |
setMetaClass(MetaClass metaClass)
|
void |
setProperty(String name,
Object value)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultTypeMappings()
| Method Detail |
|---|
public static Object mapToStringType(Object value)
value - The string representation
public static Object mapFromStringType(Object value)
public static Object mapTobyteArrayType(Object value)
public static Object mapFrombyteArrayType(Object value)
public static Object mapToByteArrayType(Object value)
public static Object mapFromByteArrayType(Object value)
public static Object mapToIntegerType(Object value)
throws NumberFormatException
value - The string representation
NumberFormatException - if the string can't be converted into an Integerpublic static Object mapFromIntegerType(Object value)
public static Object mapToBigIntegerType(Object value)
throws NumberFormatException
value - The string representation
NumberFormatException - if the string can't be converted into a BigInteger
public static Object mapToBigDecimalType(Object value)
throws NumberFormatException
value - The string representation
NumberFormatException - if the string can't be converted into a Decimal
public static Object mapToDoubleType(Object value)
throws NumberFormatException
value - The string representation
NumberFormatException - if the string can't be converted into a Double
public static Object mapToFloatType(Object value)
throws NumberFormatException
value - The string representation
NumberFormatException - if the string can't be converted into a Floatpublic static Object mapFromFloatType(Object value)
public static Object mapToLongType(Object value)
throws NumberFormatException
value - The string representation
NumberFormatException - if the string can't be converted into a Longpublic static Object mapFromLongType(Object value)
public static Object mapToShortType(Object value)
throws NumberFormatException
value - The string representation
NumberFormatException - if the string can't be converted into a Shortpublic static Object mapFromShortType(Object value)
public static Object mapToDistinguishedNameType(Object value)
public static Object mapFromDistinguishedNameType(Object value)
public static Object mapToBooleanType(Object value)
public static Object mapFromBooleanType(Object value)
public MetaClass getMetaClass()
public void setMetaClass(MetaClass metaClass)
public Object invokeMethod(String name,
Object args)
public Object getProperty(String name)
public void setProperty(String name,
Object value)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||