Please take time to read the code disclaimer.
/**
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package encodequerygenerator;
/**
*
* @author Video
*/
public class Language {
private Title title;
private String name = "NOT NAMED YET";
private int number = 0;
private String directory = "NO DIRECTORY YET";
private boolean ignore = false;
public Language(Title title) {
this.title = title;
}
//
/**
* @return the name
*/
public String getName() {
return name;
}
/**
* @param name the name to set
*/
public void setName(String name) {
this.name = name;
}
/**
* @return the number
*/
public int getNumber() {
return number;
}
/**
* @param number the number to set
*/
public void setNumber(int number) {
this.number = number;
}
/**
* @return the directory
*/
public String getDirectory() {
return directory;
}
/**
* @param directory the directory to set
*/
public void setDirectory(String directory) {
this.directory = directory;
}
/**
* @return the title
*/
public Title getTitle() {
return title;
}
/**
* @param title the title to set
*/
public void setTitle(Title title) {
this.title = title;
}
//
@Override
public String toString() {
return number + " " + name;
}
/**
* @return the ignore
*/
public boolean isIgnore() {
return ignore;
}
/**
* @param ignore the ignore to set
*/
public void setIgnore(boolean ignore) {
this.ignore = ignore;
}
}