Class LanguageFeature


  • public final class LanguageFeature
    extends QualitativeFeature
    This class represents all Language Features (Java, C++,...).
    • Constructor Detail

      • LanguageFeature

        public LanguageFeature()
        Empty constructor for deserialization.
      • LanguageFeature

        public LanguageFeature​(String langName,
                               String langVersion)
        Constructor with name and version
        Parameters:
        langName - Name to be set
        langVersion - Version to be set
    • 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.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getId

        public UUID getId()
        Returns:
        the id
      • setId

        public void setId​(UUID theid)
        Parameters:
        theid - the id to set