org.springframework.roo.classpath.details.annotations
Class AbstractAnnotationAttributeValue<T>

java.lang.Object
  extended by org.springframework.roo.classpath.details.annotations.AbstractAnnotationAttributeValue<T>
All Implemented Interfaces:
AnnotationAttributeValue<T>
Direct Known Subclasses:
ArrayAttributeValue, BooleanAttributeValue, CharAttributeValue, ClassAttributeValue, DoubleAttributeValue, EnumAttributeValue, IntegerAttributeValue, LongAttributeValue, NestedAnnotationAttributeValue, StringAttributeValue

public abstract class AbstractAnnotationAttributeValue<T>
extends Object
implements AnnotationAttributeValue<T>

Abstract base class for annotation attribute values.

Since:
1.0
Author:
Ben Alex

Constructor Summary
protected AbstractAnnotationAttributeValue(org.springframework.roo.model.JavaSymbolName name)
          Constructor
 
Method Summary
 boolean equals(Object obj)
           
 org.springframework.roo.model.JavaSymbolName getName()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.springframework.roo.classpath.details.annotations.AnnotationAttributeValue
getValue
 

Constructor Detail

AbstractAnnotationAttributeValue

protected AbstractAnnotationAttributeValue(org.springframework.roo.model.JavaSymbolName name)
Constructor

Parameters:
name - the attribute name (required)
Method Detail

equals

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

getName

public org.springframework.roo.model.JavaSymbolName getName()
Specified by:
getName in interface AnnotationAttributeValue<T>
Returns:
the name of the attribute (never null; often the name will be "value")

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2009–2015. All rights reserved.