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
FieldsModifier and TypeFieldDescriptionprotected StringThe taxonomy category (e.g.protected StringThe classification scheme or context (e.g.protected StringThe logical or functional name of the instance (e.g.Fields inherited from class org.gcube.informationsystem.model.impl.entities.FacetImpl
additionalProperties, allowedAdditionalKeysFields inherited from class org.gcube.informationsystem.model.impl.entities.EntityImpl
contexts, expectedType, supertypesFields inherited from class org.gcube.informationsystem.base.impl.entities.EntityElementImpl
metadata, uuidFields inherited from interface org.gcube.resourcemanagement.model.reference.entities.facets.ClassificationFacet
NAMEFields inherited from interface org.gcube.informationsystem.base.reference.Element
DATETIME_PATTERN, NAME, REDACTED, TYPE_PROPERTY, UNKNOWN_USERFields inherited from interface org.gcube.informationsystem.model.reference.entities.Entity
NAMEFields inherited from interface org.gcube.informationsystem.base.reference.entities.EntityElement
NAMEFields inherited from interface org.gcube.informationsystem.model.reference.ERElement
CONTEXTS_PROPERTYFields inherited from interface org.gcube.informationsystem.model.reference.entities.Facet
NAMEFields inherited from interface org.gcube.informationsystem.base.reference.IdentifiableElement
ID_PROPERTY, METADATA_PROPERTYFields inherited from interface org.gcube.informationsystem.model.reference.ModelElement
EXPECTED_TYPE_PROPERTY, SUPERTYPES_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe category of the classification (e.g., "Database", "SearchEngine")The classification scheme or context of this taxonomy (e.g., "Infrastructure Management")getName()The logical/functional name associated with this classification context (e.g., "Ckan-DB")voidsetCategory(String category) Sets the category of the classificationvoidsetClassification(String classification) Sets the classification scheme or contextvoidSets the logical/functional nameMethods inherited from class org.gcube.informationsystem.model.impl.entities.FacetImpl
addAllowedAdditionalKey, getAdditionalProperties, getAdditionalProperty, setAdditionalProperties, setAdditionalPropertyMethods inherited from class org.gcube.informationsystem.model.impl.entities.EntityImpl
getContexts, getExpectedType, getSupertypes, setContextsMethods inherited from class org.gcube.informationsystem.base.impl.entities.EntityElementImpl
getID, getMetadata, setID, setMetadataMethods inherited from class org.gcube.informationsystem.base.impl.ElementImpl
getTypeName, toStringMethods 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.base.reference.entities.EntityElement
getID, getMetadata, setID, setMetadataMethods inherited from interface org.gcube.informationsystem.model.reference.ERElement
getContextsMethods inherited from interface org.gcube.informationsystem.model.reference.entities.Facet
getAdditionalProperties, getAdditionalProperty, setAdditionalProperties, setAdditionalPropertyMethods inherited from interface org.gcube.informationsystem.model.reference.ModelElement
getExpectedType, getSupertypes
-
Field Details
-
classification
The classification scheme or context (e.g. "Infrastructure Management") -
category
The taxonomy category (e.g. "Database", "SearchEngine") -
name
The logical or functional name of the instance (e.g. "Ckan-DB", "AccountingDB")
-
-
Constructor Details
-
ClassificationFacetImpl
public ClassificationFacetImpl()
-
-
Method Details
-
getClassification
The classification scheme or context of this taxonomy (e.g., "Infrastructure Management")- Specified by:
getClassificationin interfaceClassificationFacet- Returns:
- the classification
-
setClassification
Sets the classification scheme or context- Specified by:
setClassificationin interfaceClassificationFacet- Parameters:
classification- the classification
-
getCategory
The category of the classification (e.g., "Database", "SearchEngine")- Specified by:
getCategoryin interfaceClassificationFacet- Returns:
- the category
-
setCategory
Sets the category of the classification- Specified by:
setCategoryin interfaceClassificationFacet- Parameters:
category- the category
-
getName
The logical/functional name associated with this classification context (e.g., "Ckan-DB")- Specified by:
getNamein interfaceClassificationFacet- Returns:
- the name
-
setName
Sets the logical/functional name- Specified by:
setNamein interfaceClassificationFacet- Parameters:
name- the name
-