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="Enum String Property", version="1.0.0") @Change(version="1.0.0", description="First Version") public interface EnumStringProperty extends GCubeProperty, ValidatedTypedProperty<Set<String>,String>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 classEnumStringProperty.SetStringValidatorValidator forValueSchemaproperties.
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default Validationvalidate()Applies this validation to the property.-
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.utilities.TypedProperty
getSchema, getValue, setSchema, setValue
-
-
-
-
Field Detail
-
NAME
static final String NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
validate
default Validation validate()
Description copied from interface:ValidatedTypedPropertyApplies this validation to the property.- Specified by:
validatein interfaceValidatedTypedProperty<Set<String>,String>- Returns:
- the validation result
-
-