public abstract class AbstractAttribute<X,Y> extends Object implements Attribute<X,Y>, AttributeImplementor<X,Y>, Serializable
Attribute
hierarchy.Attribute.PersistentAttributeType
Constructor and Description |
---|
AbstractAttribute(String name,
Class<Y> javaType,
AbstractManagedType<X> declaringType,
Member member,
Attribute.PersistentAttributeType persistentAttributeType) |
Modifier and Type | Method and Description |
---|---|
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...
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isAssociation, isCollection
public AbstractAttribute(String name, Class<Y> javaType, AbstractManagedType<X> declaringType, Member member, Attribute.PersistentAttributeType persistentAttributeType)
public ManagedType<X> getDeclaringType()
getDeclaringType
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 exceptionClassNotFoundException
- 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 exceptionCopyright © 2001-2017 Red Hat, Inc. All Rights Reserved.