org.abstracthorizon.danube.webdav.java
Class Bean

java.lang.Object
  extended by org.abstracthorizon.danube.webdav.java.Bean
Direct Known Subclasses:
Delegate

public class Bean
extends Object

This class represents a path to the bean

Author:
Daniel Sendula

Field Summary
protected  String path
          Path from the root object
 
Constructor Summary
Bean(String path)
          Constructor
 
Method Summary
 boolean equals(Object object)
          Compares path's of two objects
 String getPath()
          Returns path
 int hashCode()
          Returns path string's hash code
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

path

protected String path
Path from the root object

Constructor Detail

Bean

public Bean(String path)
Constructor

Parameters:
path - a path from the root object
Method Detail

getPath

public String getPath()
Returns path

Returns:
path

hashCode

public int hashCode()
Returns path string's hash code

Overrides:
hashCode in class Object
Returns:
path string's hash code

equals

public boolean equals(Object object)
Compares path's of two objects

Overrides:
equals in class Object
Parameters:
object - other object
Returns:
true if two paths are equal


Copyright © 2005-2009 Abstract Horizon. All Rights Reserved.