This class represents a placeholder for all unsupported OData primitive types. It can only be used to retrieve raw values "as is" (i.e. formatValue(vValue, "any")
), but not to actually convert to or from any other representation or to validate.
Method | Description |
---|---|
sap.ui.model.odata.type.Raw.extend |
Creates a new subclass of class sap.ui.model.odata.type.Raw with name
|
formatValue |
Formats the given value to the given target type.
|
sap.ui.model.odata.type.Raw.getMetadata |
Returns a metadata object for class sap.ui.model.odata.type.Raw. |
getName |
Returns the type's name.
|
parseValue |
Method not supported
|
validateValue |
Method not supported
|
Creates a new subclass of class sap.ui.model.odata.type.Raw with name sClassName
and enriches it with the information contained in oClassInfo
.
oClassInfo
might contain the same kind of information as described in sap.ui.model.odata.type.ODataType.extend.
Param | Type | DefaultValue | Description |
---|---|---|---|
sClassName | string |
Name of the class being created |
|
oClassInfo | object |
Object literal with information about the class |
|
FNMetaImpl | function |
Constructor function for the metadata object; if not given, it defaults to the metadata implementation used by this class |
Formats the given value to the given target type.
References:
Param | Type | DefaultValue | Description |
---|---|---|---|
vValue | any |
The raw value to be retrieved "as is" |
|
sTargetType | string |
The target type; must be "any" |