public final class EdmLiteral extends Object
EdmLiteralKind| Constructor and Description |
|---|
EdmLiteral(EdmSimpleType type,
String literal)
Creates an
EdmLiteral object out of the simple type and the literal string. |
| Modifier and Type | Method and Description |
|---|---|
String |
getLiteral()
Gets the literal String.
|
EdmSimpleType |
getType()
Gets the simple type of the literal.
|
String |
toString() |
public EdmLiteral(EdmSimpleType type, String literal)
EdmLiteral object out of the simple type and the literal string.type - EdmSimpleType simple typeliteral - String literal in default (not URI) representationpublic EdmSimpleType getType()
EdmSimpleType objectpublic String getLiteral()
String literal in default (not URI) representationCopyright © 2013-2015 The Apache Software Foundation. All Rights Reserved.