1 16 package org.apache.juddi.datatype.request; 17 18 import java.util.Vector ; 19 20 import org.apache.juddi.datatype.RegistryObject; 21 import org.apache.juddi.datatype.publisher.PublisherID; 22 23 29 public class GetPublisherDetail implements RegistryObject,Admin 30 { 31 String generic; 32 Vector publisherIDVector; 33 34 37 public GetPublisherDetail() 38 { 39 } 40 41 45 public void setGeneric(String genericValue) 46 { 47 this.generic = genericValue; 48 } 49 50 54 public String getGeneric() 55 { 56 return this.generic; 57 } 58 59 62 public Vector getPublisherIDVector() 63 { 64 return this.publisherIDVector; 65 } 66 67 72 public void addPublisherID(PublisherID id) 73 { 74 if ((id != null) && (id.getValue() != null)) 75 addPublisherID(id.getValue()); 76 } 77 78 83 public void addPublisherID(String id) 84 { 85 if (id == null) 87 return; 88 89 if (publisherIDVector == null) 90 publisherIDVector = new Vector (); 91 publisherIDVector.add(id); 92 } 93 94 99 public void setPublisherIDVector(Vector idVector) 100 { 101 this.publisherIDVector = idVector; 102 } 103 } | Popular Tags |