public class ChildKey
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
ChildKey()
A Default Constructor.
|
ChildKey(DirectoryNode parent,
java.lang.String name)
Construct one with parameters.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object other)
Override of equals.
|
java.lang.String |
getName()
Get the name.
|
DirectoryNode |
getParent()
Get the parent.
|
int |
hashCode()
Override of hashCode.
|
void |
setName(java.lang.String name)
Set the name.
|
void |
setParent(DirectoryNode parent)
Set the parent.
|
public ChildKey(DirectoryNode parent, java.lang.String name)
parent - The parent directory.name - The name of the child.public ChildKey()
public void setParent(DirectoryNode parent)
public DirectoryNode getParent()
public void setName(java.lang.String name)
public java.lang.String getName()
public boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.