org.hibernate.beanvalidation.tck.util
Class PathNodeNames

java.lang.Object
  extended by org.hibernate.beanvalidation.tck.util.PathNodeNames
All Implemented Interfaces:
Comparable<PathNodeNames>

public class PathNodeNames
extends Object
implements Comparable<PathNodeNames>

A list of descriptor names, representing the names of the nodes of a given Path. Instances are retrieved via TestUtil.names(String...).

Implemented as separate class since generic classes such as List can't be passed without warning to varargs methods in Java 6.

Author:
Gunnar Morling

Method Summary
 int compareTo(PathNodeNames other)
           
 boolean equals(Object obj)
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

compareTo

public int compareTo(PathNodeNames other)
Specified by:
compareTo in interface Comparable<PathNodeNames>

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2008-2013. All Rights Reserved.