1 16 package org.apache.juddi.datatype; 17 18 24 public class Name implements RegistryObject 25 { 26 String nameValue; 27 String langCode; 29 32 public Name() 33 { 34 } 35 36 41 public Name(String name) 42 { 43 setValue(name); 44 } 45 46 52 public Name(String name,String lang) 53 { 54 setValue(name); 55 setLanguageCode(lang); 56 } 57 58 63 public void setValue(String newName) 64 { 65 this.nameValue = newName; 66 } 67 68 73 public String getValue() 74 { 75 return this.nameValue; 76 } 77 78 83 public void setLanguageCode(String newLang) 84 { 85 this.langCode = newLang; 86 } 87 88 93 public String getLanguageCode() 94 { 95 return this.langCode; 96 } 97 } | Popular Tags |