EclipseLink1.0 - 20080707 API Reference

org.eclipse.persistence.jaxb.compiler
Class Property

java.lang.Object
  extended by org.eclipse.persistence.jaxb.compiler.Property
Direct Known Subclasses:
AnyProperty, ChoiceProperty, ReferenceProperty

public class Property
extends java.lang.Object

INTERNAL:

Purpose:To store information about a property on a class during JAXB 2.0 Generation

Responsibilities:

This class is used to store information about a property on a JAXB 2.0 annotated class. It is created by the AnnotationsProcessor duing pre-processing and stored on a TypeInfo object

See Also:
TypeInfo, AnnotationsProcessor
Author:
mmacivor

Constructor Summary
Property()
           
Property(Helper helper)
           
 
Method Summary
 JavaClass getAdapterClass()
           
 JavaHasAnnotations getElement()
           
 JavaClass getGenericType()
           
 java.lang.String getGetMethodName()
           
 java.lang.String getMimeType()
           
 java.lang.String getPropertyName()
           
 javax.xml.namespace.QName getSchemaName()
           
 javax.xml.namespace.QName getSchemaType()
           
 java.lang.String getSetMethodName()
           
 JavaClass getType()
           
 JavaClass getValueType()
           
 boolean hasAdapterClass()
           
 boolean isAny()
           
 boolean isAttribute()
           
 boolean isChoice()
           
 boolean isMethodProperty()
           
 boolean isMtomAttachment()
           
 boolean isReference()
           
 boolean isRequired()
           
 boolean isSwaAttachmentRef()
           
 void setAdapterClass(java.lang.Class adapterCls)
           
 void setAdapterClass(JavaClass adapterCls)
           
 void setElement(JavaHasAnnotations element)
           
 void setGenericType(JavaClass genericType)
           
 void setGetMethodName(java.lang.String methodName)
           
 void setHelper(Helper helper)
           
 void setIsAttribute(boolean attribute)
           
 void setIsMtomAttachment(boolean b)
           
 void setIsRequired(boolean b)
           
 void setIsSwaAttachmentRef(boolean b)
           
 void setMethodProperty(boolean isMethod)
           
 void setMimeType(java.lang.String mType)
           
 void setPropertyName(java.lang.String propertyName)
           
 void setSchemaName(javax.xml.namespace.QName schemaName)
           
 void setSchemaType(javax.xml.namespace.QName type)
           
 void setSetMethodName(java.lang.String methodName)
           
 void setType(JavaClass cls)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Property

public Property()

Property

public Property(Helper helper)
Method Detail

setHelper

public void setHelper(Helper helper)

getAdapterClass

public JavaClass getAdapterClass()

hasAdapterClass

public boolean hasAdapterClass()

setAdapterClass

public void setAdapterClass(java.lang.Class adapterCls)

setAdapterClass

public void setAdapterClass(JavaClass adapterCls)

getValueType

public JavaClass getValueType()

getElement

public JavaHasAnnotations getElement()

setElement

public void setElement(JavaHasAnnotations element)

getPropertyName

public java.lang.String getPropertyName()

setPropertyName

public void setPropertyName(java.lang.String propertyName)

getSchemaName

public javax.xml.namespace.QName getSchemaName()

setSchemaName

public void setSchemaName(javax.xml.namespace.QName schemaName)

isMethodProperty

public boolean isMethodProperty()

setMethodProperty

public void setMethodProperty(boolean isMethod)

setType

public void setType(JavaClass cls)

getType

public JavaClass getType()

getGenericType

public JavaClass getGenericType()

setGenericType

public void setGenericType(JavaClass genericType)

getSchemaType

public javax.xml.namespace.QName getSchemaType()

setSchemaType

public void setSchemaType(javax.xml.namespace.QName type)

isSwaAttachmentRef

public boolean isSwaAttachmentRef()

setIsSwaAttachmentRef

public void setIsSwaAttachmentRef(boolean b)

isMtomAttachment

public boolean isMtomAttachment()

setIsMtomAttachment

public void setIsMtomAttachment(boolean b)

isRequired

public boolean isRequired()

setIsRequired

public void setIsRequired(boolean b)

getMimeType

public java.lang.String getMimeType()

setMimeType

public void setMimeType(java.lang.String mType)

isAttribute

public boolean isAttribute()

setIsAttribute

public void setIsAttribute(boolean attribute)

getGetMethodName

public java.lang.String getGetMethodName()

setGetMethodName

public void setGetMethodName(java.lang.String methodName)

getSetMethodName

public java.lang.String getSetMethodName()

setSetMethodName

public void setSetMethodName(java.lang.String methodName)

isChoice

public boolean isChoice()

isAny

public boolean isAny()

isReference

public boolean isReference()

EclipseLink1.0 - 20080707 API Reference