public class CsdlMapping extends Object implements EdmMapping
Constructor and Description |
---|
CsdlMapping() |
Modifier and Type | Method and Description |
---|---|
String |
getInternalName()
Returns the internal name for this mapped object.
|
Class<?> |
getMappedJavaClass()
The class which is returned here will be used to during deserialization to replace the default java class for a
primitive type.
|
CsdlMapping |
setInternalName(String internalName)
Sets the internal name for this mapped object.
|
CsdlMapping |
setMappedJavaClass(Class<?> mappedJavaClass)
Sets the class to be used during deserialization to transform an EDM primitive type into this java class.
|
public CsdlMapping setInternalName(String internalName)
internalName
- public CsdlMapping setMappedJavaClass(Class<?> mappedJavaClass)
EdmPrimitiveType
.mappedJavaClass
- class to which is mappedpublic Class<?> getMappedJavaClass()
EdmMapping
getMappedJavaClass
in interface EdmMapping
public String getInternalName()
EdmMapping
getInternalName
in interface EdmMapping
Copyright © 2013–2018 The Apache Software Foundation. All rights reserved.