|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JaxbPersistentType
Represents a JAXB persistent type (class or enum). (A class with either an explicit or implicit @XmlType annotation)
Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.eclipse.jpt.jaxb.core.context.JaxbType |
|---|
JaxbType.Kind |
| Field Summary | |
|---|---|
static java.lang.String |
FACTORY_CLASS_PROPERTY
|
static java.lang.String |
FACTORY_METHOD_PROPERTY
|
static java.lang.String |
PROP_ORDER_LIST
|
static java.lang.String |
ROOT_ELEMENT
|
static java.lang.String |
SPECIFIED_NAMESPACE_PROPERTY
String constant associated with changes to the specified xml type namespace |
static java.lang.String |
SPECIFIED_XML_TYPE_NAME_PROPERTY
String constant associated with changes to the specified xml type name |
| Method Summary | |
|---|---|
void |
addProp(int index,
java.lang.String prop)
|
java.lang.String |
getDefaultNamespace()
Return the default namespace |
java.lang.String |
getDefaultXmlTypeName()
Return the default xml type name |
java.lang.String |
getFactoryClass()
factory class corresponds to the XmlType annotation factoryClass element |
java.lang.String |
getFactoryMethod()
factory method corresponds to the XmlType annotation factoryMethod element |
java.lang.String |
getNamespace()
Return the specified xml type namespace or the default namespace if it is not specified |
org.eclipse.jpt.common.utility.internal.iterables.ListIterable<java.lang.String> |
getPropOrder()
propOrder corresponds to the XmlType annotation propOrder element |
int |
getPropOrderSize()
|
XmlRootElement |
getRootElement()
Return the root element or null if it is not a root element. |
java.lang.String |
getSpecifiedNamespace()
Return the specified xml type namespace or null if it is not specified |
java.lang.String |
getSpecifiedXmlTypeName()
Return the specified xml type name or null if it is not specified |
java.lang.String |
getXmlTypeName()
Return the specified xml type name or the default type name if it is not specified |
XsdTypeDefinition |
getXsdTypeDefinition()
|
boolean |
isRootElement()
Return whether this class is a root element (has the XmlRootElement annotation) |
void |
moveProp(int targetIndex,
int sourceIndex)
|
void |
removeProp(int index)
|
void |
removeProp(java.lang.String prop)
|
void |
setFactoryClass(java.lang.String factoryClass)
|
void |
setFactoryMethod(java.lang.String factoryMethod)
|
XmlRootElement |
setRootElement(java.lang.String name)
Set the root element name, this will add the XmlRootElement annotation and set its name to the specified name. |
void |
setSpecifiedNamespace(java.lang.String namespace)
Set the xml type namespace, null to unspecify (use the default) |
void |
setSpecifiedXmlTypeName(java.lang.String xmlTypeName)
Set the xml type name, null to unspecify (use the default) |
| Methods inherited from interface org.eclipse.jpt.jaxb.core.context.JaxbType |
|---|
getDirectlyReferencedTypeNames, getFullyQualifiedName, getJavaResourceType, getJaxbPackage, getKind, getPackageName, getSimpleName, getTypeQualifiedName, validate |
| Methods inherited from interface org.eclipse.jpt.jaxb.core.context.java.JavaContextNode |
|---|
getJavaCompletionProposals, getValidationTextRange, validate |
| Methods inherited from interface org.eclipse.jpt.jaxb.core.context.JaxbContextNode |
|---|
getContextRoot, getResourceType, synchronizeWithResourceModel, update |
| Methods inherited from interface org.eclipse.jpt.jaxb.core.JaxbNode |
|---|
getJaxbProject, getParent, stateChanged |
| Methods inherited from interface org.eclipse.jpt.common.utility.model.Model |
|---|
addChangeListener, addCollectionChangeListener, addListChangeListener, addPropertyChangeListener, addStateChangeListener, addTreeChangeListener, removeChangeListener, removeCollectionChangeListener, removeListChangeListener, removePropertyChangeListener, removeStateChangeListener, removeTreeChangeListener |
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
|---|
getAdapter |
| Methods inherited from interface org.eclipse.jpt.common.core.IResourcePart |
|---|
getResource |
| Field Detail |
|---|
static final java.lang.String FACTORY_CLASS_PROPERTY
static final java.lang.String FACTORY_METHOD_PROPERTY
static final java.lang.String SPECIFIED_XML_TYPE_NAME_PROPERTY
static final java.lang.String SPECIFIED_NAMESPACE_PROPERTY
static final java.lang.String PROP_ORDER_LIST
static final java.lang.String ROOT_ELEMENT
| Method Detail |
|---|
java.lang.String getFactoryClass()
void setFactoryClass(java.lang.String factoryClass)
java.lang.String getFactoryMethod()
void setFactoryMethod(java.lang.String factoryMethod)
java.lang.String getXmlTypeName()
java.lang.String getSpecifiedXmlTypeName()
void setSpecifiedXmlTypeName(java.lang.String xmlTypeName)
java.lang.String getDefaultXmlTypeName()
java.lang.String getNamespace()
java.lang.String getSpecifiedNamespace()
void setSpecifiedNamespace(java.lang.String namespace)
java.lang.String getDefaultNamespace()
org.eclipse.jpt.common.utility.internal.iterables.ListIterable<java.lang.String> getPropOrder()
int getPropOrderSize()
void addProp(int index,
java.lang.String prop)
void removeProp(int index)
void removeProp(java.lang.String prop)
void moveProp(int targetIndex,
int sourceIndex)
boolean isRootElement()
XmlRootElement getRootElement()
XmlRootElement setRootElement(java.lang.String name)
XsdTypeDefinition getXsdTypeDefinition()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||