1 26 27 package org.objectweb.openccm.Components; 28 29 37 38 public class UsesInfo 39 extends PortInfo 40 { 41 47 50 private int limit_; 51 52 55 private boolean simple_; 56 57 60 private org.objectweb.ccm.util.Table connections_; 61 62 68 71 public 72 UsesInfo(java.lang.String rep_id, 73 java.lang.String name, 74 java.lang.String type_id) 75 { 76 super(rep_id, name, type_id, PortInfo.pk_uses); 77 simple_ = true; 78 limit_ = -1; 79 connections_ = new org.objectweb.ccm.util.Table(); 80 } 81 82 85 public 86 UsesInfo(java.lang.String rep_id, 87 java.lang.String name, 88 java.lang.String type_id, 89 int limit) 90 { 91 super(rep_id, name, type_id, PortInfo.pk_uses); 92 simple_ = false; 93 limit_ = limit; 94 connections_ = new org.objectweb.ccm.util.Table(); 95 } 96 97 103 107 public int 108 limit() 109 { 110 return limit_; 111 } 112 113 116 public boolean 117 simple() 118 { 119 return simple_; 120 } 121 122 125 public org.objectweb.ccm.util.Table 126 connections() 127 { 128 return connections_; 129 } 130 } 131 | Popular Tags |