public class Lang
extends java.lang.Object
LangInternal
Constructor and Description |
---|
Lang()
Construct a language unit with empty fields
|
Lang(int idLang,
java.lang.String langName,
java.lang.String compiler)
Constructs a language unit
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCompiler()
retrieve the compiler associated with this language
|
int |
getIdLang()
retrieve the unique identifier of this language
|
java.lang.String |
getLangName()
get the name of this language
|
void |
setCompiler(java.lang.String compiler)
set the compiler for this language
|
void |
setIdLang(int idLang)
set the identifier for this language
|
void |
setLangName(java.lang.String langName)
set the name of this language
|
public Lang(int idLang, java.lang.String langName, java.lang.String compiler)
idLang
- unique identifier of this languagelangName
- this language namecompiler
- compiler for this languagepublic Lang()
public int getIdLang()
public void setIdLang(int idLang)
idLang
- the new identifierpublic java.lang.String getLangName()
public void setLangName(java.lang.String langName)
langName
- the new language namepublic java.lang.String getCompiler()
public void setCompiler(java.lang.String compiler)
compiler
- the new compiler for the language