com.ibm.uddi.datatypes
Class Description

java.lang.Object
  |
  +--com.ibm.uddi.datatypes.LanguageString
        |
        +--com.ibm.uddi.datatypes.Description
All Implemented Interfaces:
java.io.Serializable

public class Description
extends com.ibm.uddi.datatypes.LanguageString

Corresponds to UDDI v2.0 'description' element.

See Also:
Serialized Form

Field Summary
static java.lang.String java_copyright
           
 
Constructor Summary
Description(java.lang.String description)
          Constructs a Description with the specified text.
Description(java.lang.String description, java.lang.String language)
          Constructs a Description with the specified text and language.
 
Method Summary
 java.lang.String getDescriptionLanguage()
          Returns the language of the Description.
 java.lang.String getDescriptionString()
          Returns the text of the Description.
protected  java.lang.String getLanguage()
          Returns the language of the LanguageString.
protected  java.lang.String getString()
          Returns the text of the LanguageString.
 void setDescriptionLanguage(java.lang.String language)
          Sets the language of the Description.
 void setDescriptionString(java.lang.String descriptionString)
          Sets the text of the Description.
protected  void setLanguage(java.lang.String language)
          Sets the language of the LanguageString.
protected  void setString(java.lang.String contents)
          Sets the text of the LanguageString.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

java_copyright

public static final java.lang.String java_copyright
Constructor Detail

Description

public Description(java.lang.String description)
Constructs a Description with the specified text.
Parameters:
description - the text of the description.

Description

public Description(java.lang.String description,
                   java.lang.String language)
Constructs a Description with the specified text and language.
Parameters:
description - the text of the description.
language - the language of the description.
Method Detail

getDescriptionLanguage

public java.lang.String getDescriptionLanguage()
Returns the language of the Description.
Returns:
the language of the Description.

getDescriptionString

public java.lang.String getDescriptionString()
Returns the text of the Description.
Returns:
the text of the Description.

setDescriptionString

public void setDescriptionString(java.lang.String descriptionString)
Sets the text of the Description.
Parameters:
descriptionString - the text of the Description.

setDescriptionLanguage

public void setDescriptionLanguage(java.lang.String language)
Sets the language of the Description.
Parameters:
language - the language of the Description.

getLanguage

protected java.lang.String getLanguage()
Returns the language of the LanguageString.
Returns:
the language of the LanguageString.

setLanguage

protected void setLanguage(java.lang.String language)
Sets the language of the LanguageString.
Parameters:
language - the language of the LanguageString.

getString

protected java.lang.String getString()
Returns the text of the LanguageString.
Returns:
the text of the LanguageString.

setString

protected void setString(java.lang.String contents)
Sets the text of the LanguageString.
Parameters:
contents - the text of the LanguageString.