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 Details

    • UnparseableLiteral

      public UnparseableLiteral(String rawValue, String datatype)
  • Method Details

    • 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