Carsten Ziegeler | 4ccaaeb | 2007-08-20 07:20:03 +0000 | [diff] [blame] | 1 | /* |
| 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 Ziegeler | 646b818 | 2012-08-31 07:47:57 +0000 | [diff] [blame] | 19 | package org.apache.felix.scrplugin.helper; |
Carsten Ziegeler | 4ccaaeb | 2007-08-20 07:20:03 +0000 | [diff] [blame] | 20 | |
| 21 | import java.util.ArrayList; |
| 22 | import java.util.List; |
| 23 | |
Carsten Ziegeler | 646b818 | 2012-08-31 07:47:57 +0000 | [diff] [blame] | 24 | public class MetatypeContainer { |
Carsten Ziegeler | 4ccaaeb | 2007-08-20 07:20:03 +0000 | [diff] [blame] | 25 | |
Carsten Ziegeler | 646b818 | 2012-08-31 07:47:57 +0000 | [diff] [blame] | 26 | private String id; |
Carsten Ziegeler | 4ccaaeb | 2007-08-20 07:20:03 +0000 | [diff] [blame] | 27 | |
Carsten Ziegeler | 646b818 | 2012-08-31 07:47:57 +0000 | [diff] [blame] | 28 | private String name; |
Carsten Ziegeler | 4ccaaeb | 2007-08-20 07:20:03 +0000 | [diff] [blame] | 29 | |
Carsten Ziegeler | 646b818 | 2012-08-31 07:47:57 +0000 | [diff] [blame] | 30 | private String description; |
Carsten Ziegeler | 4ccaaeb | 2007-08-20 07:20:03 +0000 | [diff] [blame] | 31 | |
Carsten Ziegeler | 646b818 | 2012-08-31 07:47:57 +0000 | [diff] [blame] | 32 | private String factoryPid; |
| 33 | |
| 34 | private final List<MetatypeAttributeDefinition> properties = new ArrayList<MetatypeAttributeDefinition>(); |
Carsten Ziegeler | 4ccaaeb | 2007-08-20 07:20:03 +0000 | [diff] [blame] | 35 | |
| 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 Ziegeler | 646b818 | 2012-08-31 07:47:57 +0000 | [diff] [blame] | 60 | public List<MetatypeAttributeDefinition> getProperties() { |
Carsten Ziegeler | 4ccaaeb | 2007-08-20 07:20:03 +0000 | [diff] [blame] | 61 | return this.properties; |
| 62 | } |
| 63 | |
Carsten Ziegeler | 646b818 | 2012-08-31 07:47:57 +0000 | [diff] [blame] | 64 | public String getFactoryPid() { |
| 65 | return this.factoryPid; |
| 66 | } |
| 67 | |
| 68 | public void setFactoryPid(String pid) { |
| 69 | this.factoryPid = pid; |
Carsten Ziegeler | 4ccaaeb | 2007-08-20 07:20:03 +0000 | [diff] [blame] | 70 | } |
| 71 | } |