|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface JavaType
Represents a java class (or enum or interface) with JAXB metadata (specified or implied).
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 |
JavaType.IsKind
|
| Nested classes/interfaces inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference |
|---|
JptResourceTypeReference.ResourceTypeIsKindOf, JptResourceTypeReference.ResourceTypeTransformer |
| Field Summary | |
|---|---|
static String |
DEFAULT_MAPPED_PROPERTY
|
static String |
MAPPING_PROPERTY
|
| Fields inherited from interface org.eclipse.jpt.jaxb.core.context.XmlAdaptable |
|---|
XML_JAVA_TYPE_ADAPTER_PROPERTY |
| Fields inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference |
|---|
TRANSFORMER |
| Method Summary | |
|---|---|
JavaResourceAbstractType |
getJavaResourceType()
Return the associated java resource type |
JaxbPackage |
getJaxbPackage()
Return the JaxbPackage associated with this type
(NB: may be null in some partially built cases) |
JaxbPackageInfo |
getJaxbPackageInfo()
Return the JaxbPackageInfo associated with this type, if it exists |
TypeKind |
getKind()
Return the kind of type represented. |
JavaTypeMapping |
getMapping()
Return the mapping of this type. |
TypeName |
getTypeName()
Return the type's name object |
boolean |
isDefaultMapped()
Return true if this type is mapped by reference. |
void |
setDefaultMapped(boolean newValue)
Set this to true if this type is referenced by another mapped type. |
void |
validate(List<IMessage> messages,
IReporter reporter)
Add to the list of current validation messages |
| Methods inherited from interface org.eclipse.jpt.jaxb.core.context.XmlAdaptable |
|---|
addXmlJavaTypeAdapter, getXmlJavaTypeAdapter, removeXmlJavaTypeAdapter |
| Methods inherited from interface org.eclipse.jpt.jaxb.core.context.JaxbContextNode |
|---|
getCompletionProposals, getContextRoot, getValidationTextRange, synchronizeWithResourceModel, update |
| 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 MAPPING_PROPERTY
static final String DEFAULT_MAPPED_PROPERTY
| Method Detail |
|---|
TypeKind getKind()
JavaTypes of TypeKind CLASS may safely be cast to JavaClass
JavaTypes of TypeKind ENUM may safely be cast to JavaEnum
JavaTypeMapping getMapping()
boolean isDefaultMapped()
void setDefaultMapped(boolean newValue)
true if this type is referenced by another mapped type.
(NB: should only be called by JaxbContextRoot object.)
JavaResourceAbstractType getJavaResourceType()
TypeName getTypeName()
JaxbPackage getJaxbPackage()
JaxbPackage associated with this type
(NB: may be null in some partially built cases)
JaxbPackageInfo getJaxbPackageInfo()
JaxbPackageInfo associated with this type, if it exists
void validate(List<IMessage> messages,
IReporter reporter)
validate in interface JaxbContextNode
|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||