|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JavaResourcePersistentType
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.
Field Summary | |
---|---|
static java.lang.String |
ABSTRACT_PROPERTY
|
static java.lang.String |
ACCESS_PROPERTY
|
static java.lang.String |
ATTRIBUTES_COLLECTION
|
static java.lang.String |
NAME_PROPERTY
|
static java.lang.String |
NESTED_TYPES_COLLECTION
|
static java.lang.String |
QUALIFIED_NAME_PROPERTY
|
static java.lang.String |
SUPER_CLASS_QUALIFIED_NAME_PROPERTY
|
Fields inherited from interface org.eclipse.jpt.core.resource.java.JavaResourcePersistentMember |
---|
ANNOTATIONS_COLLECTION, MAPPING_ANNOTATIONS_COLLECTION, PERSISTABLE_PROPERTY |
Method Summary | |
---|---|
java.util.Iterator<JavaResourcePersistentAttribute> |
attributes()
Return only the persistable attributes, those that respond true to JavaResourcePersistentMember.isPersistable()
This returns fields and properties |
java.util.Iterator<JavaResourcePersistentAttribute> |
fields()
Return only the persistable fields, those that respond true to JavaResourcePersistentMember.isPersistable()
This returns filters out all properties and only returns fields |
AccessType |
getAccess()
|
JavaResourcePersistentType |
getJavaPersistentTypeResource(java.lang.String fullyQualifiedTypeName)
|
Member |
getMember()
|
java.lang.String |
getName()
Return the fully unqualified type name |
java.lang.String |
getQualifiedName()
Return the fully qualified type name |
java.lang.String |
getSuperClassQualifiedName()
|
boolean |
hasAnyAttributeAnnotations()
Return whether any attributes in this persistentType have JPA annotations on them. |
boolean |
isAbstract()
|
java.util.Iterator<JavaResourcePersistentType> |
nestedTypes()
Return only the immediately nested persistable nestedTypes |
java.util.Iterator<JavaResourcePersistentAttribute> |
properties()
Return only the persistable fields, those that respond true to JavaResourcePersistentMember.isPersistable()
This returns filters out all fields and only returns properties |
Methods inherited from interface org.eclipse.jpt.core.resource.java.JavaResourcePersistentMember |
---|
addAnnotation, addAnnotation, annotations, annotations, annotationsSize, getAnnotation, getMappingAnnotation, getMappingAnnotation, getNameTextRange, getNonNullAnnotation, getNullMappingAnnotation, isFor, isFor, isPersistable, isPersisted, mappingAnnotations, mappingAnnotationsSize, move, removeAnnotation, removeAnnotation, resolveTypes, setMappingAnnotation |
Methods inherited from interface org.eclipse.jpt.core.resource.java.JavaResourceNode |
---|
getJpaCompilationUnit, getResourceModel, getTextRange, initialize, updateFromJava |
Field Detail |
---|
static final java.lang.String NESTED_TYPES_COLLECTION
static final java.lang.String ATTRIBUTES_COLLECTION
static final java.lang.String QUALIFIED_NAME_PROPERTY
static final java.lang.String NAME_PROPERTY
static final java.lang.String SUPER_CLASS_QUALIFIED_NAME_PROPERTY
static final java.lang.String ACCESS_PROPERTY
static final java.lang.String ABSTRACT_PROPERTY
Method Detail |
---|
java.util.Iterator<JavaResourcePersistentType> nestedTypes()
java.util.Iterator<JavaResourcePersistentAttribute> attributes()
JavaResourcePersistentMember.isPersistable()
This returns fields and properties
java.util.Iterator<JavaResourcePersistentAttribute> fields()
JavaResourcePersistentMember.isPersistable()
This returns filters out all properties and only returns fields
java.util.Iterator<JavaResourcePersistentAttribute> properties()
JavaResourcePersistentMember.isPersistable()
This returns filters out all fields and only returns properties
JavaResourcePersistentType getJavaPersistentTypeResource(java.lang.String fullyQualifiedTypeName)
java.lang.String getQualifiedName()
java.lang.String getName()
java.lang.String getSuperClassQualifiedName()
AccessType getAccess()
boolean isAbstract()
Member getMember()
boolean hasAnyAttributeAnnotations()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |