org.springframework.roo.classpath.details.annotations
Class ArrayAttributeValue<Y extends AnnotationAttributeValue<?>>

java.lang.Object
  extended by org.springframework.roo.classpath.details.annotations.AbstractAnnotationAttributeValue<List<Y>>
      extended by org.springframework.roo.classpath.details.annotations.ArrayAttributeValue<Y>
Type Parameters:
Y - the type of each AnnotationAttributeValue
All Implemented Interfaces:
AnnotationAttributeValue<List<Y>>

public class ArrayAttributeValue<Y extends AnnotationAttributeValue<?>>
extends AbstractAnnotationAttributeValue<List<Y>>

Represents an array of annotation attribute values.

Since:
1.0
Author:
Ben Alex

Constructor Summary
ArrayAttributeValue(org.springframework.roo.model.JavaSymbolName name, List<Y> value)
          Constructor
 
Method Summary
 List<Y> getValue()
          Returns an unmodifiable copy of the array values
 String toString()
           
 
Methods inherited from class org.springframework.roo.classpath.details.annotations.AbstractAnnotationAttributeValue
equals, getName, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ArrayAttributeValue

public ArrayAttributeValue(org.springframework.roo.model.JavaSymbolName name,
                           List<Y> value)
Constructor

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

getValue

public List<Y> getValue()
Returns an unmodifiable copy of the array values

Returns:
the value (never null)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009–2015. All rights reserved.