1 16 package org.apache.juddi.datatype.response; 17 18 import java.util.Vector ; 19 20 import org.apache.juddi.datatype.RegistryObject; 21 import org.apache.juddi.datatype.subscription.Subscription; 22 23 26 public class Subscriptions implements RegistryObject 27 { 28 String generic; 29 String operator; 30 Vector subscriptionVector; 31 32 35 public Subscriptions() 36 { 37 } 38 39 43 public void setGeneric(String genericValue) 44 { 45 this.generic = genericValue; 46 } 47 48 52 public String getGeneric() 53 { 54 return this.generic; 55 } 56 57 60 public void setOperator(String operator) 61 { 62 this.operator = operator; 63 } 64 65 68 public String getOperator() 69 { 70 return this.operator; 71 } 72 73 76 public void addSubscription(Subscription subscription) 77 { 78 if (this.subscriptionVector == null) 79 this.subscriptionVector = new Vector (); 80 this.subscriptionVector.add(subscription); 81 } 82 83 86 public void setSubscriptionVector(Vector subscriptions) 87 { 88 this.subscriptionVector = subscriptions; 89 } 90 91 94 public Vector getSubscriptionVector() 95 { 96 return subscriptionVector; 97 } 98 } | Popular Tags |