1 5 package ve.luz.ica.jackass.deploy.util; 6 7 import ve.luz.ica.jackass.deploy.descriptor.ica.ComponentIcaType; 8 import ve.luz.ica.jackass.deploy.descriptor.standard.ComponentType; 9 import ve.luz.ica.jackass.deploy.descriptor.standard.NameContext; 10 11 17 public class Component 18 { 19 private ComponentType component = null; 20 private ComponentIcaType icaComponent = null; 21 22 27 public Component(ComponentType comp, ComponentIcaType icaComp) 28 { 29 component = comp; 30 icaComponent = icaComp; 31 } 32 33 37 public ComponentType getStandardComponent() 38 { 39 return this.component; 40 } 41 42 46 public ComponentIcaType getIcaComponent() 47 { 48 return this.icaComponent; 49 } 50 51 56 public java.lang.String getName() 57 { 58 return this.component.getName(); 59 } 61 66 public String getNameContext() 67 { 68 NameContext nc = component.getNameContext(); 69 return nc == null ? null : nc.getValue(); 70 } 72 76 public String getInterface() 77 { 78 return this.component.getInterface().getValue(); 79 } 80 81 85 public String getImplementation() 86 { 87 return this.component.getImplementation().getValue(); 88 } 89 90 95 public ve.luz.ica.jackass.deploy.descriptor.standard.Properties getProperties() 96 { 97 return this.component.getProperties(); 98 } 100 101 106 public String getDeploymentGroup() 107 { 108 return this.icaComponent.getDeploymentGroup().getValue(); 109 } 111 116 public ve.luz.ica.jackass.deploy.descriptor.ica.DeploymentRequirements getDeploymentRequirements() 117 { 118 return this.icaComponent.getDeploymentRequirements(); 119 } 121 } 122 | Popular Tags |