Class ValueSchemaImpl
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
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
FieldsFields inherited from class org.gcube.informationsystem.base.impl.properties.PropertyElementImpl
additionalProperties, allowedAdditionalKeys, expectedtype, supertypesFields inherited from interface org.gcube.informationsystem.base.reference.Element
DATETIME_PATTERN, NAME, TYPE_PROPERTYFields inherited from interface org.gcube.resourcemanagement.model.reference.properties.GCubeProperty
NAMEFields inherited from interface org.gcube.informationsystem.model.reference.ModelElement
EXPECTED_TYPE_PROPERTY, SUPERTYPES_PROPERTYFields inherited from interface org.gcube.informationsystem.model.reference.properties.Property
NAMEFields inherited from interface org.gcube.resourcemanagement.model.reference.properties.ValueSchema
NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAn URI containing a schema used to validate/interpret the content of the value.getValue()The value which schema is available at the URI provided in the schema property.voidSets an URI containing a schema used to validate/interpret the content of the value.voidSets the value which schema is available at the URI provided in the schema property.Methods inherited from class org.gcube.informationsystem.base.impl.properties.PropertyElementImpl
addAllowedAdditionalKey, getAdditionalProperties, getAdditionalProperty, getExpectedtype, getSupertypes, setAdditionalProperties, setAdditionalPropertyMethods inherited from class org.gcube.informationsystem.base.impl.ElementImpl
getTypeName, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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, setAdditionalPropertyMethods inherited from interface org.gcube.resourcemanagement.model.reference.properties.ValueSchema
validate
-
Field Details
-
value
The value -
schema
The schema URI
-
-
Constructor Details
-
ValueSchemaImpl
public ValueSchemaImpl()Default Constructor
-
-
Method Details
-
getValue
The value which schema is available at the URI provided in the schema property.- Specified by:
getValuein interfaceTypedProperty<URI,String> - Specified by:
getValuein interfaceValueSchema- Returns:
- the value which schema is available at the URI provided in the schema property.
-
setValue
Sets the value which schema is available at the URI provided in the schema property.- Specified by:
setValuein interfaceTypedProperty<URI,String> - Specified by:
setValuein interfaceValueSchema- Parameters:
value- the value to set
-
getSchema
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.- Specified by:
getSchemain interfaceTypedProperty<URI,String> - Specified by:
getSchemain interfaceValueSchema- Returns:
- 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.
-
setSchema
Sets an URI containing a schema used to validate/interpret the content of the value. It is only an informative field. The validation is charge of the client.- Specified by:
setSchemain interfaceTypedProperty<URI,String> - Specified by:
setSchemain interfaceValueSchema- Parameters:
schema- an URI containing a schema used to validate/interpret the content of the value. It is only an informative field. The validation is charge of the client.
-