public class ToOneAttributeSourceImpl extends SingularAttributeSourceImpl implements ToOneAttributeSource
Constructor and Description |
---|
ToOneAttributeSourceImpl(AssociationAttribute associationAttribute) |
Modifier and Type | Method and Description |
---|---|
Iterable<CascadeStyle> |
getCascadeStyles()
Obtain the cascade styles to be applied to this association.
|
FetchMode |
getFetchMode()
Obtain the fetch mode to be applied to this association.
|
FetchStyle |
getFetchStyle() |
FetchTiming |
getFetchTiming() |
SingularAttributeNature |
getNature()
Obtain the nature of this attribute type.
|
String |
getReferencedEntityAttributeName()
Obtain the name of the referenced attribute.
|
String |
getReferencedEntityName()
Obtain the name of the referenced entity.
|
areValuesIncludedInInsertByDefault, areValuesIncludedInUpdateByDefault, areValuesNullableByDefault, getGeneration, getName, getPropertyAccessorName, getTypeInformation, isIncludedInOptimisticLocking, isInsertable, isLazy, isSingular, isUpdatable, isVirtualAttribute, metaAttributes, relationalValueSources
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getGeneration, isInsertable, isLazy, isUpdatable, isVirtualAttribute
areValuesIncludedInInsertByDefault, areValuesIncludedInUpdateByDefault, areValuesNullableByDefault, relationalValueSources
getName, getPropertyAccessorName, getTypeInformation, isIncludedInOptimisticLocking, isSingular, metaAttributes
public ToOneAttributeSourceImpl(AssociationAttribute associationAttribute)
public SingularAttributeNature getNature()
SingularAttributeSource
getNature
in interface SingularAttributeSource
getNature
in class SingularAttributeSourceImpl
public String getReferencedEntityName()
ToOneAttributeSource
getReferencedEntityName
in interface ToOneAttributeSource
public String getReferencedEntityAttributeName()
ToOneAttributeSource
referenced entity
, but this value allows using a different
attribute instead.getReferencedEntityAttributeName
in interface ToOneAttributeSource
null
indicates the identifier attribute.public Iterable<CascadeStyle> getCascadeStyles()
AssociationAttributeSource
getCascadeStyles
in interface AssociationAttributeSource
public FetchMode getFetchMode()
AssociationAttributeSource
getFetchMode
in interface AssociationAttributeSource
public FetchTiming getFetchTiming()
getFetchTiming
in interface AssociationAttributeSource
public FetchStyle getFetchStyle()
getFetchStyle
in interface AssociationAttributeSource
Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.