1 16 package org.apache.juddi.datatype; 17 18 19 28 public class Email implements RegistryObject 29 { 30 String value; 31 String useType; 32 33 36 public Email() 37 { 38 } 39 40 45 public Email(String email) 46 { 47 this.value = email; 48 } 49 50 56 public Email(String email, String type) 57 { 58 this.value = email; 59 this.useType = type; 60 } 61 62 67 public void setValue(String email) 68 { 69 this.value = email; 70 } 71 72 77 public String getValue() 78 { 79 return this.value; 80 } 81 82 89 public void setUseType(String type) 90 { 91 this.useType = type; 92 } 93 94 100 public String getUseType() 101 { 102 return this.useType; 103 } 104 } | Popular Tags |