1 16 package org.apache.juddi.datatype.response; 17 18 import org.apache.juddi.datatype.RegistryObject; 19 20 26 public class PublisherList implements RegistryObject 27 { 28 String generic; 29 String operator; 30 boolean truncated; 31 PublisherInfos publisherInfos; 32 33 36 public PublisherList() 37 { 38 } 39 40 44 public void setGeneric(String genericValue) 45 { 46 this.generic = genericValue; 47 } 48 49 53 public String getGeneric() 54 { 55 return this.generic; 56 } 57 58 61 public void setOperator(String operator) 62 { 63 this.operator = operator; 64 } 65 66 69 public String getOperator() 70 { 71 return this.operator; 72 } 73 74 77 public boolean isTruncated() 78 { 79 return this.truncated; 80 } 81 82 85 public void setTruncated(boolean val) 86 { 87 this.truncated = val; 88 } 89 90 93 public void addPublisherInfo(PublisherInfo info) 94 { 95 if (info == null) 97 return; 98 99 if (this.publisherInfos == null) 100 this.publisherInfos = new PublisherInfos(); 101 this.publisherInfos.addPublisherInfo(info); 102 } 103 104 107 public void setPublisherInfos(PublisherInfos infos) 108 { 109 this.publisherInfos = infos; 110 } 111 112 115 public PublisherInfos getPublisherInfos() 116 { 117 return this.publisherInfos; 118 } 119 } | Popular Tags |