Search in sources :

Example 1 with AttributeOverride

use of org.eclipse.persistence.jpa.config.AttributeOverride in project eclipselink by eclipse-ee4j.

the class ElementCollectionImpl method addMapKeyAttributeOverride.

@Override
public AttributeOverride addMapKeyAttributeOverride() {
    AttributeOverrideImpl override = new AttributeOverrideImpl();
    getMetadata().getMapKeyAttributeOverrides().add(override.getMetadata());
    return override;
}
Also used : AttributeOverrideImpl(org.eclipse.persistence.internal.jpa.config.columns.AttributeOverrideImpl) AttributeOverride(org.eclipse.persistence.jpa.config.AttributeOverride) AssociationOverride(org.eclipse.persistence.jpa.config.AssociationOverride)

Example 2 with AttributeOverride

use of org.eclipse.persistence.jpa.config.AttributeOverride in project eclipselink by eclipse-ee4j.

the class ElementCollectionImpl method addAttributeOverride.

@Override
public AttributeOverride addAttributeOverride() {
    AttributeOverrideImpl override = new AttributeOverrideImpl();
    getMetadata().getAttributeOverrides().add(override.getMetadata());
    return override;
}
Also used : AttributeOverrideImpl(org.eclipse.persistence.internal.jpa.config.columns.AttributeOverrideImpl) AttributeOverride(org.eclipse.persistence.jpa.config.AttributeOverride) AssociationOverride(org.eclipse.persistence.jpa.config.AssociationOverride)

Aggregations

AttributeOverrideImpl (org.eclipse.persistence.internal.jpa.config.columns.AttributeOverrideImpl)2 AssociationOverride (org.eclipse.persistence.jpa.config.AssociationOverride)2 AttributeOverride (org.eclipse.persistence.jpa.config.AttributeOverride)2