// Path: src/main/ru/bpmink/bpm/model/common/RestEntity.java
// public class RestEntity implements Describable {
// 
//     @Override
//     public String describe() {
//         ToStringStyle stringStyle = Styles.SHORT_CLASS_WITH_LINE_BREAK;
//         return new ReflectionToStringBuilder(this, stringStyle).build();
//     }
// 
//     @Override
//     public String describe(String linePrefix) {
//         ToStringStyle stringStyle = new Styles.NoClassNameWithLineBreakToStringStyle(linePrefix);
//         return new ReflectionToStringBuilder(this, stringStyle).build();
//     }
// }
// 
// Path: src/main/ru/bpmink/bpm/model/process/ExecutionState.java
// public enum ExecutionState {
// 	
// 	@SerializedName("New")
// 	NEW,
// 	@SerializedName("Active")
// 	ACTIVE,
// 	@SerializedName("Completed")
// 	COMPLETED,
// 	@SerializedName("Failed")
// 	FAILED,
// 	@SerializedName("Suspended")
// 	SUSPENDED,
// 	@SerializedName("Terminated")
// 	TERMINATED
// 	
// }
// 
// Path: src/main/ru/bpmink/bpm/model/process/ProcessState.java
// public enum ProcessState {
// 
// 	STATE_COMPENSATED,
//     STATE_COMPENSATION_FAILED,
//     STATE_COMPENSATING,
//     STATE_DELETED,
//     STATE_FAILED,
//     STATE_FAILING,
//     STATE_FINISHED,
//     STATE_INDOUBT,
//     STATE_READY,
//     STATE_RUNNING,
//     STATE_SUSPENDED,
//     STATE_TERMINATED,
//     STATE_TERMINATING
// 	
// }
// 
// Path: src/main/ru/bpmink/bpm/model/task/TaskKind.java
// public enum TaskKind {
// 	
// 	KIND_HUMAN,
// 	KIND_ORIGINATING,
// 	KIND_PARTICIPATING,
// 	KIND_ADMINISTRATIVE
// 
// }
// 
// Path: src/main/ru/bpmink/util/Utils.java
// @SuppressWarnings("unused")
// public class Utils {
// 
//     public static String inputStreamToString(InputStream inputStream) throws IOException {
//         return inputStreamToString(inputStream, Charset.forName("UTF-8"));
//     }
// 
//     public static String inputStreamToString(InputStream inputStream, String charset) throws IOException {
//         return inputStreamToString(inputStream, Charset.forName(charset));
//     }
// 
//     /**
//      * Retrieves all data for given {@link java.io.InputStream} as String.
//      *
//      * @param inputStream {@link java.io.InputStream} to process.
//      * @param charset {@link java.nio.charset.Charset} to be used during byte to string conversion.
//      * @return string representation of {@link java.io.InputStream} data.
//      * @throws IOException  If the first byte cannot be read for any reason
//      *      other than the end of the file, if the input stream has been closed, or
//      *      if some other I/O error occurs.
//      */
//     @SuppressWarnings("WeakerAccess")
//     public static String inputStreamToString(InputStream inputStream, Charset charset) throws IOException {
//         if (inputStream == null) {
//             return null;
//         }
//         try (ByteArrayOutputStream arrayOutputStream = new ByteArrayOutputStream()) {
//             byte[] buffer = new byte[1024];
//             int length;
//             while ((length = inputStream.read(buffer)) != -1) {
//                 arrayOutputStream.write(buffer, 0, length);
//             }
//             return arrayOutputStream.toString(charset.name());
//         }
//     }
// 
//     /**
//      * Date coping utility, used when you don't wan't to expose internal object state.
//      * @param source Is a date argument to copy.
//      * @return {@link Date} instance.
//      */
//     public static Date cloneDate(Date source) {
//         if (source != null) {
//             return new Date(source.getTime());
//         }
//         return null;
//     }
// 
//     /**
//      * Writes a list of string in to given {@link java.io.Writer}.
//      *
//      * @param writer {@link java.io.Writer} to write.
//      * @param source {@link java.util.List} of strings to be written.
//      * @throws IOException If an I/O error occurs.
//      */
//     public static void writeLines(Writer writer, List<String> source) throws IOException {
//         try {
//             for (String line : source) {
//                 writer.write(line);
//                 writer.write(Constants.LINE_SEPARATOR);
//             }
//             writer.flush();
//         } finally {
//             try {
//                 writer.close();
//             } catch (IOException e) {
//                 e.printStackTrace();
//             }
//         }
//     }
// }


import com.google.gson.annotations.SerializedName;
import ru.bpmink.bpm.model.common.RestEntity;
import ru.bpmink.bpm.model.process.ExecutionState;
import ru.bpmink.bpm.model.process.ProcessState;
import ru.bpmink.bpm.model.task.TaskKind;
import ru.bpmink.util.Utils;
import java.util.Date;
	}

	public String getTadDisplayName() {
		return tadDisplayName;
	}

	public Date getActivated() {
		return Utils.cloneDate(activated);
	}

	public String getPiName() {
		return piName;
	}

	public ProcessState getState() {
		return state;
	}

	public ExecutionState getStatus() {
		return status;
	}

	public String getOwner() {
		return owner;
	}

	public String getTadDescription() {
		return tadDescription;
	}

// Path: src/main/ru/bpmink/bpm/model/common/RestEntity.java
// public class RestEntity implements Describable {
// 
//     @Override
//     public String describe() {
//         ToStringStyle stringStyle = Styles.SHORT_CLASS_WITH_LINE_BREAK;
//         return new ReflectionToStringBuilder(this, stringStyle).build();
//     }
// 
//     @Override
//     public String describe(String linePrefix) {
//         ToStringStyle stringStyle = new Styles.NoClassNameWithLineBreakToStringStyle(linePrefix);
//         return new ReflectionToStringBuilder(this, stringStyle).build();
//     }
// }
// 
// Path: src/main/ru/bpmink/bpm/model/process/ExecutionState.java
// public enum ExecutionState {
// 	
// 	@SerializedName("New")
// 	NEW,
// 	@SerializedName("Active")
// 	ACTIVE,
// 	@SerializedName("Completed")
// 	COMPLETED,
// 	@SerializedName("Failed")
// 	FAILED,
// 	@SerializedName("Suspended")
// 	SUSPENDED,
// 	@SerializedName("Terminated")
// 	TERMINATED
// 	
// }
// 
// Path: src/main/ru/bpmink/bpm/model/process/ProcessState.java
// public enum ProcessState {
// 
// 	STATE_COMPENSATED,
//     STATE_COMPENSATION_FAILED,
//     STATE_COMPENSATING,
//     STATE_DELETED,
//     STATE_FAILED,
//     STATE_FAILING,
//     STATE_FINISHED,
//     STATE_INDOUBT,
//     STATE_READY,
//     STATE_RUNNING,
//     STATE_SUSPENDED,
//     STATE_TERMINATED,
//     STATE_TERMINATING
// 	
// }
// 
// Path: src/main/ru/bpmink/bpm/model/task/TaskKind.java
// public enum TaskKind {
// 	
// 	KIND_HUMAN,
// 	KIND_ORIGINATING,
// 	KIND_PARTICIPATING,
// 	KIND_ADMINISTRATIVE
// 
// }
// 
// Path: src/main/ru/bpmink/util/Utils.java
// @SuppressWarnings("unused")
// public class Utils {
// 
//     public static String inputStreamToString(InputStream inputStream) throws IOException {
//         return inputStreamToString(inputStream, Charset.forName("UTF-8"));
//     }
// 
//     public static String inputStreamToString(InputStream inputStream, String charset) throws IOException {
//         return inputStreamToString(inputStream, Charset.forName(charset));
//     }
// 
//     /**
//      * Retrieves all data for given {@link java.io.InputStream} as String.
//      *
//      * @param inputStream {@link java.io.InputStream} to process.
//      * @param charset {@link java.nio.charset.Charset} to be used during byte to string conversion.
//      * @return string representation of {@link java.io.InputStream} data.
//      * @throws IOException  If the first byte cannot be read for any reason
//      *      other than the end of the file, if the input stream has been closed, or
//      *      if some other I/O error occurs.
//      */
//     @SuppressWarnings("WeakerAccess")
//     public static String inputStreamToString(InputStream inputStream, Charset charset) throws IOException {
//         if (inputStream == null) {
//             return null;
//         }
//         try (ByteArrayOutputStream arrayOutputStream = new ByteArrayOutputStream()) {
//             byte[] buffer = new byte[1024];
//             int length;
//             while ((length = inputStream.read(buffer)) != -1) {
//                 arrayOutputStream.write(buffer, 0, length);
//             }
//             return arrayOutputStream.toString(charset.name());
//         }
//     }
// 
//     /**
//      * Date coping utility, used when you don't wan't to expose internal object state.
//      * @param source Is a date argument to copy.
//      * @return {@link Date} instance.
//      */
//     public static Date cloneDate(Date source) {
//         if (source != null) {
//             return new Date(source.getTime());
//         }
//         return null;
//     }
// 
//     /**
//      * Writes a list of string in to given {@link java.io.Writer}.
//      *
//      * @param writer {@link java.io.Writer} to write.
//      * @param source {@link java.util.List} of strings to be written.
//      * @throws IOException If an I/O error occurs.
//      */
//     public static void writeLines(Writer writer, List<String> source) throws IOException {
//         try {
//             for (String line : source) {
//                 writer.write(line);
//                 writer.write(Constants.LINE_SEPARATOR);
//             }
//             writer.flush();
//         } finally {
//             try {
//                 writer.close();
//             } catch (IOException e) {
//                 e.printStackTrace();
//             }
//         }
//     }
// }


// Path: src/main/ru/bpmink/bpm/model/query/QueryResult.java
import com.google.gson.annotations.SerializedName;
import ru.bpmink.bpm.model.common.RestEntity;
import ru.bpmink.bpm.model.process.ExecutionState;
import ru.bpmink.bpm.model.process.ProcessState;
import ru.bpmink.bpm.model.task.TaskKind;
import ru.bpmink.util.Utils;
import java.util.Date;

	}

	public String getTadDisplayName() {
		return tadDisplayName;
	}

	public Date getActivated() {
		return Utils.cloneDate(activated);
	}

	public String getPiName() {
		return piName;
	}

	public ProcessState getState() {
		return state;
	}

	public ExecutionState getStatus() {
		return status;
	}

	public String getOwner() {
		return owner;
	}

	public String getTadDescription() {
		return tadDescription;
	}

	public TaskKind getKind() {