|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jsefa.common.mapping.TypeMapping<N>
N - the type of the data type namepublic abstract class TypeMapping<N>
A mapping between a java object type and a data type of the exchange format. The latter type is denoted by its name which has a generic type.
| Constructor Summary | |
|---|---|
TypeMapping(Class<?> objectType,
N dataTypeName)
Constructs a new TypeMapping. |
|
| Method Summary | |
|---|---|
N |
getDataTypeName()
Returns the name of the data type this mapping is for. |
Class<?> |
getObjectType()
Returns the object type this mapping is for. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TypeMapping(Class<?> objectType,
N dataTypeName)
TypeMapping.
objectType - the object type.dataTypeName - the data type name.| Method Detail |
|---|
public final Class<?> getObjectType()
public final N getDataTypeName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||