1 6 7 package SOFA.Connector.EEG; 8 9 14 abstract public class ElementRoleBase implements ElementRoleInterface { 15 16 protected SOFA.Connector.EEG.ConnectorManagerInterface manager; 17 18 19 public ElementRoleBase() { 20 } 21 22 public void setManagerTie(SOFA.Connector.EEG.ConnectorManagerInterface manager) { 23 this.manager=manager; 24 } 25 26 public SOFA.Connector.EEG.ConnectorManagerInterface getManagerTie() { 27 return manager; 28 } 29 30 public SOFA.Connector.Reference getSOFAReference() { 31 return manager.getSOFAReference(); 32 } 33 34 public void setSOFAReference(SOFA.Connector.Reference ref) { 35 manager.setSOFAReference(ref); 36 } 37 38 public void setDeploymentDescriptor(SOFA.Connector.DeploymentDescriptor dd) { 39 manager.setDeploymentDescriptor(dd); 40 } 41 42 public SOFA.Component.ThreadIDRegistry getThrIDRegistry() { 43 return manager.getThrIDRegistry(); 44 } 45 46 public void setThrIDRegistry(SOFA.Component.ThreadIDRegistry reg) { 47 manager.setThrIDRegistry(reg); 48 } 49 50 54 public SOFA.Connector.RoleBase getComponentManager() { 55 return manager.getComponentManager(); 56 } 57 58 public void setComponentManager(SOFA.Connector.RoleBase cm) { 59 manager.setComponentManager(cm); 60 } 61 62 protected String getConnectorName() { 63 return manager.getName(); 64 } 65 } 66 | Popular Tags |