|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JavaResourceAbstractType
Java source code or binary type. This corresponds to a AbstractTypeDeclaration
(which is why the name is somewhat wonky.)
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 |
JavaResourceAbstractType.Kind
The kind of java type. |
| Nested classes/interfaces inherited from interface org.eclipse.jpt.jaxb.core.resource.java.JavaResourceNode |
|---|
JavaResourceNode.Root |
| Field Summary | |
|---|---|
static java.lang.String |
DECLARING_TYPE_NAME_PROPERTY
|
static java.lang.String |
ENUMS_COLLECTION
|
static java.lang.String |
MEMBER_TYPE_PROPERTY
|
static java.lang.String |
NAME_PROPERTY
Property change String for the unqualified (short) type name. |
static java.lang.String |
PACKAGE_NAME_PROPERTY
|
static java.lang.String |
QUALIFIED_NAME_PROPERTY
|
static java.lang.String |
TYPES_COLLECTION
|
| Fields inherited from interface org.eclipse.jpt.jaxb.core.resource.java.JavaResourceMember |
|---|
FINAL_PROPERTY, PUBLIC_PROPERTY, STATIC_PROPERTY, TRANSIENT_PROPERTY |
| Fields inherited from interface org.eclipse.jpt.jaxb.core.resource.java.JavaResourceAnnotatedElement |
|---|
ANNOTATIONS_COLLECTION, NESTABLE_ANNOTATIONS_COLLECTION |
| Method Summary | |
|---|---|
java.lang.Iterable<JavaResourceEnum> |
getAllEnums()
Return all the enums; the enum itself, its children, its grandchildren, etc. |
java.lang.Iterable<JavaResourceType> |
getAllTypes()
Return all the types; the type itself, its children, its grandchildren, etc. |
java.lang.String |
getDeclaringTypeName()
Return the name of the type's "declaring type". |
java.lang.Iterable<JavaResourceEnum> |
getEnums()
Return the immediately nested enums (children). |
JavaResourceAbstractType.Kind |
getKind()
Return the kind of java type this corresponds to |
java.lang.String |
getPackageName()
Return the package name. |
java.lang.String |
getQualifiedName()
Return the fully qualified type name. |
java.lang.Iterable<JavaResourceType> |
getTypes()
Return the immediately nested types (children). |
boolean |
isIn(org.eclipse.jdt.core.IPackageFragment packageFragment)
|
boolean |
isMapped()
Return whether the type is annotated with any annotations that determine whether and how the type is persisted |
boolean |
isMemberType()
Return whether the type is a member type. |
| Methods inherited from interface org.eclipse.jpt.jaxb.core.resource.java.JavaResourceMember |
|---|
getName, isFinal, isFor, isPublic, isStatic, isTransient, resolveTypes, setPrimaryAnnotation |
| Methods inherited from interface org.eclipse.jpt.jaxb.core.resource.java.JavaResourceAnnotatedElement |
|---|
addAnnotation, addAnnotation, getAnnotation, getAnnotation, getAnnotations, getAnnotations, getAnnotationsSize, getAnnotationsSize, getNameTextRange, getNonNullAnnotation, isAnnotated, moveAnnotation, removeAnnotation, removeAnnotation |
| Methods inherited from interface org.eclipse.jpt.jaxb.core.resource.java.JavaResourceNode |
|---|
getFile, getJavaResourceCompilationUnit, getRoot, getTextRange, initialize, synchronizeWith |
| Methods inherited from interface org.eclipse.jpt.common.utility.model.Model |
|---|
addChangeListener, addCollectionChangeListener, addListChangeListener, addPropertyChangeListener, addStateChangeListener, addTreeChangeListener, removeChangeListener, removeCollectionChangeListener, removeListChangeListener, removePropertyChangeListener, removeStateChangeListener, removeTreeChangeListener |
| Field Detail |
|---|
static final java.lang.String NAME_PROPERTY
JavaResourceMember.getName(),
Constant Field Valuesstatic final java.lang.String QUALIFIED_NAME_PROPERTY
static final java.lang.String PACKAGE_NAME_PROPERTY
static final java.lang.String DECLARING_TYPE_NAME_PROPERTY
static final java.lang.String MEMBER_TYPE_PROPERTY
static final java.lang.String TYPES_COLLECTION
static final java.lang.String ENUMS_COLLECTION
| Method Detail |
|---|
java.lang.String getQualifiedName()
java.lang.String getPackageName()
java.lang.String getDeclaringTypeName()
null if the type is a top-level type.
boolean isMemberType()
boolean isMapped()
boolean isIn(org.eclipse.jdt.core.IPackageFragment packageFragment)
java.lang.Iterable<JavaResourceType> getTypes()
java.lang.Iterable<JavaResourceType> getAllTypes()
java.lang.Iterable<JavaResourceEnum> getEnums()
java.lang.Iterable<JavaResourceEnum> getAllEnums()
JavaResourceAbstractType.Kind getKind()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||