Merge "Introduce WithPermissionProperties as validation-points for RoleValidator"
[vid.git] / vid-app-common / src / main / java / org / onap / vid / model / JobModel.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * VID
4  * ================================================================================
5  * Copyright (C) 2017 - 2019 AT&T Intellectual Property. All rights reserved.
6  * ================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ============LICENSE_END=========================================================
19  */
20
21 package org.onap.vid.model;
22
23 import org.onap.vid.job.Job;
24 import org.onap.vid.job.JobType;
25
26 import java.util.UUID;
27
28 public class JobModel {
29
30     private UUID uuid;
31     private Job.JobStatus status;
32     private UUID templateId;
33     private JobType type;
34
35     public UUID getUuid() {
36         return uuid;
37     }
38
39     public void setUuid(UUID uuid) {
40         this.uuid = uuid;
41     }
42
43     public Job.JobStatus getStatus() {
44         return status;
45     }
46
47     public void setStatus(Job.JobStatus status) {
48         this.status = status;
49     }
50
51     public UUID getTemplateId() {
52         return templateId;
53     }
54
55     public void setTemplateId(UUID templateId) {
56         this.templateId = templateId;
57     }
58
59     public JobType getType() {
60         return type;
61     }
62
63     public void setType(JobType type) {
64         this.type = type;
65     }
66
67 }