java.lang.Object
org.gcube.informationsystem.base.impl.ElementImpl
org.gcube.informationsystem.base.impl.properties.PropertyElementImpl
org.gcube.informationsystem.model.impl.properties.PropertyImpl
org.gcube.resourcemanagement.model.impl.properties.GCubePropertyImpl
org.gcube.resourcemanagement.model.impl.properties.ValueSchemaImpl
All Implemented Interfaces:
Serializable, org.gcube.informationsystem.base.reference.Element, org.gcube.informationsystem.base.reference.properties.PropertyElement, org.gcube.informationsystem.base.reference.SchemaMixedElement, org.gcube.informationsystem.model.reference.ModelElement, org.gcube.informationsystem.model.reference.properties.Property, GCubeProperty, TypedProperty<URI,String>, ValidatedTypedProperty<URI,String>, ValueSchema

@Deprecated public class ValueSchemaImpl extends GCubePropertyImpl implements ValueSchema
Deprecated.
Maintained temporarily for backward compatibility.
A property with an URI as value
Author:
Luca Frosini (ISTI - CNR)
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.gcube.resourcemanagement.model.reference.properties.ValueSchema

    ValueSchema.SchemaValidator
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected URI
    Deprecated.
    protected String
    Deprecated.

    Fields inherited from class org.gcube.informationsystem.base.impl.properties.PropertyElementImpl

    additionalProperties, allowedAdditionalKeys, expectedType, supertypes

    Fields inherited from interface org.gcube.informationsystem.base.reference.Element

    DATETIME_PATTERN, NAME, REDACTED, TYPE_PROPERTY, UNKNOWN_USER

    Fields inherited from interface org.gcube.resourcemanagement.model.reference.properties.GCubeProperty

    NAME

    Fields inherited from interface org.gcube.informationsystem.model.reference.ModelElement

    EXPECTED_TYPE_PROPERTY, SUPERTYPES_PROPERTY

    Fields inherited from interface org.gcube.informationsystem.model.reference.properties.Property

    NAME

    Fields inherited from interface org.gcube.resourcemanagement.model.reference.properties.ValueSchema

    NAME
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated.
    Deprecated.
    void
    setSchema(URI schema)
    Deprecated.
    void
    Deprecated.

    Methods inherited from class org.gcube.informationsystem.base.impl.properties.PropertyElementImpl

    addAllowedAdditionalKey, getAdditionalProperties, getAdditionalProperty, getExpectedType, getSupertypes, setAdditionalProperties, setAdditionalProperty

    Methods inherited from class org.gcube.informationsystem.base.impl.ElementImpl

    getTypeName, toString

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface org.gcube.informationsystem.base.reference.Element

    getTypeName

    Methods inherited from interface org.gcube.informationsystem.model.reference.ModelElement

    getExpectedType, getSupertypes

    Methods inherited from interface org.gcube.informationsystem.model.reference.properties.Property

    getAdditionalProperties, getAdditionalProperty, setAdditionalProperties, setAdditionalProperty

    Methods inherited from interface org.gcube.resourcemanagement.model.reference.properties.ValueSchema

    validate
  • Field Details

  • Constructor Details

    • ValueSchemaImpl

      @Deprecated public ValueSchemaImpl()
      Deprecated.
      Default Constructor
  • Method Details

    • getValue

      @Deprecated public String getValue()
      Deprecated.
      The value whose schema is available at the URI provided in the schema property.
      Specified by:
      getValue in interface TypedProperty<URI,String>
      Specified by:
      getValue in interface ValueSchema
      Returns:
      the value whose schema is available at the URI provided in the schema property.
    • setValue

      @Deprecated public void setValue(String value)
      Deprecated.
      Sets the value whose schema is available at the URI provided in the schema property.
      Specified by:
      setValue in interface TypedProperty<URI,String>
      Specified by:
      setValue in interface ValueSchema
      Parameters:
      value - the value to set
    • getSchema

      @Deprecated public URI getSchema()
      Deprecated.
      A URI containing a schema used to validate/interpret the content of the value. It is only an informative field. The validation is in charge of the client.
      Specified by:
      getSchema in interface TypedProperty<URI,String>
      Specified by:
      getSchema in interface ValueSchema
      Returns:
      a URI containing a schema used to validate/interpret the content of the value. It is only an informative field. The validation is in charge of the client.
    • setSchema

      @Deprecated public void setSchema(URI schema)
      Deprecated.
      Sets a URI containing a schema used to validate/interpret the content of the value. It is only an informative field. The validation is in charge of the client.
      Specified by:
      setSchema in interface TypedProperty<URI,String>
      Specified by:
      setSchema in interface ValueSchema
      Parameters:
      schema - a URI containing a schema used to validate/interpret the content of the value. It is only an informative field. The validation is in charge of the client.