1
/* ----------------------------------------------------------------------------
2
* This file was automatically generated by SWIG (http://www.swig.org).
5
* Do not make changes to this file unless you know what you are doing--modify
6
* the SWIG interface file instead.
7
* ----------------------------------------------------------------------------- */
10
public final class DataOrigin {
11
public final static DataOrigin any = new DataOrigin("any");
12
public final static DataOrigin fileformatInput = new DataOrigin("fileformatInput");
13
public final static DataOrigin userInput = new DataOrigin("userInput");
14
public final static DataOrigin perceived = new DataOrigin("perceived");
15
public final static DataOrigin external = new DataOrigin("external");
17
public final int swigValue() {
21
public String toString() {
25
public static DataOrigin swigToEnum(int swigValue) {
26
if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
27
return swigValues[swigValue];
28
for (int i = 0; i < swigValues.length; i++)
29
if (swigValues[i].swigValue == swigValue)
31
throw new IllegalArgumentException("No enum " + DataOrigin.class + " with value " + swigValue);
34
private DataOrigin(String swigName) {
35
this.swigName = swigName;
36
this.swigValue = swigNext++;
39
private DataOrigin(String swigName, int swigValue) {
40
this.swigName = swigName;
41
this.swigValue = swigValue;
42
swigNext = swigValue+1;
45
private DataOrigin(String swigName, DataOrigin swigEnum) {
46
this.swigName = swigName;
47
this.swigValue = swigEnum.swigValue;
48
swigNext = this.swigValue+1;
51
private static DataOrigin[] swigValues = { any, fileformatInput, userInput, perceived, external };
52
private static int swigNext = 0;
53
private final int swigValue;
54
private final String swigName;