|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.olingo.odata2.api.edm.provider.Mapping
public class Mapping
Object of this class represent the mapping of a value to a MIME type.
Constructor Summary | |
---|---|
Mapping()
|
Method Summary | |
---|---|
String |
getInternalName()
Get the mapping value |
String |
getMediaResourceMimeTypeKey()
Gets the key under which the resource mime type can be found in the data map. |
String |
getMediaResourceSourceKey()
Gets the key under which the resource source value can be found in the data map. |
Object |
getObject()
Get the set object for this mapping |
Mapping |
setInternalName(String value)
Sets the value for this Mapping . |
Mapping |
setMediaResourceMimeTypeKey(String mediaResourceMimeTypeKey)
Sets the key for the resource mime type key which is used for the lookup in the data map |
Mapping |
setMediaResourceSourceKey(String mediaResourceSourceKey)
Sets the key for the resource source key which is used for the lookup in the data map |
Mapping |
setObject(Object object)
Sets an object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Mapping()
Method Detail |
---|
public String getInternalName()
EdmMapping
getInternalName
in interface EdmMapping
public Object getObject()
EdmMapping
getObject
in interface EdmMapping
Object
objectpublic String getMediaResourceSourceKey()
EdmMapping
getMediaResourceSourceKey
in interface EdmMapping
public String getMediaResourceMimeTypeKey()
EdmMapping
getMediaResourceMimeTypeKey
in interface EdmMapping
public Mapping setInternalName(String value)
Mapping
.
value
-
Mapping
for method chainingpublic Mapping setObject(Object object)
object
-
Mapping
for method chainingpublic Mapping setMediaResourceSourceKey(String mediaResourceSourceKey)
mediaResourceSourceKey
- under which the source can be found in the data map
Mapping
for method chainingpublic Mapping setMediaResourceMimeTypeKey(String mediaResourceMimeTypeKey)
mediaResourceMimeTypeKey
- under which the mime type can be found in the data map
Mapping
for method chaining
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |