|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jpox.store.mapped.mapping.JavaTypeMapping
org.jpox.store.mapped.mapping.SingleFieldMapping
org.jpox.store.mapped.mapping.ObjectAsStringMapping
org.jpox.store.mapped.mapping.URLMapping
public class URLMapping
SCO Mapping for java.net.URL type.
| Field Summary |
|---|
| Fields inherited from class org.jpox.store.mapped.mapping.JavaTypeMapping |
|---|
datastoreContainer, datastoreMappings, dba, fmd, LOCALISER, MAPPING_ARRAY_ELEMENT, MAPPING_COLLECTION_ELEMENT, MAPPING_FIELD, MAPPING_MAP_KEY, MAPPING_MAP_VALUE, referenceMapping, roleForField, type |
| Constructor Summary | |
|---|---|
URLMapping()
|
|
| Method Summary | |
|---|---|
java.lang.Class |
getJavaType()
Method to return the Java type. |
java.lang.Object |
getSampleValue(ClassLoaderResolver clr)
Return a sample value of the mapping type to be used for internal evaluation of type and conversion. |
protected java.lang.String |
objectToString(java.lang.Object object)
Method to set the datastore string value based on the object value. |
protected java.lang.Object |
stringToObject(java.lang.String datastoreValue)
Method to extract the objects value from the datastore string value. |
| Methods inherited from class org.jpox.store.mapped.mapping.ObjectAsStringMapping |
|---|
getJavaTypeForDatastoreMapping, getObject, newLiteral, newScalarExpression, setObject |
| Methods inherited from class org.jpox.store.mapped.mapping.SingleFieldMapping |
|---|
equals, getBoolean, getByte, getChar, getDefaultLength, getDouble, getFloat, getInt, getLong, getShort, getString, getValidValues, initialize, prepareDatastoreMapping, setBoolean, setByte, setChar, setDouble, setFloat, setInt, setLong, setShort, setString |
| Methods inherited from class org.jpox.store.mapped.mapping.JavaTypeMapping |
|---|
addDataStoreMapping, failureMessage, getDatastoreContainer, getDataStoreMapping, getDataStoreMappings, getFieldMetaData, getNumberOfDatastoreFields, getObject, getReferenceMapping, getRoleForField, getType, includeInFetchStatement, includeInInsertStatement, includeInUpdateStatement, initialize, isNullable, isSerialised, setDefault, setFieldInformation, setObject, setReferenceMapping, setRoleForField |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public URLMapping()
| Method Detail |
|---|
public java.lang.Object getSampleValue(ClassLoaderResolver clr)
JavaTypeMapping
getSampleValue in class JavaTypeMappingclr - TODO
public java.lang.Class getJavaType()
getJavaType in class ObjectAsStringMappingJavaTypeMapping.getJavaType()protected java.lang.String objectToString(java.lang.Object object)
objectToString in class ObjectAsStringMappingobject - The object
protected java.lang.Object stringToObject(java.lang.String datastoreValue)
stringToObject in class ObjectAsStringMappingdatastoreValue - Value obtained from the datastore
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||