1 16 package org.apache.juddi.datatype; 17 18 29 public class Description implements RegistryObject 30 { 31 String descValue; 32 String langCode; 34 37 public Description() 38 { 39 } 40 41 44 public Description(String descValue) 45 { 46 this.setValue(descValue); 47 } 48 49 52 public Description(String descValue,String langCode) 53 { 54 this.setValue(descValue); 55 this.setLanguageCode(langCode); 56 } 57 58 63 public void setLanguageCode(String langCode) 64 { 65 this.langCode = langCode; 66 } 67 68 74 public String getLanguageCode() 75 { 76 return this.langCode; 77 } 78 79 85 public void setValue(String newDesc) 86 { 87 this.descValue = newDesc; 88 } 89 90 95 public String getValue() 96 { 97 return this.descValue; 98 } 99 } | Popular Tags |