aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/org/onap/dcae/inventory/dbthings/models/DCAEServiceTypeObject.java
blob: 3c8613829e1f0f5e4385e1caab06c53688f11b74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
/*-
 * ============LICENSE_START=======================================================
 * dcae-inventory
 * ================================================================================
 * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
 * ================================================================================
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *      http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * ============LICENSE_END=========================================================
 */

package org.onap.dcae.inventory.dbthings.models;

import org.joda.time.DateTime;

import java.util.List;

/**
 * POJO representation of a record in dcae_service_types table.
 *
 * Created by mhwang on 5/3/16.
 */
public class DCAEServiceTypeObject {

    private String typeId = null;
    private String typeName = null;
    private Integer typeVersion = null;
    private String blueprintTemplate = null;
    private String owner = null;
    private String application = null;
    private String component = null;
    private List<String> vnfTypes = null;
    private List<String> serviceIds = null;
    private List<String> serviceLocations = null;
    private String asdcServiceId = null;
    private String asdcResourceId = null;
    private DateTime created = null;
    private DateTime deactivated = null;

    public String getTypeId() {
        return typeId;
    }

    public void setTypeId(String typeId) {
        this.typeId = typeId;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public Integer getTypeVersion() {
        return typeVersion;
    }

    public void setTypeVersion(Integer typeVersion) {
        this.typeVersion = typeVersion;
    }

    public String getBlueprintTemplate() {
        return blueprintTemplate;
    }

    public void setBlueprintTemplate(String blueprintTemplate) {
        this.blueprintTemplate = blueprintTemplate;
    }

    public String getOwner() {
        return owner;
    }

    public void setOwner(String owner) {
        this.owner = owner;
    }
    
    public String getApplication() {
        return application;
    }

    public void setApplication(String application) {
        this.application = application;
    }
    
    public String getComponent() {
        return component;
    }

    public void setComponent(String component) {
        this.component = component;
    }

    public List<String> getVnfTypes() {
        return vnfTypes;
    }

    public void setVnfTypes(List<String> vnfTypes) {
        this.vnfTypes = vnfTypes;
    }

    public List<String> getServiceIds() {
        return serviceIds;
    }

    public void setServiceIds(List<String> serviceIds) {
        this.serviceIds = serviceIds;
    }

    public List<String> getServiceLocations() {
        return serviceLocations;
    }

    public void setServiceLocations(List<String> serviceLocations) {
        this.serviceLocations = serviceLocations;
    }

    public String getAsdcServiceId() {
        return asdcServiceId;
    }

    public void setAsdcServiceId(String asdcServiceId) {
        this.asdcServiceId = asdcServiceId;
    }

    public String getAsdcResourceId() {
        return asdcResourceId;
    }

    public void setAsdcResourceId(String asdcResourceId) {
        this.asdcResourceId = asdcResourceId;
    }

    public DateTime getCreated() {
        return created;
    }

    public void setCreated(DateTime created) {
        this.created = created;
    }

    public DateTime getDeactivated() {
        return deactivated;
    }

    public void setDeactivated(DateTime deactivated) {
        this.deactivated = deactivated;
    }
}