org.kuali.rice.vc.test
Class WsdlCompareTestCase.MavenVersion

java.lang.Object
  extended by org.kuali.rice.vc.test.WsdlCompareTestCase.MavenVersion
All Implemented Interfaces:
Comparable<WsdlCompareTestCase.MavenVersion>
Enclosing class:
WsdlCompareTestCase

protected static class WsdlCompareTestCase.MavenVersion
extends Object
implements Comparable<WsdlCompareTestCase.MavenVersion>

Utility class for parsing and comparing maven versions


Constructor Summary
WsdlCompareTestCase.MavenVersion(String versionString)
          Constructor that takes just a version string as an argument.
WsdlCompareTestCase.MavenVersion(String versionString, String timestampString)
           
 
Method Summary
 int compareTo(WsdlCompareTestCase.MavenVersion that)
           
 boolean equals(Object o)
           
 List<Integer> getNumbers()
           
 String getOriginalForm()
           
 String getQualifier()
           
 Long getTimestamp()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WsdlCompareTestCase.MavenVersion

public WsdlCompareTestCase.MavenVersion(String versionString)
Constructor that takes just a version string as an argument. Beware, because 0 will be used as the timestamp!

Parameters:
versionString -

WsdlCompareTestCase.MavenVersion

public WsdlCompareTestCase.MavenVersion(String versionString,
                                        String timestampString)
Method Detail

compareTo

public int compareTo(WsdlCompareTestCase.MavenVersion that)
Specified by:
compareTo in interface Comparable<WsdlCompareTestCase.MavenVersion>

getNumbers

public List<Integer> getNumbers()

getQualifier

public String getQualifier()

getTimestamp

public Long getTimestamp()

getOriginalForm

public String getOriginalForm()

toString

public String toString()
Overrides:
toString in class Object

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.