1 31 package org.objectweb.proactive.core.component; 32 33 import java.io.Serializable ; 34 35 36 41 public class ControllerDescription implements Serializable { 42 43 private String hierarchicalType; 44 private String name; 45 46 50 public ControllerDescription() { 51 hierarchicalType = null; 52 name = null; 53 } 54 55 60 public ControllerDescription(String name, String hierarchicalType) { 61 this.hierarchicalType = hierarchicalType; 62 this.name = name; 63 } 64 65 69 public ControllerDescription(ControllerDescription controllerDesc) { 70 hierarchicalType = new String (controllerDesc.getHierarchicalType()); 71 name = new String (controllerDesc.getName()); 72 } 73 74 78 public String getHierarchicalType() { 79 return hierarchicalType; 80 } 81 82 83 87 public void setHierarchicalType(String string) { 88 hierarchicalType = string; 89 } 90 91 95 public String getName() { 96 return name; 97 } 98 99 103 public void setName(String name) { 104 this.name = name; 105 } 106 107 108 109 } 110 | Popular Tags |