Class AttributePropertyImpl
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.AttributePropertyImpl
- All Implemented Interfaces:
Serializable,org.gcube.informationsystem.base.reference.Attribute,org.gcube.informationsystem.base.reference.AttributeDefinition,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,AttributeProperty,GCubeProperty
- Author:
- Luca Frosini (ISTI - CNR)
- See Also:
-
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.Attribute
DEFAULT_VALUE_PROPERTY, DESCRIPTION_PROPERTY, MAX_PROPERTY, MIN_PROPERTY, NAME_PROPERTY, PROPERTY_TYPE_PROPERTY, REGEX_PROPERTYFields inherited from interface org.gcube.informationsystem.base.reference.AttributeDefinition
MANDATORY_PROPERTY, NOT_NULL_PROPERTYFields inherited from interface org.gcube.resourcemanagement.model.reference.properties.AttributeProperty
NAMEFields 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
NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetMax()getMin()getName()org.gcube.informationsystem.types.PropertyTypeNamebooleanbooleanvoidsetDefaultValue(Object defaultValue) voidsetDescription(String description) voidsetMandatory(boolean mandatory) voidvoidvoidvoidsetNotnull(boolean notnull) voidsetPropertyType(String type) voidtoString()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
getTypeNameMethods 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, setAdditionalProperty
-
Field Details
-
name
-
description
-
defaultValue
-
-
Constructor Details
-
AttributePropertyImpl
public AttributePropertyImpl()
-
-
Method Details
-
getName
Description copied from interface:AttributeProperty- Specified by:
getNamein interfaceorg.gcube.informationsystem.base.reference.Attribute- Specified by:
getNamein interfaceAttributeProperty
-
setName
- Specified by:
setNamein interfaceorg.gcube.informationsystem.base.reference.Attribute
-
getDescription
Description copied from interface:AttributeProperty- Specified by:
getDescriptionin interfaceorg.gcube.informationsystem.base.reference.Attribute- Specified by:
getDescriptionin interfaceAttributeProperty
-
setDescription
- Specified by:
setDescriptionin interfaceorg.gcube.informationsystem.base.reference.Attribute
-
isMandatory
public boolean isMandatory()Description copied from interface:AttributeProperty- Specified by:
isMandatoryin interfaceorg.gcube.informationsystem.base.reference.AttributeDefinition- Specified by:
isMandatoryin interfaceAttributeProperty
-
setMandatory
public void setMandatory(boolean mandatory) - Specified by:
setMandatoryin interfaceorg.gcube.informationsystem.base.reference.AttributeDefinition
-
isNotnull
public boolean isNotnull()Description copied from interface:AttributeProperty- Specified by:
isNotnullin interfaceorg.gcube.informationsystem.base.reference.AttributeDefinition- Specified by:
isNotnullin interfaceAttributeProperty
-
setNotnull
public void setNotnull(boolean notnull) - Specified by:
setNotnullin interfaceorg.gcube.informationsystem.base.reference.AttributeDefinition
-
getMax
Description copied from interface:AttributeProperty- Specified by:
getMaxin interfaceorg.gcube.informationsystem.base.reference.Attribute- Specified by:
getMaxin interfaceAttributeProperty
-
setMax
- Specified by:
setMaxin interfaceorg.gcube.informationsystem.base.reference.Attribute
-
getMin
Description copied from interface:AttributeProperty- Specified by:
getMinin interfaceorg.gcube.informationsystem.base.reference.Attribute- Specified by:
getMinin interfaceAttributeProperty
-
setMin
- Specified by:
setMinin interfaceorg.gcube.informationsystem.base.reference.Attribute
-
getRegexp
Description copied from interface:AttributeProperty- Specified by:
getRegexpin interfaceorg.gcube.informationsystem.base.reference.Attribute- Specified by:
getRegexpin interfaceAttributeProperty
-
setRegexp
- Specified by:
setRegexpin interfaceorg.gcube.informationsystem.base.reference.Attribute
-
getPropertyType
Description copied from interface:AttributeProperty- Specified by:
getPropertyTypein interfaceorg.gcube.informationsystem.base.reference.Attribute- Specified by:
getPropertyTypein interfaceAttributeProperty
-
setPropertyType
- Specified by:
setPropertyTypein interfaceorg.gcube.informationsystem.base.reference.Attribute
-
getPropertyTypeName
public org.gcube.informationsystem.types.PropertyTypeName getPropertyTypeName()- Specified by:
getPropertyTypeNamein interfaceorg.gcube.informationsystem.base.reference.Attribute
-
getDefaultValue
Description copied from interface:AttributeProperty- Specified by:
getDefaultValuein interfaceorg.gcube.informationsystem.base.reference.Attribute- Specified by:
getDefaultValuein interfaceAttributeProperty
-
setDefaultValue
- Specified by:
setDefaultValuein interfaceorg.gcube.informationsystem.base.reference.Attribute
-
toString
- Overrides:
toStringin classorg.gcube.informationsystem.base.impl.ElementImpl
-