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

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

public class StringAttributeValue
extends AbstractAnnotationAttributeValue<String>

Represents a String annotation attribute value.

Source code parsers should treat any quoted string as a StringAttributeValue.

Since:
1.0
Author:
Ben Alex

Constructor Summary
StringAttributeValue(org.springframework.roo.model.JavaSymbolName name, String value)
           
 
Method Summary
 String getValue()
           
 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

StringAttributeValue

public StringAttributeValue(org.springframework.roo.model.JavaSymbolName name,
                            String value)
Method Detail

getValue

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

toString

public String toString()
Overrides:
toString in class Object


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