@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>
| Modifier and Type | Interface and Description |
|---|---|
static class |
ValueSchema.SchemaValidator
Validator for
ValueSchema properties. |
| Modifier and Type | Method and Description |
|---|---|
URI |
getSchema()
An URI containing a schema used to validate/interpret the content of the value.
|
String |
getValue()
The value which schema is available at the URI provided in the schema property.
|
void |
setSchema(URI schema) |
void |
setValue(String value) |
default Validation |
validate()
Applies this validation to the property.
|
static final String NAME
default Validation validate()
ValidatedTypedPropertyvalidate in interface ValidatedTypedProperty<URI,String>@ISProperty(description="The value which schema is available at the URI provided in the schema property.",
mandatory=true,
nullable=false)
String getValue()
getValue in interface TypedProperty<URI,String>void setValue(String value)
setValue in interface TypedProperty<URI,String>@ISProperty(description="An 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.") URI getSchema()
getSchema in interface TypedProperty<URI,String>void setSchema(URI schema)
setSchema in interface TypedProperty<URI,String>Copyright © 2022. All Rights Reserved.