1 31 package org.objectweb.proactive.core.component; 32 33 import org.objectweb.fractal.api.Component; 34 import org.objectweb.fractal.api.Interface; 35 import org.objectweb.fractal.api.Type; 36 37 44 public abstract class ProActiveInterface implements Interface, java.io.Serializable { 45 private Component owner; 46 private String name; 47 private Type type; 48 private boolean isInternal; 49 50 public ProActiveInterface() { 51 } 52 53 56 public Component getFcItfOwner() { 57 return owner; 58 } 59 60 63 public String getFcItfName() { 64 return name; 65 } 66 67 70 public Type getFcItfType() { 71 return type; 72 } 73 74 77 public boolean isFcInternalItf() { 78 return isInternal; 79 } 80 81 85 public boolean isInternal() { 86 return isInternal; 87 } 88 89 93 public String getName() { 94 return name; 95 } 96 97 101 public Component getOwner() { 102 return owner; 103 } 104 105 109 public Type getType() { 110 return type; 111 } 112 113 117 public void setIsInternal(boolean isInternal) { 118 this.isInternal = isInternal; 119 } 120 121 125 public void setName(String name) { 126 this.name = name; 127 } 128 129 133 public void setOwner(Component owner) { 134 this.owner = owner; 135 } 136 137 141 public void setType(Type type) { 142 this.type = type; 143 } 144 145 149 public abstract Object getFcItfImpl(); 150 151 159 public abstract void setFcItfImpl(final Object impl); 160 161 162 public String toString() { 163 String string = 164 "name : " 165 + getFcItfName() 166 + "\n" 167 + "componentIdentity : " 168 + getFcItfOwner() 169 + "\n" 170 + "type : " 171 + getFcItfType() 172 + "\n" 173 + "isInternal : " 174 + isFcInternalItf() 175 + "\n"; 176 return string; 177 } 178 179 180 } | Popular Tags |