org.jboss.jca.common.api.metadata.ra
Class Path

java.lang.Object
  extended by org.jboss.jca.common.api.metadata.ra.Path
All Implemented Interfaces:
Serializable, Cloneable, CopyableMetaData, JCAMetadata

public class Path
extends Object
implements JCAMetadata, CopyableMetaData

Author:
Stefano Maestri
See Also:
Serialized Form

Method Summary
 CopyableMetaData copy()
          Creates and returns a copy of this object.
 boolean equals(Object obj)
          
 int hashCode()
          
 String toString()
          
static Path valueOf(String path)
          convenient method to cfreate a path object validating it according JCA specs
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

valueOf

public static Path valueOf(String path)
                    throws InvalidParameterException
convenient method to cfreate a path object validating it according JCA specs

Parameters:
path - the Path String
Returns:
the Path object
Throws:
InvalidParameterException - in case path could not be validated according JCA specs

hashCode

public int hashCode()

Overrides:
hashCode in class Object
See Also:
Object.hashCode()

equals

public boolean equals(Object obj)

Overrides:
equals in class Object
See Also:
Object.equals(java.lang.Object)

toString

public String toString()

Overrides:
toString in class Object
See Also:
Object.toString()

copy

public CopyableMetaData copy()
Description copied from interface: CopyableMetaData
Creates and returns a copy of this object. Ther copy is done in deep of all elements. It isn't formally a clone of the instance since it does not respect the assumption for which returned clone of cloneMethod are instance of Object

Specified by:
copy in interface CopyableMetaData
Returns:
a copy of this instance.


Copyright © 2012 JBoss, by Red Hat (http://www.jboss.org/ironjacamar)