org.openejb.alt.config.ejb11
Class ResourceRef

java.lang.Object
  extended by org.openejb.alt.config.ejb11.ResourceRef
All Implemented Interfaces:
java.io.Serializable

public class ResourceRef
extends java.lang.Object
implements java.io.Serializable

Class ResourceRef.

Version:
$Revision: 1104 $ $Date: 2004-03-30 16:44:02 -0800 (Tue, 30 Mar 2004) $
See Also:
Serialized Form

Constructor Summary
ResourceRef()
           
 
Method Summary
 java.lang.String getDescription()
          Returns the value of field 'description'.
 java.lang.String getId()
          Returns the value of field 'id'.
 java.lang.String getResAuth()
          Returns the value of field 'resAuth'.
 java.lang.String getResRefName()
          Returns the value of field 'resRefName'.
 java.lang.String getResType()
          Returns the value of field 'resType'.
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void setDescription(java.lang.String description)
          Sets the value of field 'description'.
 void setId(java.lang.String id)
          Sets the value of field 'id'.
 void setResAuth(java.lang.String resAuth)
          Sets the value of field 'resAuth'.
 void setResRefName(java.lang.String resRefName)
          Sets the value of field 'resRefName'.
 void setResType(java.lang.String resType)
          Sets the value of field 'resType'.
static java.lang.Object unmarshal(java.io.Reader reader)
          Method unmarshal
 void validate()
          Method validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceRef

public ResourceRef()
Method Detail

getDescription

public java.lang.String getDescription()
Returns the value of field 'description'.

Returns:
the value of field 'description'.

getId

public java.lang.String getId()
Returns the value of field 'id'.

Returns:
the value of field 'id'.

getResAuth

public java.lang.String getResAuth()
Returns the value of field 'resAuth'.

Returns:
the value of field 'resAuth'.

getResRefName

public java.lang.String getResRefName()
Returns the value of field 'resRefName'.

Returns:
the value of field 'resRefName'.

getResType

public java.lang.String getResType()
Returns the value of field 'resType'.

Returns:
the value of field 'resType'.

isValid

public boolean isValid()
Method isValid


marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

marshal

public void marshal(org.xml.sax.ContentHandler handler)
             throws java.io.IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
handler -
Throws:
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

setDescription

public void setDescription(java.lang.String description)
Sets the value of field 'description'.

Parameters:
description - the value of field 'description'.

setId

public void setId(java.lang.String id)
Sets the value of field 'id'.

Parameters:
id - the value of field 'id'.

setResAuth

public void setResAuth(java.lang.String resAuth)
Sets the value of field 'resAuth'.

Parameters:
resAuth - the value of field 'resAuth'.

setResRefName

public void setResRefName(java.lang.String resRefName)
Sets the value of field 'resRefName'.

Parameters:
resRefName - the value of field 'resRefName'.

setResType

public void setResType(java.lang.String resType)
Sets the value of field 'resType'.

Parameters:
resType - the value of field 'resType'.

unmarshal

public static java.lang.Object unmarshal(java.io.Reader reader)
                                  throws org.exolab.castor.xml.MarshalException,
                                         org.exolab.castor.xml.ValidationException
Method unmarshal

Parameters:
reader -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Method validate

Throws:
org.exolab.castor.xml.ValidationException


Copyright © 1999-2011 OpenEJB. All Rights Reserved.