Class XArrayAnnotationField<T>
java.lang.Object
org.jvnet.basicjaxb_annox.model.annotation.field.XAnnotationField<T[]>
org.jvnet.basicjaxb_annox.model.annotation.field.XArrayAnnotationField<T>
-
Constructor Summary
ConstructorsConstructorDescriptionXArrayAnnotationField(String name, Class<?> type, XAnnotationValue<T>... values) -
Method Summary
Methods inherited from class org.jvnet.basicjaxb_annox.model.annotation.field.XAnnotationField
getInternalValue, getName
-
Constructor Details
-
XArrayAnnotationField
@SafeVarargs public XArrayAnnotationField(String name, Class<?> type, XAnnotationValue<T>... values)
-
-
Method Details
-
getType
Description copied from class:XAnnotationFieldReturn the type of the field.- Specified by:
getTypein classXAnnotationField<T[]>- Returns:
- Type of the field.
-
getAnnotationValues
-
getValue
Description copied from class:XAnnotationFieldReturns the value of the field.- Specified by:
getValuein classXAnnotationField<T[]>- Returns:
- Value of the field.
-
getResult
Description copied from class:XAnnotationFieldReturns the result value of the field. By default, returns the value of the field.- Overrides:
getResultin classXAnnotationField<T[]>- Returns:
- Result value of the field.
-
toString
-
hashCode
public int hashCode() -
equals
-
accept
Description copied from class:XAnnotationFieldAccepts the annotation visitor.- Specified by:
acceptin classXAnnotationField<T[]>- Type Parameters:
P- Return type of the visitor.- Parameters:
visitor- visitor to accept.- Returns:
- Result of the visit.
-