Class LanguageFeature
- java.lang.Object
-
- es.bsc.dataclay.util.management.classmgr.features.Feature
-
- es.bsc.dataclay.util.management.classmgr.features.QualitativeFeature
-
- es.bsc.dataclay.util.management.classmgr.features.LanguageFeature
-
public final class LanguageFeature extends QualitativeFeature
This class represents all Language Features (Java, C++,...).
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class es.bsc.dataclay.util.management.classmgr.features.Feature
Feature.FeatureType
-
-
Constructor Summary
Constructors Constructor Description LanguageFeature()Empty constructor for deserialization.LanguageFeature(String langName, String langVersion)Constructor with name and version
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)UUIDgetId()StringgetLanguageName()Get the name of the languageStringgetVersion()Get the version of the languageinthashCode()voidsetId(UUID theid)voidsetLanguageName(String newlanguageName)Set the name of the languagevoidsetVersion(String newversion)Set the version of the languageStringtoString()
-
-
-
Method Detail
-
getLanguageName
public String getLanguageName()
Get the name of the language- Returns:
- LanguageFeature::languageName of container LanguageFeature.
-
setLanguageName
public void setLanguageName(String newlanguageName)
Set the name of the language- Parameters:
newlanguageName- LanguageFeature::languageName of container LanguageFeature.
-
getVersion
public String getVersion()
Get the version of the language- Returns:
- LanguageFeature::version of container LanguageFeature.
-
setVersion
public void setVersion(String newversion)
Set the version of the language- Parameters:
newversion- LanguageFeature::version of container LanguageFeature.
-
getId
public UUID getId()
- Returns:
- the id
-
setId
public void setId(UUID theid)
- Parameters:
theid- the id to set
-
-