Class RegexPropertyImpl
- 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.RegexPropertyImpl
-
- 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,RegexProperty,TypedProperty<String,String>,ValidatedTypedProperty<String,String>
public class RegexPropertyImpl extends GCubePropertyImpl implements RegexProperty
Implementation forRegexProperty.- Author:
- Manuele Simi (ISTI CNR)
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.gcube.resourcemanagement.model.reference.properties.RegexProperty
RegexProperty.RegexValidator
-
-
Field Summary
Fields Modifier and Type Field Description protected StringtypeThe type (regex pattern)-
Fields inherited from class org.gcube.informationsystem.base.impl.properties.PropertyElementImpl
additionalProperties, allowedAdditionalKeys, expectedtype, supertypes
-
Fields inherited from interface org.gcube.informationsystem.base.reference.Element
DATETIME_PATTERN, NAME, TYPE_PROPERTY
-
Fields inherited from interface org.gcube.resourcemanagement.model.reference.properties.GCubeProperty
NAME
-
Fields inherited from interface org.gcube.informationsystem.model.reference.ModelElement
EXPECTED_TYPE_PROPERTY, SUPERTYPES_PROPERTY
-
Fields inherited from interface org.gcube.informationsystem.model.reference.properties.Property
NAME
-
Fields inherited from interface org.gcube.resourcemanagement.model.reference.properties.RegexProperty
NAME
-
-
Constructor Summary
Constructors Constructor Description RegexPropertyImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetSchema()Gets the schema of the property.StringgetValue()Gets the value of the property.voidsetSchema(String type)Sets the schema of the property.voidsetValue(String value)Sets the value of the property.-
Methods inherited from class org.gcube.informationsystem.base.impl.properties.PropertyElementImpl
addAllowedAdditionalKey, getAdditionalProperties, getAdditionalProperty, getExpectedtype, getSupertypes, setAdditionalProperties, setAdditionalProperty
-
Methods inherited from class org.gcube.informationsystem.base.impl.ElementImpl
getTypeName, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
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.RegexProperty
validate
-
-
-
-
Field Detail
-
type
protected String type
The type (regex pattern)
-
-
Method Detail
-
getValue
public String getValue()
Gets the value of the property.- Specified by:
getValuein interfaceRegexProperty- Specified by:
getValuein interfaceTypedProperty<String,String>- Returns:
- the value
-
setValue
public void setValue(String value)
Sets the value of the property.- Specified by:
setValuein interfaceRegexProperty- Specified by:
setValuein interfaceTypedProperty<String,String>- Parameters:
value- the new value
-
getSchema
public String getSchema()
Gets the schema of the property.- Specified by:
getSchemain interfaceRegexProperty- Specified by:
getSchemain interfaceTypedProperty<String,String>- Returns:
- the schema
-
setSchema
public void setSchema(String type)
Sets the schema of the property.- Specified by:
setSchemain interfaceRegexProperty- Specified by:
setSchemain interfaceTypedProperty<String,String>- Parameters:
type- the new schema
-
-