@Override public FetchMode getFetchMode() { return associationAttribute.getFetchMode(); }
@Override public String getReferencedEntityName() { return associationAttribute.getReferencedEntityType(); }
@Override public String getReferencedEntityAttributeName() { return associationAttribute.getMappedBy(); }
public ToOneAttributeSourceImpl(AssociationAttribute associationAttribute) { super(associationAttribute); this.associationAttribute = associationAttribute; this.cascadeStyles = EnumConversionHelper.cascadeTypeToCascadeStyleSet(associationAttribute.getCascadeTypes()); }