org.openejb.alt.config.ejb11
Class ResourceRef

java.lang.Object
  extended byorg.openejb.alt.config.ejb11.ResourceRef
All Implemented Interfaces:
Serializable

public class ResourceRef
extends Object
implements 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
 String getDescription()
          Returns the value of field 'description'.
 String getId()
          Returns the value of field 'id'.
 String getResAuth()
          Returns the value of field 'resAuth'.
 String getResRefName()
          Returns the value of field 'resRefName'.
 String getResType()
          Returns the value of field 'resType'.
 boolean isValid()
          Method isValid
 void marshal(ContentHandler handler)
          Method marshal
 void marshal(Writer out)
          Method marshal
 void setDescription(String description)
          Sets the value of field 'description'.
 void setId(String id)
          Sets the value of field 'id'.
 void setResAuth(String resAuth)
          Sets the value of field 'resAuth'.
 void setResRefName(String resRefName)
          Sets the value of field 'resRefName'.
 void setResType(String resType)
          Sets the value of field 'resType'.
static Object unmarshal(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 String getDescription()
Returns the value of field 'description'.

Returns:
the value of field 'description'.

getId

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

Returns:
the value of field 'id'.

getResAuth

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

Returns:
the value of field 'resAuth'.

getResRefName

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

Returns:
the value of field 'resRefName'.

getResType

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

Returns:
the value of field 'resType'.

isValid

public boolean isValid()
Method isValid


marshal

public void marshal(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(ContentHandler handler)
             throws IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

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

setDescription

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

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

setId

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

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

setResAuth

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

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

setResRefName

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

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

setResType

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

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

unmarshal

public static Object unmarshal(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-2007 OpenEJB. All Rights Reserved.