X
- The type that contains this attributeY
- The type of this attributepublic abstract static class Members.Member<X,Y> extends Object implements Attribute<X,Y>, Comparable<Members.Member<X,Y>>
FieldMetaData
construct
to meet the JPA API contract.Attribute.PersistentAttributeType
Modifier and Type | Field and Description |
---|---|
FieldMetaData |
fmd |
AbstractManagedType<X> |
owner |
Modifier | Constructor and Description |
---|---|
protected |
Members.Member(AbstractManagedType<X> owner,
FieldMetaData fmd)
Supply immutable parts.
|
Modifier and Type | Method and Description |
---|---|
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.
|
String |
toString() |
public final AbstractManagedType<X> owner
public final FieldMetaData fmd
protected Members.Member(AbstractManagedType<X> owner, FieldMetaData fmd)
owner
- the persistent type that contains this attributefmd
- the kernel's concrete representation of this attributepublic 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()
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>>
Copyright © 2006–2017 Apache Software Foundation. All rights reserved.