Class EdmMappingImpl
- java.lang.Object
-
- org.apache.olingo.odata2.client.core.edm.Impl.EdmMappingImpl
-
- All Implemented Interfaces:
org.apache.olingo.odata2.api.edm.EdmMapping
public class EdmMappingImpl extends Object implements org.apache.olingo.odata2.api.edm.EdmMapping
Object of this class represent the mapping of a value to a MIME type.
-
-
Constructor Summary
Constructors Constructor Description EdmMappingImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetInternalExpression()StringgetInternalName()StringgetMediaResourceMimeTypeKey()StringgetMediaResourceSourceKey()ObjectgetObject()booleanisCalculated()voidsetCalculated(boolean calculated)EdmMappingImplsetInternalExpression(String value)EdmMappingImplsetInternalName(String value)Sets the value for thisEdmMappingImpl.EdmMappingImplsetMediaResourceMimeTypeKey(String mediaResourceMimeTypeKey)Sets the key for the resource mime type key which is used for the lookup in the data mapEdmMappingImplsetMediaResourceSourceKey(String mediaResourceSourceKey)Sets the key for the resource source key which is used for the lookup in the data mapEdmMappingImplsetObject(Object object)Sets an object.StringtoString()
-
-
-
Method Detail
-
getInternalName
public String getInternalName()
- Specified by:
getInternalNamein interfaceorg.apache.olingo.odata2.api.edm.EdmMapping
-
getInternalExpression
public String getInternalExpression()
- Specified by:
getInternalExpressionin interfaceorg.apache.olingo.odata2.api.edm.EdmMapping
-
setInternalExpression
public EdmMappingImpl setInternalExpression(String value)
-
getObject
public Object getObject()
- Specified by:
getObjectin interfaceorg.apache.olingo.odata2.api.edm.EdmMapping
-
isCalculated
public boolean isCalculated()
- Specified by:
isCalculatedin interfaceorg.apache.olingo.odata2.api.edm.EdmMapping
-
setCalculated
public void setCalculated(boolean calculated)
-
getMediaResourceSourceKey
public String getMediaResourceSourceKey()
- Specified by:
getMediaResourceSourceKeyin interfaceorg.apache.olingo.odata2.api.edm.EdmMapping
-
getMediaResourceMimeTypeKey
public String getMediaResourceMimeTypeKey()
- Specified by:
getMediaResourceMimeTypeKeyin interfaceorg.apache.olingo.odata2.api.edm.EdmMapping
-
setInternalName
public EdmMappingImpl setInternalName(String value)
Sets the value for thisEdmMappingImpl.- Parameters:
value- Valor- Returns:
EdmMappingImplfor method chaining
-
setObject
public EdmMappingImpl setObject(Object object)
Sets an object. This method can be used by a provider to set whatever it wants to associate with this.- Parameters:
object- Objeto- Returns:
EdmMappingImplfor method chaining
-
setMediaResourceSourceKey
public EdmMappingImpl setMediaResourceSourceKey(String mediaResourceSourceKey)
Sets the key for the resource source key which is used for the lookup in the data map- Parameters:
mediaResourceSourceKey- under which the source can be found in the data map- Returns:
EdmMappingImplfor method chaining
-
setMediaResourceMimeTypeKey
public EdmMappingImpl setMediaResourceMimeTypeKey(String mediaResourceMimeTypeKey)
Sets the key for the resource mime type key which is used for the lookup in the data map- Parameters:
mediaResourceMimeTypeKey- under which the mime type can be found in the data map- Returns:
EdmMappingImplfor method chaining
-
-