Class ClassificationFacetImpl

java.lang.Object
org.gcube.informationsystem.base.impl.ElementImpl
org.gcube.informationsystem.base.impl.entities.EntityElementImpl
org.gcube.informationsystem.model.impl.entities.EntityImpl
org.gcube.informationsystem.model.impl.entities.FacetImpl
org.gcube.resourcemanagement.model.impl.entities.facets.ClassificationFacetImpl
All Implemented Interfaces:
Serializable, org.gcube.informationsystem.base.reference.Element, org.gcube.informationsystem.base.reference.entities.EntityElement, org.gcube.informationsystem.base.reference.IdentifiableElement, org.gcube.informationsystem.base.reference.SchemaMixedElement, org.gcube.informationsystem.model.reference.entities.Entity, org.gcube.informationsystem.model.reference.entities.Facet, org.gcube.informationsystem.model.reference.ERElement, org.gcube.informationsystem.model.reference.ModelElement, ClassificationFacet

public class ClassificationFacetImpl extends org.gcube.informationsystem.model.impl.entities.FacetImpl implements ClassificationFacet
Implementation of ClassificationFacet.
Author:
Luca Frosini (ISTI - CNR)
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected String
    The taxonomy category (e.g.
    protected String
    The classification scheme or context (e.g.
    protected String
    The logical or functional name of the instance (e.g.

    Fields inherited from class org.gcube.informationsystem.model.impl.entities.FacetImpl

    additionalProperties, allowedAdditionalKeys

    Fields inherited from class org.gcube.informationsystem.model.impl.entities.EntityImpl

    contexts, expectedtype, supertypes

    Fields inherited from class org.gcube.informationsystem.base.impl.entities.EntityElementImpl

    metadata, uuid

    Fields inherited from interface org.gcube.resourcemanagement.model.reference.entities.facets.ClassificationFacet

    NAME

    Fields inherited from interface org.gcube.informationsystem.base.reference.Element

    DATETIME_PATTERN, NAME, REDACTED, TYPE_PROPERTY, UNKNOWN_USER

    Fields inherited from interface org.gcube.informationsystem.model.reference.entities.Entity

    NAME

    Fields inherited from interface org.gcube.informationsystem.base.reference.entities.EntityElement

    NAME

    Fields inherited from interface org.gcube.informationsystem.model.reference.ERElement

    CONTEXTS_PROPERTY

    Fields inherited from interface org.gcube.informationsystem.model.reference.entities.Facet

    NAME

    Fields inherited from interface org.gcube.informationsystem.base.reference.IdentifiableElement

    ID_PROPERTY, METADATA_PROPERTY

    Fields inherited from interface org.gcube.informationsystem.model.reference.ModelElement

    EXPECTED_TYPE_PROPERTY, SUPERTYPES_PROPERTY
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    The category of the classification (e.g., "Database", "SearchEngine")
    The classification scheme or context of this taxonomy (e.g., "Infrastructure Management")
    The logical/functional name associated with this classification context (e.g., "Ckan-DB")
    void
    setCategory(String category)
    Sets the category of the classification
    void
    setClassification(String classification)
    Sets the classification scheme or context
    void
    Sets the logical/functional name

    Methods inherited from class org.gcube.informationsystem.model.impl.entities.FacetImpl

    addAllowedAdditionalKey, getAdditionalProperties, getAdditionalProperty, setAdditionalProperties, setAdditionalProperty

    Methods inherited from class org.gcube.informationsystem.model.impl.entities.EntityImpl

    getContexts, getExpectedtype, getSupertypes, setContexts

    Methods inherited from class org.gcube.informationsystem.base.impl.entities.EntityElementImpl

    getID, getMetadata, setID, setMetadata

    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.base.reference.Element

    getTypeName

    Methods inherited from interface org.gcube.informationsystem.base.reference.entities.EntityElement

    getID, getMetadata, setID, setMetadata

    Methods inherited from interface org.gcube.informationsystem.model.reference.ERElement

    getContexts

    Methods inherited from interface org.gcube.informationsystem.model.reference.entities.Facet

    getAdditionalProperties, getAdditionalProperty, setAdditionalProperties, setAdditionalProperty

    Methods inherited from interface org.gcube.informationsystem.model.reference.ModelElement

    getExpectedtype, getSupertypes
  • Field Details

    • classification

      protected String classification
      The classification scheme or context (e.g. "Infrastructure Management")
    • category

      protected String category
      The taxonomy category (e.g. "Database", "SearchEngine")
    • name

      protected String name
      The logical or functional name of the instance (e.g. "Ckan-DB", "AccountingDB")
  • Constructor Details

    • ClassificationFacetImpl

      public ClassificationFacetImpl()
  • Method Details

    • getClassification

      public String getClassification()
      The classification scheme or context of this taxonomy (e.g., "Infrastructure Management")
      Specified by:
      getClassification in interface ClassificationFacet
      Returns:
      the classification
    • setClassification

      public void setClassification(String classification)
      Sets the classification scheme or context
      Specified by:
      setClassification in interface ClassificationFacet
      Parameters:
      classification - the classification
    • getCategory

      public String getCategory()
      The category of the classification (e.g., "Database", "SearchEngine")
      Specified by:
      getCategory in interface ClassificationFacet
      Returns:
      the category
    • setCategory

      public void setCategory(String category)
      Sets the category of the classification
      Specified by:
      setCategory in interface ClassificationFacet
      Parameters:
      category - the category
    • getName

      public String getName()
      The logical/functional name associated with this classification context (e.g., "Ckan-DB")
      Specified by:
      getName in interface ClassificationFacet
      Returns:
      the name
    • setName

      public void setName(String name)
      Sets the logical/functional name
      Specified by:
      setName in interface ClassificationFacet
      Parameters:
      name - the name