org.eclipse.lyo.oslc4j.core

## Class UnparseableLiteral

- java.lang.Object
- - org.eclipse.lyo.oslc4j.core.UnparseableLiteral

-     public class UnparseableLiteral
      extends Object

  Represents properties whose value is not valid for the declared datatype. This enables clients to at least see the raw value and preserve the value when updating the resource with PUT. Strict datatypes must be disabled.
  See Also:
    "AbstractOslcRdfXmlProvider.OSLC4J_STRICT_DATATYPES"

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `UnparseableLiteral(String rawValue, String datatype)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getDatatype()`
    `String` | `getRawValue()`
    `void` | `setDatatype(String value)`
    `void` | `setRawValue(String value)`
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### UnparseableLiteral

          public UnparseableLiteral(String rawValue,
                            String datatype)

  - ### Method Detail

    - #### getRawValue

          public String getRawValue()

    - #### getDatatype

          public String getDatatype()

    - #### setRawValue

          public void setRawValue(String value)

    - #### setDatatype

          public void setDatatype(String value)

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2016. All rights reserved.