org.ow2.jonas.deployment.common.xml
Class ResourceEnvRef

java.lang.Object
  extended by org.ow2.jonas.deployment.common.xml.AbsElement
      extended by org.ow2.jonas.deployment.common.xml.ResourceEnvRef
All Implemented Interfaces:
Serializable, Element

public class ResourceEnvRef
extends AbsElement

This class defines the implementation of the element resource-env-ref.

Author:
Florent Benoit
See Also:
Serialized Form

Constructor Summary
ResourceEnvRef()
           
 
Method Summary
 String getDescription()
           
 String getResourceEnvRefName()
           
 String getResourceEnvRefType()
           
 void setDescription(String description)
          Sets the description
 void setResourceEnvRefName(String resourceEnvRefName)
          Sets the name
 void setResourceEnvRefType(String resourceEnvRefType)
          Sets the type
 String toXML(int indent)
          Represents this element by it's XML description.
 
Methods inherited from class org.ow2.jonas.deployment.common.xml.AbsElement
indent, toString, toXML, xmlAttribute, xmlElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResourceEnvRef

public ResourceEnvRef()
Method Detail

setDescription

public void setDescription(String description)
Sets the description

Parameters:
description - the description to use

setResourceEnvRefName

public void setResourceEnvRefName(String resourceEnvRefName)
Sets the name

Parameters:
resourceEnvRefName - the name to use

setResourceEnvRefType

public void setResourceEnvRefType(String resourceEnvRefType)
Sets the type

Parameters:
resourceEnvRefType - the type to use

getDescription

public String getDescription()
Returns:
the description of the resource-env-ref

getResourceEnvRefName

public String getResourceEnvRefName()
Returns:
the name of the resource-env-ref

getResourceEnvRefType

public String getResourceEnvRefType()
Returns:
the type of the resource-env-ref

toXML

public String toXML(int indent)
Represents this element by it's XML description.

Specified by:
toXML in interface Element
Specified by:
toXML in class AbsElement
Parameters:
indent - use this indent for prexifing XML representation.
Returns:
the XML description of this object.


Copyright © 2010 OW2 Consortium. All Rights Reserved.