35 lines
622 B
Java
35 lines
622 B
Java
|
package org.gcube.nlphub.nlp;
|
||
|
|
||
|
public class NlpParameter {
|
||
|
public static String ANNOTATION_LIST = "annotations";
|
||
|
private String name, description;
|
||
|
private Object value;
|
||
|
private int objectType;
|
||
|
|
||
|
public NlpParameter(String name, String description, Object value, int objectType) {
|
||
|
super();
|
||
|
this.name = name;
|
||
|
this.description = description;
|
||
|
this.value = value;
|
||
|
this.objectType = objectType;
|
||
|
}
|
||
|
|
||
|
public String getName() {
|
||
|
return name;
|
||
|
}
|
||
|
|
||
|
public String getDescription() {
|
||
|
return description;
|
||
|
}
|
||
|
|
||
|
public Object getValue() {
|
||
|
return value;
|
||
|
}
|
||
|
|
||
|
public int getObjectType() {
|
||
|
return objectType;
|
||
|
}
|
||
|
|
||
|
|
||
|
}
|