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.publisher.Publisher; 22 23 30 public class PublisherDetail implements RegistryObject 31 { 32 String generic; 33 String operator; 34 boolean truncated; 35 Vector publisherVector; 36 37 40 public PublisherDetail() 41 { 42 } 43 44 48 public void setGeneric(String genericValue) 49 { 50 this.generic = genericValue; 51 } 52 53 57 public String getGeneric() 58 { 59 return this.generic; 60 } 61 62 65 public void setOperator(String operator) 66 { 67 this.operator = operator; 68 } 69 70 73 public String getOperator() 74 { 75 return this.operator; 76 } 77 78 81 public boolean isTruncated() 82 { 83 return this.truncated; 84 } 85 86 89 public void setTruncated(boolean val) 90 { 91 this.truncated = val; 92 } 93 94 97 public void addPublisher(Publisher publisher) 98 { 99 if (publisher == null) 101 return; 102 103 if (this.publisherVector == null) 104 this.publisherVector = new Vector (); 105 this.publisherVector.add(publisher); 106 } 107 108 111 public void setPublisherVector(Vector publishers) 112 { 113 this.publisherVector = publishers; 114 } 115 116 119 public Vector getPublisherVector() 120 { 121 return this.publisherVector; 122 } 123 } | Popular Tags |