org.jvnet.annox.model
Class XAnnotationField.XArrayField<T>
java.lang.Object
org.jvnet.annox.model.XAnnotationField<T[]>
org.jvnet.annox.model.XAnnotationField.XArrayField<T>
- Type Parameters:
T
- Type of the array element.
- Direct Known Subclasses:
- XAnnotationField.XClassArray, XAnnotationField.XFixedArrayField
- Enclosing class:
- XAnnotationField<T>
public abstract static class XAnnotationField.XArrayField<T>
- extends XAnnotationField<T[]>
Defines an array field.
- Author:
- Aleksei Valikov
Nested classes/interfaces inherited from class org.jvnet.annox.model.XAnnotationField |
XAnnotationField.XAnnotation, XAnnotationField.XAnnotationArray, XAnnotationField.XArrayField<T>, XAnnotationField.XBoolean, XAnnotationField.XBooleanArray, XAnnotationField.XByte, XAnnotationField.XByteArray, XAnnotationField.XChar, XAnnotationField.XCharArray, XAnnotationField.XClass, XAnnotationField.XClassArray, XAnnotationField.XDouble, XAnnotationField.XDoubleArray, XAnnotationField.XEnum, XAnnotationField.XEnumArray, XAnnotationField.XField<T>, XAnnotationField.XFixedArrayField<T>, XAnnotationField.XFixedField<T>, XAnnotationField.XFloat, XAnnotationField.XFloatArray, XAnnotationField.XInt, XAnnotationField.XIntArray, XAnnotationField.XLong, XAnnotationField.XLongArray, XAnnotationField.XShort, XAnnotationField.XShortArray, XAnnotationField.XString, XAnnotationField.XStringArray |
XAnnotationField.XArrayField
public XAnnotationField.XArrayField(String name)
toString
public String toString()
- Overrides:
toString
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
getInternalValue
public Object[] getInternalValue()
- Description copied from class:
XAnnotationField
- Returns the internal value of the field used for
Object.hashCode()
,
Object.equals(Object)
and Object.toString()
operations. Defaults to
the value of the field.
- Overrides:
getInternalValue
in class XAnnotationField<T[]>
- Returns:
- Returns the value of the field.
getResult
public Object getResult()
- Description copied from class:
XAnnotationField
- Returns the result value of the field. By default, returns the value of
the field.
- Overrides:
getResult
in class XAnnotationField<T[]>
- Returns:
- Result value of the field.
Copyright © 2006-2012 Highsource. All Rights Reserved.