Interface EnumStringProperty

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<Set<String>,String>, ValidatedTypedProperty<Set<String>,String>
All Known Implementing Classes:
EnumStringPropertyImpl

@TypeMetadata(name="EnumStringProperty", description="EnumStringProperty is a string property validated against a set of accepted values.", version="1.1.0") @Change(version="1.1.0",description="Declared the \'value\' and \'schema\' properties.") @Change(version="1.0.0",description="First Version") public interface EnumStringProperty extends GCubeProperty, ValidatedTypedProperty<Set<String>,String>
EnumStringProperty is a string property validated against a set of accepted values.
Author:
Manuele Simi (ISTI - CNR), Luca Frosini (ISTI - CNR)
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
    Validator for ValueSchema properties.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The name associated with this property
    static final String
    The version of this type definition.

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

    DATETIME_PATTERN, REDACTED, TYPE_PROPERTY, UNKNOWN_USER

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

    EXPECTED_TYPE_PROPERTY, SUPERTYPES_PROPERTY
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a default instance of EnumStringProperty
    Gets the schema of the property.
    Gets the value of the property.
    void
    setSchema(Set<String> schema)
    Sets the schema of the property.
    void
    Sets the value of the property.
    default Validation
    Applies this validation to the property.

    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