public class Description extends java.lang.Object implements RegistryObject
A default ISO language code will be determined for a publisher at the time that a party establishes permissions to publish at a given operator site or implementation. This default language code will be applied to any description values that are provided with no language code.
Constructor and Description |
---|
Description()
Construct a new initialized Description instance.
|
Description(java.lang.String descValue)
Construct a new initialized Description instance.
|
Description(java.lang.String descValue,
java.lang.String langCode)
Construct a new initialized Description instance.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLanguageCode()
Returns the LanguageCode of this Description.
|
java.lang.String |
getValue()
Returns the text of this Description.
|
void |
setLanguageCode(java.lang.String langCode)
Sets the LanguageCode of this Description.
|
void |
setValue(java.lang.String newDesc)
Sets the text of this Description to the given text.
|
public Description()
public Description(java.lang.String descValue)
public Description(java.lang.String descValue, java.lang.String langCode)
public void setLanguageCode(java.lang.String langCode)
langCode
- The new LanguageCode.public java.lang.String getLanguageCode()
public void setValue(java.lang.String newDesc)
newDesc
- The new text of this Description.public java.lang.String getValue()
Copyright ? 2003 Apache Software Foundation. All rights reserved.