org.springframework.roo.classpath.details.annotations
Class AbstractAnnotationAttributeValue<T>
java.lang.Object
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
AbstractAnnotationAttributeValue
protected AbstractAnnotationAttributeValue(org.springframework.roo.model.JavaSymbolName name)
- Constructor
- Parameters:
name - the attribute name (required)
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.