1 16 package org.apache.juddi.datatype.subscription; 17 18 import java.util.Date ; 19 20 import org.apache.juddi.datatype.BindingKey; 21 import org.apache.juddi.datatype.RegistryObject; 22 23 47 public class Subscription implements RegistryObject 48 { 49 String subscriptionKey; 50 SubscriptionFilter subscriptionFilter; 51 String notificationInterval; 52 int maxEntities; 53 Date expiresAfter; 54 BindingKey bindingKey; 55 boolean brief; 56 57 60 public Subscription() 61 { 62 } 63 64 67 public String getSubscriptionKey() 68 { 69 return subscriptionKey; 70 } 71 72 75 public void setSubscriptionKey(String subscriptionKey) 76 { 77 this.subscriptionKey = subscriptionKey; 78 } 79 80 83 public BindingKey getBindingKey() 84 { 85 return bindingKey; 86 } 87 88 91 public void setBindingKey(BindingKey bindingKey) 92 { 93 this.bindingKey = bindingKey; 94 } 95 96 99 public boolean isBrief() 100 { 101 return brief; 102 } 103 104 107 public void setBrief(boolean brief) 108 { 109 this.brief = brief; 110 } 111 112 115 public Date getExpiresAfter() 116 { 117 return expiresAfter; 118 } 119 120 123 public void setExpiresAfter(Date expiresAfter) 124 { 125 this.expiresAfter = expiresAfter; 126 } 127 128 131 public int getMaxEntities() 132 { 133 return maxEntities; 134 } 135 136 139 public void setMaxEntities(int maxEntities) 140 { 141 this.maxEntities = maxEntities; 142 } 143 144 147 public String getNotificationInterval() 148 { 149 return notificationInterval; 150 } 151 152 155 public void setNotificationInterval(String notificationInterval) 156 { 157 this.notificationInterval = notificationInterval; 158 } 159 160 163 public SubscriptionFilter getSubscriptionFilter() 164 { 165 return subscriptionFilter; 166 } 167 168 171 public void setSubscriptionFilter(SubscriptionFilter subscriptionFilter) 172 { 173 this.subscriptionFilter = subscriptionFilter; 174 } 175 } | Popular Tags |