org.springframework.roo.classpath.details.annotations
Class DoubleAttributeValue

java.lang.Object
  extended by org.springframework.roo.classpath.details.annotations.AbstractAnnotationAttributeValue<Double>
      extended by org.springframework.roo.classpath.details.annotations.DoubleAttributeValue
All Implemented Interfaces:
AnnotationAttributeValue<Double>

public class DoubleAttributeValue
extends AbstractAnnotationAttributeValue<Double>

Represents a double annotation attribute value.

Since:
1.0
Author:
Ben Alex

Constructor Summary
DoubleAttributeValue(org.springframework.roo.model.JavaSymbolName name, double value, boolean floatingPrecisionOnly)
           
 
Method Summary
 Double getValue()
           
 boolean isFloatingPrecisionOnly()
           
 String toString()
           
 
Methods inherited from class org.springframework.roo.classpath.details.annotations.AbstractAnnotationAttributeValue
getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DoubleAttributeValue

public DoubleAttributeValue(org.springframework.roo.model.JavaSymbolName name,
                            double value,
                            boolean floatingPrecisionOnly)
Method Detail

isFloatingPrecisionOnly

public boolean isFloatingPrecisionOnly()

getValue

public Double getValue()
Returns:
the value (never null)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2010 VMware, Inc. All Rights Reserved.