com.clarkparsia.pellint.model
Class Severity

java.lang.Object
  extended by com.clarkparsia.pellint.model.Severity
All Implemented Interfaces:
java.lang.Comparable<Severity>

public class Severity
extends java.lang.Object
implements java.lang.Comparable<Severity>

Title: Severity

Description: The severity for a Lint relative to all the Lint found within a particular LintPattern. It currently wraps Double, and a higer value represents higher severity.

Copyright: Copyright (c) 2008

Company: Clark & Parsia, LLC.

Author:
Harris Lin

Constructor Summary
Severity(double v)
           
 
Method Summary
 int compareTo(Severity other)
           
 double doubleValue()
           
 boolean equals(java.lang.Object o)
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Severity

public Severity(double v)
Method Detail

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

doubleValue

public double doubleValue()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

compareTo

public int compareTo(Severity other)
Specified by:
compareTo in interface java.lang.Comparable<Severity>


Copyright © 2004 Evren Sirin. All Rights Reserved.