|
EclipseLink1.0 - 20080707 API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.persistence.jaxb.compiler.TypeInfo
public class TypeInfo
INTERNAL:
Purpose:Used to store meta data about JAXB 2.0 Annotated classes during schema and mapping generation processes.
Responsibilities:
AnnotationsProcessor
,
EnumTypeInfo
Constructor Summary | |
---|---|
TypeInfo(Helper helper)
|
Method Summary | |
---|---|
void |
addAdapterClass(JavaClass adapterClass,
JavaClass boundType)
|
void |
addAdapterClass(JavaClass adapterClass,
java.lang.String boundTypeName)
|
void |
addProperty(java.lang.String name,
Property property)
|
javax.xml.bind.annotation.XmlAccessType |
getAccessType()
|
JavaClass |
getAdapterClass(JavaClass boundType)
|
JavaClass |
getAdapterClass(java.lang.String boundTypeName)
|
java.util.HashMap<java.lang.String,JavaClass> |
getAdaptersByClass()
|
java.lang.String |
getClassNamespace()
|
org.eclipse.persistence.internal.oxm.schema.model.ComplexType |
getComplexType()
|
org.eclipse.persistence.internal.oxm.schema.model.TypeDefParticle |
getCompositor()
|
XMLDescriptor |
getDescriptor()
|
Property |
getIDProperty()
Return the TypeProperty 'idProperty'. |
java.util.HashMap<java.lang.String,Property> |
getProperties()
|
java.util.ArrayList<Property> |
getPropertyList()
|
java.util.ArrayList<java.lang.String> |
getPropertyNames()
|
java.lang.String[] |
getPropOrder()
|
org.eclipse.persistence.internal.oxm.schema.model.Schema |
getSchema()
|
java.lang.String |
getSchemaTypeName()
|
org.eclipse.persistence.internal.oxm.schema.model.SimpleType |
getSimpleType()
|
boolean |
hasElementRefs()
|
boolean |
hasRootElement()
|
boolean |
isComplexType()
|
boolean |
isEnumerationType()
|
boolean |
isIDSet()
Indicates if an @XmlID is set on a field/property. |
void |
orderProperties(javax.xml.bind.annotation.XmlAccessOrder order)
|
void |
setAccessType(javax.xml.bind.annotation.XmlAccessType type)
|
void |
setClassNamespace(java.lang.String namespace)
|
void |
setComplexType(org.eclipse.persistence.internal.oxm.schema.model.ComplexType type)
|
void |
setCompositor(org.eclipse.persistence.internal.oxm.schema.model.TypeDefParticle particle)
|
void |
setDescriptor(XMLDescriptor desc)
|
void |
setHasElementRefs(boolean hasRefs)
|
void |
setHasRootElement(boolean hasRoot)
|
void |
setIDProperty(Property idProperty)
Sets the TypeProperty 'idProperty'. |
void |
setProperties(java.util.ArrayList<Property> properties)
|
void |
setPropOrder(java.lang.String[] order)
|
void |
setSchema(org.eclipse.persistence.internal.oxm.schema.model.Schema theSchema)
|
void |
setSchemaTypeName(java.lang.String typeName)
|
void |
setSimpleType(org.eclipse.persistence.internal.oxm.schema.model.SimpleType type)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TypeInfo(Helper helper)
Method Detail |
---|
public XMLDescriptor getDescriptor()
public void setDescriptor(XMLDescriptor desc)
public org.eclipse.persistence.internal.oxm.schema.model.ComplexType getComplexType()
public void setComplexType(org.eclipse.persistence.internal.oxm.schema.model.ComplexType type)
public org.eclipse.persistence.internal.oxm.schema.model.SimpleType getSimpleType()
public void setSimpleType(org.eclipse.persistence.internal.oxm.schema.model.SimpleType type)
public java.lang.String[] getPropOrder()
public void setPropOrder(java.lang.String[] order)
public java.lang.String getClassNamespace()
public void setClassNamespace(java.lang.String namespace)
public boolean isComplexType()
public org.eclipse.persistence.internal.oxm.schema.model.TypeDefParticle getCompositor()
public void setCompositor(org.eclipse.persistence.internal.oxm.schema.model.TypeDefParticle particle)
public javax.xml.bind.annotation.XmlAccessType getAccessType()
public void setAccessType(javax.xml.bind.annotation.XmlAccessType type)
public java.util.ArrayList<java.lang.String> getPropertyNames()
public Property getIDProperty()
public java.util.HashMap<java.lang.String,Property> getProperties()
public void addProperty(java.lang.String name, Property property)
public void setIDProperty(Property idProperty)
public void setProperties(java.util.ArrayList<Property> properties)
public void orderProperties(javax.xml.bind.annotation.XmlAccessOrder order)
public boolean isEnumerationType()
public boolean isIDSet()
public java.util.ArrayList<Property> getPropertyList()
public java.lang.String getSchemaTypeName()
public void setSchemaTypeName(java.lang.String typeName)
public void setSchema(org.eclipse.persistence.internal.oxm.schema.model.Schema theSchema)
public org.eclipse.persistence.internal.oxm.schema.model.Schema getSchema()
public JavaClass getAdapterClass(JavaClass boundType)
public JavaClass getAdapterClass(java.lang.String boundTypeName)
public java.util.HashMap<java.lang.String,JavaClass> getAdaptersByClass()
public void addAdapterClass(JavaClass adapterClass, JavaClass boundType)
public void addAdapterClass(JavaClass adapterClass, java.lang.String boundTypeName)
public boolean hasRootElement()
public void setHasRootElement(boolean hasRoot)
public boolean hasElementRefs()
public void setHasElementRefs(boolean hasRefs)
|
EclipseLink1.0 - 20080707 API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |