org.jvnet.annox.model
Class XAnnotationField.XClass
java.lang.Object
org.jvnet.annox.model.XAnnotationField<T>
org.jvnet.annox.model.XAnnotationField.XField<Class>
org.jvnet.annox.model.XAnnotationField.XClass
- Enclosing class:
- XAnnotationField<T>
public static class XAnnotationField.XClass
- extends XAnnotationField.XField<Class>
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.XClass
public XAnnotationField.XClass(String name,
Class theClass)
XAnnotationField.XClass
public XAnnotationField.XClass(String name,
String className)
getClassName
public String getClassName()
getType
public Class<?> getType()
- Description copied from class:
XAnnotationField
- Return the type of the field.
- Specified by:
getType
in class XAnnotationField<Class>
- Returns:
- Type of the field.
accept
public <T> T accept(XAnnotationVisitor<T> visitor)
- Description copied from class:
XAnnotationField
- Accepts the annotation visitor.
- Specified by:
accept
in class XAnnotationField<Class>
- Type Parameters:
T
- Return type of the visitor.- Parameters:
visitor
- visitor to accept.
- Returns:
- Result of the visit.
getInternalValue
protected 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<Class>
- Returns:
- Returns the value of the field.
getValue
public Class getValue()
- Description copied from class:
XAnnotationField
- Returns the value of the field.
- Specified by:
getValue
in class XAnnotationField<Class>
- Returns:
- Value of the field.
Copyright © 2006-2012 Highsource. All Rights Reserved.