public abstract class AbstractAttribute<X,Y> extends java.lang.Object implements javax.persistence.metamodel.Attribute<X,Y>, AttributeImplementor<X,Y>, java.io.Serializable
Attribute
hierarchy.Constructor and Description |
---|
AbstractAttribute(java.lang.String name,
java.lang.Class<Y> javaType,
AbstractManagedType<X> declaringType,
java.lang.reflect.Member member,
javax.persistence.metamodel.Attribute.PersistentAttributeType persistentAttributeType) |
Modifier and Type | Method and Description |
---|---|
javax.persistence.metamodel.ManagedType<X> |
getDeclaringType() |
java.lang.reflect.Member |
getJavaMember() |
java.lang.Class<Y> |
getJavaType() |
java.lang.String |
getName() |
javax.persistence.metamodel.Attribute.PersistentAttributeType |
getPersistentAttributeType() |
protected void |
readObject(java.io.ObjectInputStream ois)
Used by JDK serialization...
|
protected void |
writeObject(java.io.ObjectOutputStream oos)
Used by JDK serialization...
|
public AbstractAttribute(java.lang.String name, java.lang.Class<Y> javaType, AbstractManagedType<X> declaringType, java.lang.reflect.Member member, javax.persistence.metamodel.Attribute.PersistentAttributeType persistentAttributeType)
public java.lang.String getName()
public javax.persistence.metamodel.ManagedType<X> getDeclaringType()
public java.lang.Class<Y> getJavaType()
public java.lang.reflect.Member getJavaMember()
public javax.persistence.metamodel.Attribute.PersistentAttributeType getPersistentAttributeType()
protected void readObject(java.io.ObjectInputStream ois) throws java.io.IOException, java.lang.ClassNotFoundException
ois
- The input stream from which we are being read...java.io.IOException
- Indicates a general IO stream exceptionjava.lang.ClassNotFoundException
- Indicates a class resolution issueprotected void writeObject(java.io.ObjectOutputStream oos) throws java.io.IOException
oos
- The output stream to which we are being written...java.io.IOException
- Indicates a general IO stream exceptionCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.