|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hibernate.ejb.metamodel.AbstractAttribute<X,Y>
public abstract class AbstractAttribute<X,Y>
Models the commonality of the JPA Attribute
hierarchy.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface javax.persistence.metamodel.Attribute |
---|
Attribute.PersistentAttributeType |
Constructor Summary | |
---|---|
AbstractAttribute(String name,
Class<Y> javaType,
AbstractManagedType<X> declaringType,
Member member,
Attribute.PersistentAttributeType persistentAttributeType)
|
Method Summary | |
---|---|
ManagedType<X> |
getDeclaringType()
|
Member |
getJavaMember()
|
Class<Y> |
getJavaType()
|
String |
getName()
|
Attribute.PersistentAttributeType |
getPersistentAttributeType()
|
protected void |
readObject(ObjectInputStream ois)
Used by JDK serialization... |
protected void |
writeObject(ObjectOutputStream oos)
Used by JDK serialization... |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.persistence.metamodel.Attribute |
---|
isAssociation, isCollection |
Constructor Detail |
---|
public AbstractAttribute(String name, Class<Y> javaType, AbstractManagedType<X> declaringType, Member member, Attribute.PersistentAttributeType persistentAttributeType)
Method Detail |
---|
public String getName()
getName
in interface Attribute<X,Y>
public ManagedType<X> getDeclaringType()
getDeclaringType
in interface Attribute<X,Y>
public Class<Y> getJavaType()
getJavaType
in interface Attribute<X,Y>
public Member getJavaMember()
getJavaMember
in interface Attribute<X,Y>
public Attribute.PersistentAttributeType getPersistentAttributeType()
getPersistentAttributeType
in interface Attribute<X,Y>
protected void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException
ois
- The input stream from which we are being read...
IOException
- Indicates a general IO stream exception
ClassNotFoundException
- Indicates a class resolution issueprotected void writeObject(ObjectOutputStream oos) throws IOException
oos
- The output stream to which we are being written...
IOException
- Indicates a general IO stream exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |