Path Class
- public class Path
extends Object
implements Serializable
Base class for all path based entities.
Known extending classes
PortalPath
DesktopPath
-
Hierarchy
-
Object
Path
-
All Implemented Interfaces
-
Serializable
-
Direct Known Subclasses
-
DesktopPath
, PortalPath
Path
public Path(String
path)
- Cannot be null.
equals(Object) Method
public boolean equals(Object
o)
-
Overrides
-
Object.equals(Object)
Parameters
-
o
- a
Path
object to compare to this Path
.
Returns
true
if this Path
object is the same as the Path
object argument; false
otherwise.
getPath() Method
public String
getPath()
Returns
- string value of the path.
hashCode() Method
public int hashCode()
-
Overrides
-
Object.hashCode()
Returns
- a hash code value for this object.
setPath(String) Method
public void setPath(String
path)
Cannot be null.
Parameters
-
path
- string value of the path.