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 ofClassificationFacet.- Author:
- Luca Frosini (ISTI - CNR)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected StringcategoryThe taxonomy category (e.g.protected StringclassificationThe classification scheme or context (e.g.protected StringnameThe 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.base.reference.entities.EntityElement
NAME
-
Fields inherited from interface org.gcube.informationsystem.model.reference.ERElement
CONTEXTS_PROPERTY
-
-
Constructor Summary
Constructors Constructor Description ClassificationFacetImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCategory()The category of the classification (e.g., "Database", "SearchEngine")StringgetClassification()The classification scheme or context of this taxonomy (e.g., "Infrastructure Management")StringgetName()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 contextvoidsetName(String name)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.entities.EntityElement
getID, getMetadata, setID, setMetadata
-
-
-
-
Field Detail
-
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")
-
-
Method Detail
-
getClassification
public String getClassification()
The classification scheme or context of this taxonomy (e.g., "Infrastructure Management")- Specified by:
getClassificationin interfaceClassificationFacet- Returns:
- the classification
-
setClassification
public void setClassification(String classification)
Sets the classification scheme or context- Specified by:
setClassificationin interfaceClassificationFacet- Parameters:
classification- the classification
-
getCategory
public String getCategory()
The category of the classification (e.g., "Database", "SearchEngine")- Specified by:
getCategoryin interfaceClassificationFacet- Returns:
- the category
-
setCategory
public void setCategory(String category)
Sets the category of the classification- Specified by:
setCategoryin interfaceClassificationFacet- Parameters:
category- the category
-
getName
public String getName()
The logical/functional name associated with this classification context (e.g., "Ckan-DB")- Specified by:
getNamein interfaceClassificationFacet- Returns:
- the name
-
setName
public void setName(String name)
Sets the logical/functional name- Specified by:
setNamein interfaceClassificationFacet- Parameters:
name- the name
-
-