org.springframework.roo.classpath.details.annotations
Interface AnnotationAttributeValue<T>
- Type Parameters:
T - the type of value this attribute contains
- All Known Implementing Classes:
- AbstractAnnotationAttributeValue, ArrayAttributeValue, BooleanAttributeValue, CharAttributeValue, ClassAttributeValue, DoubleAttributeValue, EnumAttributeValue, IntegerAttributeValue, LongAttributeValue, NestedAnnotationAttributeValue, StringAttributeValue
public interface AnnotationAttributeValue<T>
Represent an annotation attribute value.
Implementations must correctly meet the contractual requirements of
#equals(Object) and #hashCode().
- Since:
- 1.0
- Author:
- Ben Alex
|
Method Summary |
org.springframework.roo.model.JavaSymbolName |
getName()
|
T |
getValue()
|
getName
org.springframework.roo.model.JavaSymbolName getName()
- Returns:
- the name of the attribute (never null; often the name will be
"value")
getValue
T getValue()
- Returns:
- the value (never null)
Copyright © 2009–2015. All rights reserved.