| 1 | /* |
|---|
| 2 | * Copyright 2009 NCHOVY |
|---|
| 3 | * |
|---|
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
|---|
| 5 | * you may not use this file except in compliance with the License. |
|---|
| 6 | * You may obtain a copy of the License at |
|---|
| 7 | * |
|---|
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
|---|
| 9 | * |
|---|
| 10 | * Unless required by applicable law or agreed to in writing, software |
|---|
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
|---|
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|---|
| 13 | * See the License for the specific language governing permissions and |
|---|
| 14 | * limitations under the License. |
|---|
| 15 | */ |
|---|
| 16 | package org.krakenapps.filter; |
|---|
| 17 | |
|---|
| 18 | import java.util.ArrayList; |
|---|
| 19 | import java.util.List; |
|---|
| 20 | |
|---|
| 21 | /** |
|---|
| 22 | * Represents iPOJO component description. |
|---|
| 23 | * |
|---|
| 24 | * @author xeraph |
|---|
| 25 | * @since 1.0.0 |
|---|
| 26 | */ |
|---|
| 27 | public class ComponentDescription { |
|---|
| 28 | private String instanceName; |
|---|
| 29 | private String factoryName; |
|---|
| 30 | private String state; |
|---|
| 31 | private long bundleId; |
|---|
| 32 | private String implementationClass; |
|---|
| 33 | private List<String> specifications = new ArrayList<String>(); |
|---|
| 34 | private List<String> missingHandlers = new ArrayList<String>(); |
|---|
| 35 | private List<String> requiredHanlders = new ArrayList<String>(); |
|---|
| 36 | |
|---|
| 37 | public String getInstanceName() { |
|---|
| 38 | return instanceName; |
|---|
| 39 | } |
|---|
| 40 | |
|---|
| 41 | public void setInstanceName(String instanceName) { |
|---|
| 42 | this.instanceName = instanceName; |
|---|
| 43 | } |
|---|
| 44 | |
|---|
| 45 | public String getFactoryName() { |
|---|
| 46 | return factoryName; |
|---|
| 47 | } |
|---|
| 48 | |
|---|
| 49 | public void setFactoryName(String factoryName) { |
|---|
| 50 | this.factoryName = factoryName; |
|---|
| 51 | } |
|---|
| 52 | |
|---|
| 53 | public String getState() { |
|---|
| 54 | return state; |
|---|
| 55 | } |
|---|
| 56 | |
|---|
| 57 | public void setState(String state) { |
|---|
| 58 | this.state = state; |
|---|
| 59 | } |
|---|
| 60 | |
|---|
| 61 | public long getBundleId() { |
|---|
| 62 | return bundleId; |
|---|
| 63 | } |
|---|
| 64 | |
|---|
| 65 | public void setBundleId(long bundleId) { |
|---|
| 66 | this.bundleId = bundleId; |
|---|
| 67 | } |
|---|
| 68 | |
|---|
| 69 | public String getImplementationClass() { |
|---|
| 70 | return implementationClass; |
|---|
| 71 | } |
|---|
| 72 | |
|---|
| 73 | public void setImplementationClass(String implementationClass) { |
|---|
| 74 | this.implementationClass = implementationClass; |
|---|
| 75 | } |
|---|
| 76 | |
|---|
| 77 | public List<String> getSpecifications() { |
|---|
| 78 | return specifications; |
|---|
| 79 | } |
|---|
| 80 | |
|---|
| 81 | public void setSpecifications(List<String> specifications) { |
|---|
| 82 | this.specifications = specifications; |
|---|
| 83 | } |
|---|
| 84 | |
|---|
| 85 | public List<String> getMissingHandlers() { |
|---|
| 86 | return missingHandlers; |
|---|
| 87 | } |
|---|
| 88 | |
|---|
| 89 | public void setMissingHandlers(List<String> missingHandlers) { |
|---|
| 90 | this.missingHandlers = missingHandlers; |
|---|
| 91 | } |
|---|
| 92 | |
|---|
| 93 | public List<String> getRequiredHanlders() { |
|---|
| 94 | return requiredHanlders; |
|---|
| 95 | } |
|---|
| 96 | |
|---|
| 97 | public void setRequiredHanlders(List<String> requiredHanlders) { |
|---|
| 98 | this.requiredHanlders = requiredHanlders; |
|---|
| 99 | } |
|---|
| 100 | } |
|---|