|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface JaxbClassMapping
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 | |
|---|---|
static class |
JaxbClassMapping.AttributesTransformer
|
static class |
JaxbClassMapping.SuperClassTransformer
|
| Nested classes/interfaces inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference |
|---|
JptResourceTypeReference.ResourceTypeIsKindOf, JptResourceTypeReference.ResourceTypeTransformer |
| Field Summary | |
|---|---|
static String |
ATTRIBUTES_COLLECTION
string associated with changes to the "attributes" collection |
static org.eclipse.jpt.common.utility.transformer.Transformer<JaxbClassMapping,Iterable<? extends JaxbPersistentAttribute>> |
ATTRIBUTES_TRANSFORMER
|
static String |
FACTORY_METHOD_PROPERTY
|
static String |
INCLUDED_ATTRIBUTES_COLLECTION
string associated with changes to the "included attributes" collection |
static String |
PROP_ORDER_LIST
|
static String |
SPECIFIED_FACTORY_CLASS_PROPERTY
|
static org.eclipse.jpt.common.utility.transformer.Transformer<JaxbClassMapping,JaxbClassMapping> |
SUPER_CLASS_TRANSFORMER
|
static String |
SUPERCLASS_PROPERTY
|
| Fields inherited from interface org.eclipse.jpt.jaxb.core.context.JaxbTypeMapping |
|---|
XML_ROOT_ELEMENT_PROPERTY, XML_SEE_ALSO_PROPERTY, XML_TRANSIENT_PROPERTY |
| Fields inherited from interface org.eclipse.jpt.jaxb.core.context.XmlAccessTypeHolder |
|---|
ACCESS_TYPE_PROPERTY, DEFAULT_ACCESS_TYPE_PROPERTY, SPECIFIED_ACCESS_TYPE_PROPERTY |
| Fields inherited from interface org.eclipse.jpt.jaxb.core.context.XmlAccessOrderHolder |
|---|
DEFAULT_ACCESS_ORDER_PROPERTY, SPECIFIED_ACCESS_ORDER_PROPERTY |
| Fields inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference |
|---|
TRANSFORMER |
| Method Summary | |
|---|---|
void |
addProp(int index,
String prop)
|
JaxbAttributesContainer |
buildIncludedAttributesContainer(JaxbClassMapping parent,
JaxbAttributesContainer.Context context)
Build an included attributes container that process attribute metadata of this class with the context of the owning class |
Iterable<JaxbPersistentAttribute> |
getAllLocallyDefinedAttributes()
Return all attributes that are defined by this class. |
Iterable<? extends JaxbPersistentAttribute> |
getAttributes()
Return the attributes defined on this class (not its superclass) |
int |
getAttributesSize()
|
String |
getFactoryClass()
|
String |
getFactoryMethod()
factory method corresponds to the XmlType annotation factoryMethod element |
Iterable<JaxbPersistentAttribute> |
getIncludedAttributes()
Included attributes come from any direct superclasses that are mapped as @XmlTransient. |
int |
getIncludedAttributesSize()
|
Iterable<JaxbPersistentAttribute> |
getInheritedAttributes()
Inherited attributes are any attributes this class mapping has whose source is a superclass. |
String |
getProp(int index)
|
org.eclipse.jpt.common.utility.iterable.ListIterable<String> |
getPropOrder()
propOrder corresponds to the XmlType annotation propOrder element |
int |
getPropOrderSize()
|
String |
getSpecifiedFactoryClass()
factory class corresponds to the XmlType annotation factoryClass element |
JaxbClassMapping |
getSuperclass()
|
JaxbAttributeMapping |
getXmlIdMapping()
Return the id attribute mapping for this class mapping, if it has one. |
void |
moveProp(int targetIndex,
int sourceIndex)
|
void |
removeProp(int index)
|
void |
removeProp(String prop)
|
void |
setFactoryMethod(String factoryMethod)
|
void |
setSpecifiedFactoryClass(String factoryClass)
|
| Methods inherited from interface org.eclipse.jpt.jaxb.core.context.JaxbTypeMapping |
|---|
getJaxbPackage, getQName, getReferencedXmlTypeNames, getTypeKind, getTypeName, getXmlRootElement, getXmlSeeAlso, getXsdTypeDefinition, hasRootElementInHierarchy, isXmlTransient |
| Methods inherited from interface org.eclipse.jpt.jaxb.core.context.XmlAccessTypeHolder |
|---|
getAccessType, getDefaultAccessType, getSpecifiedAccessType, setSpecifiedAccessType |
| Methods inherited from interface org.eclipse.jpt.jaxb.core.context.XmlAccessOrderHolder |
|---|
getAccessOrder, getDefaultAccessOrder, getSpecifiedAccessOrder, setSpecifiedAccessOrder |
| Methods inherited from interface org.eclipse.jpt.jaxb.core.context.JaxbContextNode |
|---|
getCompletionProposals, getContextRoot, getValidationTextRange, synchronizeWithResourceModel, update, validate |
| Methods inherited from interface org.eclipse.jpt.jaxb.core.JaxbNode |
|---|
getJaxbProject, getParent, getResource, stateChanged |
| Methods inherited from interface org.eclipse.jpt.common.utility.model.Model |
|---|
addChangeListener, addCollectionChangeListener, addListChangeListener, addPropertyChangeListener, addStateChangeListener, removeChangeListener, removeCollectionChangeListener, removeListChangeListener, removePropertyChangeListener, removeStateChangeListener |
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
|---|
getAdapter |
| Methods inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference |
|---|
getResourceType |
| Field Detail |
|---|
static final String SPECIFIED_FACTORY_CLASS_PROPERTY
static final String FACTORY_METHOD_PROPERTY
static final String PROP_ORDER_LIST
static final String SUPERCLASS_PROPERTY
static final org.eclipse.jpt.common.utility.transformer.Transformer<JaxbClassMapping,JaxbClassMapping> SUPER_CLASS_TRANSFORMER
static final String ATTRIBUTES_COLLECTION
static final org.eclipse.jpt.common.utility.transformer.Transformer<JaxbClassMapping,Iterable<? extends JaxbPersistentAttribute>> ATTRIBUTES_TRANSFORMER
static final String INCLUDED_ATTRIBUTES_COLLECTION
| Method Detail |
|---|
String getFactoryClass()
String getSpecifiedFactoryClass()
void setSpecifiedFactoryClass(String factoryClass)
String getFactoryMethod()
void setFactoryMethod(String factoryMethod)
org.eclipse.jpt.common.utility.iterable.ListIterable<String> getPropOrder()
String getProp(int index)
int getPropOrderSize()
void addProp(int index,
String prop)
void removeProp(int index)
void removeProp(String prop)
void moveProp(int targetIndex,
int sourceIndex)
JaxbClassMapping getSuperclass()
Iterable<? extends JaxbPersistentAttribute> getAttributes()
int getAttributesSize()
Iterable<JaxbPersistentAttribute> getIncludedAttributes()
getSuperclass()int getIncludedAttributesSize()
Iterable<JaxbPersistentAttribute> getAllLocallyDefinedAttributes()
Iterable<JaxbPersistentAttribute> getInheritedAttributes()
JaxbAttributesContainer buildIncludedAttributesContainer(JaxbClassMapping parent,
JaxbAttributesContainer.Context context)
JaxbAttributeMapping getXmlIdMapping()
|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||