FileDocCategorySizeDatePackage
DescriptionGroupMetaData.javaAPI DocJBoss 4.2.14190Fri Jul 13 21:01:18 BST 2007org.jboss.resource.metadata

DescriptionGroupMetaData

public class DescriptionGroupMetaData extends Object implements Serializable
Description group meta data
author
Adrian Brock
version
$Revision: 57189 $

Fields Summary
static final long
serialVersionUID
private String
lang
The language
private String
description
The description
private String
displayName
The display name
private String
smallIcon
The small icon
private String
largeIcon
The large icon
Constructors Summary
public DescriptionGroupMetaData()
Create a new description group meta data using the default langugage


                  
    
   
      this(null);
   
public DescriptionGroupMetaData(String lang)
Create a new description group meta data

param
lang the language

      if (lang == null)
         this.lang = Locale.getDefault().getLanguage();
      else
         this.lang = lang;
   
Methods Summary
public java.lang.StringgetDescription()
Get the description

return
the description

      return description;
   
public java.lang.StringgetDisplayName()
Get the display name

return
the display name

      return displayName;
   
public java.lang.StringgetLanguage()
Get the language

return
the language

      return lang;
   
public java.lang.StringgetLargeIcon()
Get the large icon

return
the large icon

      return largeIcon;
   
public java.lang.StringgetSmallIcon()
Get the small icon

return
the small icon

      return smallIcon;
   
public voidsetDescription(java.lang.String description)
Set the description

param
description the description

      this.description = description;
   
public voidsetDisplayName(java.lang.String displayName)
Set the display name

param
displayName the display name

      this.displayName = displayName;
   
public voidsetLargeIcon(java.lang.String icon)
Set the large icon

param
icon the icon

      this.largeIcon = icon;
   
public voidsetSmallIcon(java.lang.String icon)
Set the small icon

param
icon the icon

      this.smallIcon = icon;
   
public java.lang.StringtoString()

      StringBuffer buffer = new StringBuffer();
      buffer.append("DescriptionGroupMetaData").append('@");
      buffer.append(Integer.toHexString(System.identityHashCode(this)));
      buffer.append("[language=").append(lang);
      if (description != null)
         buffer.append(" description=").append(description);
      if (displayName != null)
         buffer.append(" displayName=").append(displayName);
      if (smallIcon != null)
         buffer.append(" smallIcon=").append(smallIcon);
      if (largeIcon != null)
         buffer.append(" largeIcon=").append(largeIcon);
      buffer.append(']");
      return buffer.toString();