1 26 27 package org.objectweb.openccm.Components; 28 29 39 40 public class PortInfo 41 { 42 48 51 public static final int pk_provides = 1; 52 53 56 public static final int pk_uses = 2; 57 58 61 public static final int pk_consumes = 3; 62 63 66 public static final int pk_emits = 4; 67 68 71 public static final int pk_publishes = 5; 72 73 79 82 private java.lang.String repid_; 83 84 87 private java.lang.String type_id_; 88 89 92 private java.lang.String name_; 93 94 97 private int kind_; 98 99 105 108 public 109 PortInfo(java.lang.String repid, 110 java.lang.String name, 111 java.lang.String type_id, 112 int kind) 113 { 114 repid_ = repid; 115 type_id_ = type_id; 116 name_ = name; 117 kind_ = kind; 118 } 119 120 126 129 public java.lang.String 130 id() 131 { 132 return repid_; 133 } 134 135 138 public java.lang.String 139 type_id() 140 { 141 return type_id_; 142 } 143 144 147 public java.lang.String 148 name() 149 { 150 return name_; 151 } 152 153 156 public int 157 kind() 158 { 159 return kind_; 160 } 161 } 162 | Popular Tags |