public class OXMJavaFieldImpl extends java.lang.Object implements JavaField
Purpose: JavaField
implementation used when bootstrapping
a DynamicJAXBContext
from XML Bindings.
Responsibilities:
JavaModel
.JavaField
Constructor and Description |
---|
OXMJavaFieldImpl(java.lang.String aFieldName,
java.lang.String aFieldTypeName,
JavaClass owner)
Construct a new instance of
OXMJavaFieldImpl . |
Modifier and Type | Method and Description |
---|---|
JavaAnnotation |
getAnnotation(JavaClass aClass) |
java.util.Collection<JavaAnnotation> |
getAnnotations() |
JavaAnnotation |
getDeclaredAnnotation(JavaClass aClass) |
java.util.Collection<JavaAnnotation> |
getDeclaredAnnotations() |
int |
getModifiers() |
java.lang.String |
getName() |
JavaClass |
getOwningClass() |
JavaClass |
getResolvedType() |
boolean |
isAbstract() |
boolean |
isEnumConstant() |
boolean |
isFinal() |
boolean |
isPrivate() |
boolean |
isProtected() |
boolean |
isPublic() |
boolean |
isStatic() |
boolean |
isSynthetic()
Not supported.
|
public OXMJavaFieldImpl(java.lang.String aFieldName, java.lang.String aFieldTypeName, JavaClass owner)
OXMJavaFieldImpl
.aFieldName
- - this fields's nameaFieldTypeName
- - this field's type as a String
.owner
- - the JavaClass
this field belongs to.public JavaAnnotation getAnnotation(JavaClass aClass)
getAnnotation
in interface JavaHasAnnotations
public java.util.Collection<JavaAnnotation> getAnnotations()
getAnnotations
in interface JavaHasAnnotations
public int getModifiers()
getModifiers
in interface JavaField
public JavaClass getOwningClass()
public JavaClass getResolvedType()
getResolvedType
in interface JavaField
public boolean isAbstract()
isAbstract
in interface JavaField
public boolean isProtected()
isProtected
in interface JavaField
public boolean isSynthetic()
isSynthetic
in interface JavaField
public boolean isEnumConstant()
isEnumConstant
in interface JavaField
public JavaAnnotation getDeclaredAnnotation(JavaClass aClass)
getDeclaredAnnotation
in interface JavaHasAnnotations
public java.util.Collection<JavaAnnotation> getDeclaredAnnotations()
getDeclaredAnnotations
in interface JavaHasAnnotations