Package org.apache.olingo.odata2.api.edm
Class EdmLiteral
java.lang.Object
org.apache.olingo.odata2.api.edm.EdmLiteral
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionEdmLiteral(EdmSimpleType type, String literal) Creates anEdmLiteralobject out of the simple type and the literal string. -
Method Summary
-
Constructor Details
-
EdmLiteral
Creates anEdmLiteralobject out of the simple type and the literal string.- Parameters:
type-EdmSimpleTypesimple typeliteral- String literal in default (not URI) representation
-
-
Method Details
-
getType
Gets the simple type of the literal.- Returns:
EdmSimpleTypeobject
-
getLiteral
Gets the literal String.- Returns:
Stringliteral in default (not URI) representation
-
toString
-