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

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

public class ResourceRef
extends AbsElement

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

Author:
Florent Benoit
See Also:
Serialized Form

Constructor Summary
ResourceRef()
           
 
Method Summary
 String getDescription()
           
 String getResAuth()
           
 String getResRefName()
           
 String getResSharingScope()
           
 String getResType()
           
 void setDescription(String description)
          Sets the description
 void setResAuth(String resAuth)
          Sets the auth
 void setResRefName(String resRefName)
          Sets the name
 void setResSharingScope(String resSharingScope)
          Sets the sharing-scope
 void setResType(String resType)
          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

ResourceRef

public ResourceRef()
Method Detail

setDescription

public void setDescription(String description)
Sets the description

Parameters:
description - the description to use

setResRefName

public void setResRefName(String resRefName)
Sets the name

Parameters:
resRefName - the name to use

setResType

public void setResType(String resType)
Sets the type

Parameters:
resType - the type to use

setResAuth

public void setResAuth(String resAuth)
Sets the auth

Parameters:
resAuth - the auth to use

setResSharingScope

public void setResSharingScope(String resSharingScope)
Sets the sharing-scope

Parameters:
resSharingScope - the sharing-scope to use

getDescription

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

getResRefName

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

getResType

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

getResAuth

public String getResAuth()
Returns:
the auth of the resource-ref

getResSharingScope

public String getResSharingScope()
Returns:
the sharing-scope of the resource-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.