01: /*
02: * Licensed to the Apache Software Foundation (ASF) under one or more
03: * contributor license agreements. See the NOTICE file distributed with
04: * this work for additional information regarding copyright ownership.
05: * The ASF licenses this file to You under the Apache License, Version 2.0
06: * (the "License"); you may not use this file except in compliance with
07: * the License. You may obtain a copy of the License at
08: *
09: * http://www.apache.org/licenses/LICENSE-2.0
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS,
13: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14: * See the License for the specific language governing permissions and
15: * limitations under the License.
16: */
17: package org.bpmscript.db;
18:
19: import org.bpmscript.IProcess;
20:
21: public class DbProcess extends DbIdentifiable implements IProcess {
22: private static final long serialVersionUID = -4961328403519783642L;
23:
24: private String source;
25: private String version;
26: private String name;
27: private boolean primaryProcess = false;
28: private boolean pinned = false;
29:
30: public String getName() {
31: return name;
32: }
33:
34: public void setName(String name) {
35: this .name = name;
36: }
37:
38: public String getVersion() {
39: return version;
40: }
41:
42: public void setVersion(String version) {
43: this .version = version;
44: }
45:
46: public boolean isPrimaryProcess() {
47: return primaryProcess;
48: }
49:
50: public void setPrimaryProcess(boolean primaryProcess) {
51: this .primaryProcess = primaryProcess;
52: }
53:
54: public String getSource() {
55: return source;
56: }
57:
58: public void setSource(String source) {
59: this .source = source;
60: }
61:
62: public boolean isPinned() {
63: return pinned;
64: }
65:
66: public void setPinned(boolean pinned) {
67: this.pinned = pinned;
68: }
69: }
|