|
||||||||||
| 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.jpa.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_LIST
|
static java.lang.String |
TYPE_TYPE_ARGUMENT_NAMES_LIST
|
| Fields inherited from interface org.eclipse.jpt.jpa.core.resource.java.JavaResourcePersistentMember |
|---|
FINAL_PROPERTY, PERSISTABLE_MEMBER_FILTER, PERSISTABLE_PROPERTY |
| Fields inherited from interface org.eclipse.jpt.jpa.core.resource.java.JavaResourceAnnotatedElement |
|---|
ANNOTATIONS_COLLECTION |
| Method Summary | |
|---|---|
Annotation |
buildNullAnnotation(java.lang.String annotationName)
Return a null annotation for the specified annotation name. |
int |
getModifiers()
|
java.lang.String |
getName()
The Java resource persistent attribute's name does not change. |
JavaResourcePersistentType |
getParent()
Return the node's parent node. |
JavaResourcePersistentType |
getResourcePersistentType()
|
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 |
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.jpa.core.resource.java.JavaResourcePersistentMember |
|---|
isFinal, isFor, isPersistable, resolveTypes, setPrimaryAnnotation |
| Methods inherited from interface org.eclipse.jpt.jpa.core.resource.java.JavaResourceAnnotatedElement |
|---|
addAnnotation, addAnnotation, addStandAloneAnnotation, annotations, annotations, annotationsSize, getAnnotation, getNameTextRange, getNonNullAnnotation, isAnnotated, moveAnnotation, removeAnnotation, removeAnnotation |
| Methods inherited from interface org.eclipse.jpt.jpa.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 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_LIST
static final java.lang.String TYPE_INTERFACE_NAMES_COLLECTION
static final java.lang.String TYPE_TYPE_ARGUMENT_NAMES_LIST
| Method Detail |
|---|
JavaResourcePersistentType getParent()
JavaResourceNode
getParent in interface JavaResourceNodeJavaResourcePersistentType getResourcePersistentType()
java.lang.String getName()
Annotation buildNullAnnotation(java.lang.String annotationName)
null if the specified annotation name is
null.
The corresponding annotation definition must implement
buildNullAnnotation().
boolean isField()
boolean isProperty()
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 | |||||||||