Interface AccessPolicy

  • 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
    All Known Implementing Classes:
    AccessPolicyImpl

    @TypeMetadata(name="AccessPolicy",
                  description="AccessPolicy information",
                  version="1.0.0")
    @Change(version="1.0.0",
            description="First Version")
    public interface AccessPolicy
    extends GCubeProperty
    Author:
    Luca Frosini (ISTI - CNR)
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String NAME
      The name associated with this 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 Static Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      static AccessPolicy getDefaultInstance()
      Returns a default instance of AccessPolicy
      String getNote()
      A note associated with the access policy
      ValueSchema getPolicy()
      The access policy
      void setNote​(String note)
      Sets a note associated with the access policy
      void setPolicy​(ValueSchema policy)
      Sets the access policy
      • 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

      • getDefaultInstance

        static AccessPolicy getDefaultInstance()
        Returns a default instance of AccessPolicy
        Returns:
        a default instance of AccessPolicy
      • getPolicy

        @ISProperty
        ValueSchema getPolicy()
        The access policy
        Returns:
        the access policy
      • setPolicy

        void setPolicy​(ValueSchema policy)
        Sets the access policy
        Parameters:
        policy - the access policy
      • getNote

        @ISProperty
        String getNote()
        A note associated with the access policy
        Returns:
        the note
      • setNote

        void setNote​(String note)
        Sets a note associated with the access policy
        Parameters:
        note - the note