|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JavaResourcePersistentAttribute
Java source code or binary persistent attribute (field or property) 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.core.resource.java.JavaResourceNode |
|---|
JavaResourceNode.Root |
| Field Summary | |
|---|---|
static java.lang.String |
MODIFIERS_PROPERTY
|
static java.lang.String |
TYPE_INTERFACE_NAMES_COLLECTION
|
static java.lang.String |
TYPE_IS_ENUM_PROPERTY
|
static java.lang.String |
TYPE_IS_INTERFACE_PROPERTY
|
static java.lang.String |
TYPE_NAME_PROPERTY
|
static java.lang.String |
TYPE_SUPERCLASS_NAMES_COLLECTION
|
static java.lang.String |
TYPE_TYPE_ARGUMENT_NAMES_COLLECTION
|
| Fields inherited from interface org.eclipse.jpt.core.resource.java.JavaResourcePersistentMember |
|---|
MAPPING_ANNOTATIONS_COLLECTION, PERSISTABLE_PROPERTY, SUPPORTING_ANNOTATIONS_COLLECTION |
| Method Summary | |
|---|---|
int |
getModifiers()
|
java.lang.String |
getName()
The Java resource persistent attribute's name does not change. |
Annotation |
getNullMappingAnnotation(java.lang.String annotationName)
Return a null mapping annotation with the specified name. |
AccessType |
getSpecifiedAccess()
Return the access type explicitly specified by the javax.persistence.Access annotation. |
java.lang.String |
getTypeName()
Return the resolved, qualified name of the attribute's type (e.g. |
java.lang.String |
getTypeTypeArgumentName(int index)
|
boolean |
hasAnyPersistenceAnnotations()
Return whether the attribute has any mapping or non-mapping annotations (of course only persistence-related annotations). |
boolean |
isField()
Whether the Java resource persistent attribute is a field does not change. |
boolean |
isFor(MethodSignature methodSignature,
int occurrence)
Return whether the Java resource persistent attribute is for the specified method. |
boolean |
isProperty()
Whether the Java resource persistent attribute is a property does not change. |
java.util.Iterator<java.lang.String> |
typeInterfaceNames()
Return the names of the attribute type's interfaces. |
boolean |
typeIsEnum()
Return whether the attribute type is an enum. |
boolean |
typeIsInterface()
Return whether the attribute type is an interface. |
boolean |
typeIsSubTypeOf(java.lang.String typeName)
Return whether the attribute's type implements or extends the specified type. |
boolean |
typeIsVariablePrimitive()
Return whether the attribute's type is a "variable" primitive type (i.e. |
java.util.ListIterator<java.lang.String> |
typeSuperclassNames()
Return the names of the attribute type's superclasses. |
java.util.ListIterator<java.lang.String> |
typeTypeArgumentNames()
Return the names of the attribute type's type arguments. |
int |
typeTypeArgumentNamesSize()
|
| Methods inherited from interface org.eclipse.jpt.core.resource.java.JavaResourcePersistentMember |
|---|
addSupportingAnnotation, addSupportingAnnotation, getMappingAnnotation, getMappingAnnotation, getNameTextRange, getNonNullSupportingAnnotation, getSupportingAnnotation, isFor, isPersistable, isPersisted, mappingAnnotations, mappingAnnotationsSize, moveSupportingAnnotation, removeSupportingAnnotation, removeSupportingAnnotation, resolveTypes, setMappingAnnotation, supportingAnnotations, supportingAnnotations, supportingAnnotationsSize |
| Methods inherited from interface org.eclipse.jpt.core.resource.java.JavaResourceNode |
|---|
getFile, getJavaResourceCompilationUnit, getRoot, getTextRange, initialize, update |
| Field Detail |
|---|
static final java.lang.String MODIFIERS_PROPERTY
static final java.lang.String TYPE_NAME_PROPERTY
static final java.lang.String TYPE_IS_INTERFACE_PROPERTY
static final java.lang.String TYPE_IS_ENUM_PROPERTY
static final java.lang.String TYPE_SUPERCLASS_NAMES_COLLECTION
static final java.lang.String TYPE_INTERFACE_NAMES_COLLECTION
static final java.lang.String TYPE_TYPE_ARGUMENT_NAMES_COLLECTION
| Method Detail |
|---|
java.lang.String getName()
Annotation getNullMappingAnnotation(java.lang.String annotationName)
AnnotationDefinition#buildNullAnnotation(JavaResourcePersistentMember,
org.eclipse.jpt.core.utility.jdt.Member)
boolean isField()
boolean isProperty()
boolean hasAnyPersistenceAnnotations()
AccessType getSpecifiedAccess()
boolean typeIsSubTypeOf(java.lang.String typeName)
boolean typeIsVariablePrimitive()
boolean isFor(MethodSignature methodSignature,
int occurrence)
int getModifiers()
Modifierjava.lang.String getTypeName()
typeTypeArgumentNames()boolean typeIsInterface()
boolean typeIsEnum()
java.util.ListIterator<java.lang.String> typeSuperclassNames()
java.util.Iterator<java.lang.String> typeInterfaceNames()
java.util.ListIterator<java.lang.String> typeTypeArgumentNames()
int typeTypeArgumentNamesSize()
java.lang.String getTypeTypeArgumentName(int index)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||