| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.openjpa.persistence.meta.Members.Member<X,Y>
X - The type that contains this attributeY - The type of this attributepublic abstract static class Members.Member<X,Y>
An attribute of a Java type. A persistent attribute is realized as a field and getter/setter
 method of a Java class. This implementation adapts kernel's FieldMetaData construct 
 to meet the JPA API contract.
| Nested Class Summary | 
|---|
| Nested classes/interfaces inherited from interface javax.persistence.metamodel.Attribute | 
|---|
| Attribute.PersistentAttributeType | 
| Field Summary | |
|---|---|
|  FieldMetaData | fmd | 
|  AbstractManagedType<X> | owner | 
| Constructor Summary | |
|---|---|
| protected  | Members.Member(AbstractManagedType<X> owner,
               FieldMetaData fmd)Supply immutable parts. | 
| Method Summary | |
|---|---|
|  int | compareTo(Members.Member<X,Y> o) | 
|  ManagedType<X> | getDeclaringType()Returns the managed type which declared this attribute. | 
|  Member | getJavaMember()Returns the java.lang.reflect.Member for this attribute. | 
|  Class<Y> | getJavaType()Gets the Java type of this attribute. | 
|  String | getName()Gets the name of this attribute. | 
|  Attribute.PersistentAttributeType | getPersistentAttributeType()Returns the persistent category for the attribute. | 
|  Type<Y> | getType()Returns the type that represents the type of this attribute. | 
|  boolean | isAssociation()Affirms if this attribute is an association. | 
|  boolean | isCollection()Affirms if this attribute is a collection. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public final AbstractManagedType<X> owner
public final FieldMetaData fmd
| Constructor Detail | 
|---|
protected Members.Member(AbstractManagedType<X> owner,
                         FieldMetaData fmd)
owner - the persistent type that contains this attributefmd - the kernel's concrete representation of this attribute| Method Detail | 
|---|
public final ManagedType<X> getDeclaringType()
getDeclaringType in interface Attribute<X,Y>public final Member getJavaMember()
getJavaMember in interface Attribute<X,Y>public final Class<Y> getJavaType()
getJavaType in interface Attribute<X,Y>public final String getName()
getName in interface Attribute<X,Y>public final Type<Y> getType()
public final boolean isAssociation()
isAssociation in interface Attribute<X,Y>public final boolean isCollection()
isCollection in interface Attribute<X,Y>public Attribute.PersistentAttributeType getPersistentAttributeType()
getPersistentAttributeType in interface Attribute<X,Y>public int compareTo(Members.Member<X,Y> o)
compareTo in interface Comparable<Members.Member<X,Y>>| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||