1 23 24 package org.objectweb.fractal.gui.model; 25 26 import java.util.List ; 27 28 31 32 public interface Interface { 33 34 37 38 long OK = 0; 39 40 44 45 long NAME_MISSING = 1; 46 47 51 52 long NAME_ALREADY_USED = 1 << 1; 53 54 58 59 long SIGNATURE_MISSING = 1 << 2; 60 61 65 66 long SIGNATURE_CLASS_NOT_FOUND = 1 << 3; 67 68 72 73 long SIGNATURE_CLASS_INVALID = 1 << 4; 74 75 79 80 long MANDATORY_INTERFACE_NOT_BOUND = 1 << 5; 81 82 87 88 Component getOwner (); 89 90 98 99 long getStatus (); 100 101 108 109 void setStatus (long status); 110 111 117 118 String getName (); 119 120 128 129 void setName (String name); 130 131 137 138 String getSignature (); 139 140 149 150 void setSignature (String signature); 151 152 158 159 boolean isInternal (); 160 161 167 168 boolean isOptional (); 169 170 178 179 void setIsOptional (boolean isOptional); 180 181 187 188 boolean isCollection (); 189 190 198 199 void setIsCollection (boolean isCollection); 200 201 207 208 Interface getMasterCollectionInterface (); 209 210 217 218 List getSlaveCollectionInterfaces (); 219 220 225 226 Interface getComplementaryInterface (); 227 228 234 235 Interface getMasterInterface (); 236 } 237 | Popular Tags |