1 16 package org.apache.juddi.datatype; 17 18 19 26 public class Phone implements RegistryObject 27 { 28 String phoneNumber; 29 String useType; 30 31 34 public Phone() 35 { 36 } 37 38 43 public Phone(String number) 44 { 45 this.phoneNumber = number; 46 } 47 48 54 public Phone(String number, String useType) 55 { 56 this.phoneNumber = number; 57 this.useType = useType; 58 } 59 60 65 public void setValue(String number) 66 { 67 this.phoneNumber = number; 68 } 69 70 75 public String getValue() 76 { 77 return this.phoneNumber; 78 } 79 80 86 public void setUseType(String type) 87 { 88 this.useType = type; 89 } 90 91 97 public String getUseType() 98 { 99 return this.useType; 100 } 101 } | Popular Tags |