X
- The type that contains this attributeY
- The type of this attributepublic abstract static class Members.Member<X,Y> extends Object implements javax.persistence.metamodel.Attribute<X,Y>, Comparable<Members.Member<X,Y>>
FieldMetaData
construct
to meet the JPA API contract.Modifier and Type | Field and Description |
---|---|
FieldMetaData |
fmd |
AbstractManagedType<X> |
owner |
Modifier | Constructor and Description |
---|---|
protected |
Member(AbstractManagedType<X> owner,
FieldMetaData fmd)
Supply immutable parts.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Members.Member<X,Y> o) |
javax.persistence.metamodel.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.
|
javax.persistence.metamodel.Attribute.PersistentAttributeType |
getPersistentAttributeType()
Returns the persistent category for the attribute.
|
javax.persistence.metamodel.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 Member(AbstractManagedType<X> owner, FieldMetaData fmd)
owner
- the persistent type that contains this attributefmd
- the kernel's concrete representation of this attributepublic final javax.persistence.metamodel.ManagedType<X> getDeclaringType()
public final Member getJavaMember()
public final String getName()
public final javax.persistence.metamodel.Type<Y> getType()
public final boolean isAssociation()
public final boolean isCollection()
public javax.persistence.metamodel.Attribute.PersistentAttributeType getPersistentAttributeType()
public int compareTo(Members.Member<X,Y> o)
compareTo
in interface Comparable<Members.Member<X,Y>>
Copyright © 2006–2018 Apache Software Foundation. All rights reserved.