au.com.prunge.jgenfile
Class AbsoluteItemReference

java.lang.Object
  |
  +--au.com.prunge.jgenfile.ItemReference
        |
        +--au.com.prunge.jgenfile.AbsoluteItemReference

public class AbsoluteItemReference
extends ItemReference

An absolute item reference is an item reference where its most distant ancestor is a root in the file system.

Version:
1.01
Author:
Peter Runge

Constructor Summary
AbsoluteItemReference(List ancestorNames)
          Constructs an AbsoluteItemReference.
 
Method Summary
 boolean equals(Object o)
          Tests if this reference equals another.
 
Methods inherited from class au.com.prunge.jgenfile.ItemReference
getAncestorNames, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbsoluteItemReference

public AbsoluteItemReference(List ancestorNames)
Constructs an AbsoluteItemReference.

Parameters:
ancestorNames - the (string) names of the item itself and its ancestors in order from the item itself to its most distant ancestor.
Method Detail

equals

public boolean equals(Object o)
Description copied from class: ItemReference
Tests if this reference equals another.

Overrides:
equals in class ItemReference
Parameters:
o - the object to test equality with.
Returns:
true if the references are equal, false if not.
See Also:
Object.equals(java.lang.Object)