Interface ValueSchema
- All Superinterfaces:
org.gcube.informationsystem.base.reference.Element,GCubeProperty,org.gcube.informationsystem.model.reference.ModelElement,org.gcube.informationsystem.model.reference.properties.Property,org.gcube.informationsystem.base.reference.properties.PropertyElement,org.gcube.informationsystem.base.reference.SchemaMixedElement,Serializable,TypedProperty<URI,,String> ValidatedTypedProperty<URI,String>
- All Known Implementing Classes:
ValueSchemaImpl
@Deprecated
@TypeMetadata(name="ValueSchema",
description="This type aims at exposing a value which can be automatically managed by any client with no knowledge of its format.",
version="1.0.0")
@Change(version="1.0.0",
description="First Version")
public interface ValueSchema
extends GCubeProperty, ValidatedTypedProperty<URI,String>
Deprecated.
Maintained temporarily for backward compatibility.
This type aims at exposing a value which can be automatically managed by any
client with no knowledge of its format.
The client can retrieve the schema at the provided URI, i.e., schema
property,
and use its content to understand/validate/manipulate the information
contained in the value property.
The client must have the capability to understand the semantics of content
retrieved at the URI endpoint.
Examples of application of such type are eXtensible Markup Language (XML)
values which can be
validated by a Document Type Definition (DTD) or XML Schema Definition (XSD).
- Author:
- Luca Frosini (ISTI - CNR)
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from interface org.gcube.informationsystem.base.reference.Element
DATETIME_PATTERN, REDACTED, TYPE_PROPERTY, UNKNOWN_USERFields inherited from interface org.gcube.informationsystem.model.reference.ModelElement
EXPECTED_TYPE_PROPERTY, SUPERTYPES_PROPERTY -
Method Summary
Modifier and TypeMethodDescriptionstatic ValueSchemaDeprecated.Deprecated.getValue()Deprecated.voidDeprecated.voidDeprecated.default Validationvalidate()Deprecated.Methods inherited from interface org.gcube.informationsystem.base.reference.Element
getTypeNameMethods inherited from interface org.gcube.informationsystem.model.reference.ModelElement
getExpectedtype, getSupertypesMethods inherited from interface org.gcube.informationsystem.model.reference.properties.Property
getAdditionalProperties, getAdditionalProperty, setAdditionalProperties, setAdditionalProperty
-
Field Details
-
NAME
Deprecated.The name associated with this property- See Also:
-
-
Method Details
-
getDefaultInstance
Deprecated.Returns a default instance of ValueSchema- Returns:
- a default instance of ValueSchema
-
validate
Deprecated.Applies this validation to the property.- Specified by:
validatein interfaceValidatedTypedProperty<URI,String> - Returns:
- the validation result
-
getValue
@ISProperty(description="The value whose schema is available at the URI provided in the schema property.", mandatory=true) @Deprecated String getValue()Deprecated.The value whose schema is available at the URI provided in the schema property.- Specified by:
getValuein interfaceTypedProperty<URI,String> - Returns:
- the value whose schema is available at the URI provided in the schema property.
-
setValue
Deprecated.Sets the value whose schema is available at the URI provided in the schema property.- Specified by:
setValuein interfaceTypedProperty<URI,String> - Parameters:
value- the value to set
-
getSchema
@ISProperty(description="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.") @Deprecated 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:
getSchemain interfaceTypedProperty<URI,String> - 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.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:
setSchemain interfaceTypedProperty<URI,String> - 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.
-