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

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

public class ClassAttributeValue
extends AbstractAnnotationAttributeValue<org.springframework.roo.model.JavaType>

Represents a Class annotation attribute value.

Source code parsers should treat any non-quoted string ending in ".class" as a class name, and then use normal package resolution techniques to determine the fully-qualified class.

Since:
1.0
Author:
Ben Alex

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

ClassAttributeValue

public ClassAttributeValue(org.springframework.roo.model.JavaSymbolName name,
                           org.springframework.roo.model.JavaType value)
Method Detail

getValue

public org.springframework.roo.model.JavaType getValue()
Returns:
the value (never null)

toString

public String toString()
Overrides:
toString in class Object


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