View Javadoc
1 package net.sf.flock.hibernate; 2 3 import java.net.URL; 4 5 import net.sf.flock.FeedI; 6 import net.sf.flock.FeedInfoI; 7 import net.sf.flock.MetaData; 8 import net.sf.flock.SubscriptionI; 9 import net.sf.flock.SubscriptionInfoI; 10 11 public class Subscription extends Entity implements SubscriptionI { 12 13 private Feed feed; 14 private URL location; 15 private MetaData metaData; 16 17 public Subscription() { 18 } 19 20 public Subscription(SubscriptionInfoI info) { 21 this.setLocation(info.getLocation()); 22 this.setMetaData(info.getMetaData()); 23 } 24 25 public FeedI getFeed() { 26 return this.feed; 27 } 28 29 protected void setFeed(Feed feed) { 30 this.feed = feed; 31 feed.setSubscription(this); 32 } 33 34 public FeedInfoI getFeedInfo() { 35 return this.feed; 36 } 37 38 public URL getLocation() { 39 return this.location; 40 } 41 42 protected void setLocation(URL location) { 43 this.location = location; 44 } 45 46 public MetaData getMetaData() { 47 return this.metaData; 48 } 49 50 protected void setMetaData(MetaData metaData) { 51 this.metaData = metaData; 52 } 53 54 }

This page was automatically generated by Maven