org.alfresco.repo.avm
Class ChildKey

java.lang.Object
  extended by org.alfresco.repo.avm.ChildKey
All Implemented Interfaces:
java.io.Serializable

public class ChildKey
extends java.lang.Object
implements java.io.Serializable

The key to a ChildEntry, a Parent and a name.

See Also:
Serialized Form

Constructor Summary
ChildKey()
          A Default Constructor.
ChildKey(DirectoryNode parent, java.lang.String name)
          Construct one with parameters.
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChildKey

public ChildKey(DirectoryNode parent,
                java.lang.String name)
Construct one with parameters.

Parameters:
parent - The parent directory.
name - The name of the child.

ChildKey

public ChildKey()
A Default Constructor.

Method Detail

setParent

public void setParent(DirectoryNode parent)
Set the parent.


getParent

public DirectoryNode getParent()
Get the parent.

Returns:
A DirectoryNode.

setName

public void setName(java.lang.String name)
Set the name.


getName

public java.lang.String getName()
Get the name.


equals

public boolean equals(java.lang.Object other)
Override of equals.

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Override of hashCode.

Overrides:
hashCode in class java.lang.Object


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.