blob: 08c18b93ed095b08fb6f1787f39c083efe4e4b31 [file] [log] [blame]
Carsten Ziegeler4ccaaeb2007-08-20 07:20:03 +00001/*
2 * Licensed to the Apache Software Foundation (ASF) under one
3 * or more contributor license agreements. See the NOTICE file
4 * distributed with this work for additional information
5 * regarding copyright ownership. The ASF licenses this file
6 * to you under the Apache License, Version 2.0 (the
7 * "License"); you may not use this file except in compliance
8 * with the License. You may obtain a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing,
13 * software distributed under the License is distributed on an
14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 * KIND, either express or implied. See the License for the
16 * specific language governing permissions and limitations
17 * under the License.
18 */
Carsten Ziegeler646b8182012-08-31 07:47:57 +000019package org.apache.felix.scrplugin.helper;
Carsten Ziegeler4ccaaeb2007-08-20 07:20:03 +000020
21import java.util.ArrayList;
22import java.util.List;
23
Carsten Ziegeler646b8182012-08-31 07:47:57 +000024public class MetatypeContainer {
Carsten Ziegeler4ccaaeb2007-08-20 07:20:03 +000025
Carsten Ziegeler646b8182012-08-31 07:47:57 +000026 private String id;
Carsten Ziegeler4ccaaeb2007-08-20 07:20:03 +000027
Carsten Ziegeler646b8182012-08-31 07:47:57 +000028 private String name;
Carsten Ziegeler4ccaaeb2007-08-20 07:20:03 +000029
Carsten Ziegeler646b8182012-08-31 07:47:57 +000030 private String description;
Carsten Ziegeler4ccaaeb2007-08-20 07:20:03 +000031
Carsten Ziegeler646b8182012-08-31 07:47:57 +000032 private String factoryPid;
33
34 private final List<MetatypeAttributeDefinition> properties = new ArrayList<MetatypeAttributeDefinition>();
Carsten Ziegeler4ccaaeb2007-08-20 07:20:03 +000035
36 public String getId() {
37 return this.id;
38 }
39
40 public void setId(String id) {
41 this.id = id;
42 }
43
44 public String getName() {
45 return this.name;
46 }
47
48 public void setName(String name) {
49 this.name = name;
50 }
51
52 public String getDescription() {
53 return this.description;
54 }
55
56 public void setDescription(String description) {
57 this.description = description;
58 }
59
Carsten Ziegeler646b8182012-08-31 07:47:57 +000060 public List<MetatypeAttributeDefinition> getProperties() {
Carsten Ziegeler4ccaaeb2007-08-20 07:20:03 +000061 return this.properties;
62 }
63
Carsten Ziegeler646b8182012-08-31 07:47:57 +000064 public String getFactoryPid() {
65 return this.factoryPid;
66 }
67
68 public void setFactoryPid(String pid) {
69 this.factoryPid = pid;
Carsten Ziegeler4ccaaeb2007-08-20 07:20:03 +000070 }
71}