org.objectweb.jonas_lib.deployment.xml
Class AbsDescriptionElement

java.lang.Object
  extended by org.objectweb.jonas_lib.deployment.xml.AbsElement
      extended by org.objectweb.jonas_lib.deployment.xml.AbsDescriptionElement
All Implemented Interfaces:
java.io.Serializable, DescriptionGroupXml, Element
Direct Known Subclasses:
AbsEnvironmentElement, Application, ClusterDaemon, Domain, EjbJar, JonasApplication, PortComponent, Webservices

public abstract class AbsDescriptionElement
extends AbsElement
implements DescriptionGroupXml

This class defines an abstract implementation for all statndard environment element (entity, session, web-app, application-client, etc.)..

Author:
Florent Benoit
See Also:
Serialized Form

Constructor Summary
AbsDescriptionElement()
          Construct an empty AbsDescriptionElement.
 
Method Summary
 java.lang.String getDescription()
          Get the description of the deployment descriptor.
 java.lang.String getDisplayName()
          Get the display name of the deployment descriptor.
 Icon getIcon()
          Get the icon of the deployment descriptor.
 void setDescription(java.lang.String description)
          Set the description
 void setDisplayName(java.lang.String displayname)
          Set the display-name
 void setIcon(Icon icon)
          Set the icon
 java.lang.String setLargeIcon()
          get the large icon
 void setLargeIcon(java.lang.String large)
          Set the large icon
 java.lang.String setSmallIcon()
          get the small icon
 void setSmallIcon(java.lang.String small)
          Set the small icon
 
Methods inherited from class org.objectweb.jonas_lib.deployment.xml.AbsElement
indent, toString, toXML, toXML, xmlAttribute, xmlElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbsDescriptionElement

public AbsDescriptionElement()
Construct an empty AbsDescriptionElement.

Method Detail

getDisplayName

public java.lang.String getDisplayName()
Description copied from interface: DescriptionGroupXml
Get the display name of the deployment descriptor.

Specified by:
getDisplayName in interface DescriptionGroupXml
Returns:
the display-name element

setDisplayName

public void setDisplayName(java.lang.String displayname)
Set the display-name

Parameters:
displayname - displayname

getIcon

public Icon getIcon()
Description copied from interface: DescriptionGroupXml
Get the icon of the deployment descriptor.

Specified by:
getIcon in interface DescriptionGroupXml
Returns:
the icon

setIcon

public void setIcon(Icon icon)
Set the icon

Parameters:
icon - icon

setSmallIcon

public void setSmallIcon(java.lang.String small)
Set the small icon

Parameters:
small - small icon

setSmallIcon

public java.lang.String setSmallIcon()
get the small icon

Returns:
String small icon

setLargeIcon

public void setLargeIcon(java.lang.String large)
Set the large icon

Parameters:
large - large icon

setLargeIcon

public java.lang.String setLargeIcon()
get the large icon

Returns:
String large icon

getDescription

public java.lang.String getDescription()
Description copied from interface: DescriptionGroupXml
Get the description of the deployment descriptor.

Specified by:
getDescription in interface DescriptionGroupXml
Returns:
the description

setDescription

public void setDescription(java.lang.String description)
Set the description

Parameters:
description - description