Interface AttributeProperty

  • All Superinterfaces:
    org.gcube.informationsystem.base.reference.Attribute, org.gcube.informationsystem.base.reference.AttributeDefinition, 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
    All Known Implementing Classes:
    AttributePropertyImpl

    @TypeMetadata(name="AttributeProperty",
                  description="This class model as property any attrbute must be instantiated.",
                  version="1.0.0")
    @Change(version="1.0.0",
            description="First Version")
    public interface AttributeProperty
    extends GCubeProperty, org.gcube.informationsystem.base.reference.AttributeDefinition
    Author:
    Luca Frosini (ISTI - CNR)
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String NAME  
      • Fields inherited from interface org.gcube.informationsystem.base.reference.Attribute

        DEFAULT_VALUE_PROPERTY, DESCRIPTION_PROPERTY, MAX_PROPERTY, MIN_PROPERTY, NAME_PROPERTY, PROPERTY_TYPE_PROPERTY, REGEX_PROPERTY
      • Fields inherited from interface org.gcube.informationsystem.base.reference.AttributeDefinition

        MANDATORY_PROPERTY, NOT_NULL_PROPERTY
      • Fields inherited from interface org.gcube.informationsystem.base.reference.Element

        DATETIME_PATTERN, TYPE_PROPERTY
      • Fields inherited from interface org.gcube.informationsystem.model.reference.ModelElement

        EXPECTED_TYPE_PROPERTY, SUPERTYPES_PROPERTY
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Object getDefaultValue()  
      String getDescription()  
      Integer getMax()  
      Integer getMin()  
      String getName()  
      String getPropertyType()  
      String getRegexp()  
      boolean isMandatory()  
      boolean isNotnull()  
      • Methods inherited from interface org.gcube.informationsystem.base.reference.Attribute

        getPropertyTypeName, setDefaultValue, setDescription, setMax, setMin, setName, setPropertyType, setRegexp
      • Methods inherited from interface org.gcube.informationsystem.base.reference.AttributeDefinition

        setMandatory, setNotnull
      • 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
    • Method Detail

      • getName

        @ISProperty(name="name",
                    description="The name of the Query Template Variable.",
                    readonly=true,
                    mandatory=true,
                    nullable=false)
        String getName()
        Specified by:
        getName in interface org.gcube.informationsystem.base.reference.Attribute
      • getDescription

        @ISProperty(name="description",
                    readonly=false,
                    mandatory=true,
                    nullable=false)
        String getDescription()
        Specified by:
        getDescription in interface org.gcube.informationsystem.base.reference.Attribute
      • isMandatory

        @ISProperty(name="mandatory",
                    readonly=false,
                    mandatory=true,
                    nullable=false,
                    defaultValue="false")
        boolean isMandatory()
        Specified by:
        isMandatory in interface org.gcube.informationsystem.base.reference.AttributeDefinition
      • isNotnull

        @ISProperty(name="notnull",
                    readonly=false,
                    mandatory=true,
                    nullable=false,
                    defaultValue="false")
        boolean isNotnull()
        Specified by:
        isNotnull in interface org.gcube.informationsystem.base.reference.AttributeDefinition
      • getMax

        @ISProperty(name="max",
                    readonly=false,
                    mandatory=true,
                    nullable=false)
        Integer getMax()
        Specified by:
        getMax in interface org.gcube.informationsystem.base.reference.Attribute
      • getMin

        @ISProperty(name="min",
                    readonly=false,
                    mandatory=true,
                    nullable=false)
        Integer getMin()
        Specified by:
        getMin in interface org.gcube.informationsystem.base.reference.Attribute
      • getRegexp

        @ISProperty(name="regexp",
                    readonly=false,
                    mandatory=true,
                    nullable=false)
        String getRegexp()
        Specified by:
        getRegexp in interface org.gcube.informationsystem.base.reference.Attribute
      • getPropertyType

        @ISProperty(name="propertyType",
                    readonly=false,
                    mandatory=true,
                    nullable=false)
        String getPropertyType()
        Specified by:
        getPropertyType in interface org.gcube.informationsystem.base.reference.Attribute
      • getDefaultValue

        @ISProperty(name="defaultValue",
                    readonly=false,
                    mandatory=false,
                    nullable=true)
        Object getDefaultValue()
        Specified by:
        getDefaultValue in interface org.gcube.informationsystem.base.reference.Attribute