public class OneToManyAttributeMetadataImpl extends AssociationAttributeMetadataImpl implements OneToManyAttributeMetadata
OneToManyAttributeMetadata.| Constructor and Description |
|---|
OneToManyAttributeMetadataImpl(java.lang.reflect.Member member,
OneToManyAttributeMetadata metadata) |
OneToManyAttributeMetadataImpl(java.lang.reflect.Member member,
java.lang.String name,
javax.persistence.OneToMany oneToMany,
java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>> parsed) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getMapKey()
Returns the map key.
|
java.util.List<AttributeOverrideMetadata> |
getMapKeyAttributeOverrides()
Returns the list of map key attribute overrides.
|
java.lang.String |
getMapKeyClassName()
Returns the class name of the map key.
|
ColumnMetadata |
getMapKeyColumn()
Returns the map key column definition.
|
javax.persistence.EnumType |
getMapKeyEnumType()
Returns the enum type of the map key.
|
javax.persistence.TemporalType |
getMapKeyTemporalType()
Returns the temporal type of the map key.
|
java.lang.String |
getMappedBy()
Returns the name of the bidirectional owner association attribute.
|
java.lang.String |
getOrderBy()
Returns the order by.
|
ColumnMetadata |
getOrderColumn()
Returns the order column definition.
|
boolean |
removesOrphans()
Returns if the orphaned entities of the association attribute is removed.
|
getCascades, getFetchStrategy, getFetchType, getJoinColumns, getJoinTable, getMaxFetchDepth, getTargetEntity, handleId, handleMapKey, handleMapKeyClassName, handleMapKeyColumn, handleMapKeyEnumType, handleMapKeyTemporalType, handleMapsId, handleOrderBy, handleOrderColumngetAccess, getLocator, getMember, getName, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetCascades, getFetchStrategy, getFetchType, getMaxFetchDepth, getTargetEntitygetAccessgetJoinColumns, getJoinTablegetNamegetLocatorpublic OneToManyAttributeMetadataImpl(java.lang.reflect.Member member,
OneToManyAttributeMetadata metadata)
member - the java member of one-to-one attributemetadata - the metadata definition of the one-to-many attributepublic OneToManyAttributeMetadataImpl(java.lang.reflect.Member member,
java.lang.String name,
javax.persistence.OneToMany oneToMany,
java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>> parsed)
member - the java member of one-to-one attributename - the name of the one-to-one attributeoneToMany - the obtained OneToMany annotationparsed - set of annotations parsedpublic java.lang.String getMapKey()
getMapKey in interface PluralAttributeMetadatapublic java.util.List<AttributeOverrideMetadata> getMapKeyAttributeOverrides()
getMapKeyAttributeOverrides in interface PluralAttributeMetadatapublic java.lang.String getMapKeyClassName()
getMapKeyClassName in interface PluralAttributeMetadatapublic ColumnMetadata getMapKeyColumn()
getMapKeyColumn in interface PluralAttributeMetadatapublic javax.persistence.EnumType getMapKeyEnumType()
getMapKeyEnumType in interface PluralAttributeMetadatapublic javax.persistence.TemporalType getMapKeyTemporalType()
getMapKeyTemporalType in interface PluralAttributeMetadatapublic java.lang.String getMappedBy()
getMappedBy in interface MappableAssociationAttributeMetadatapublic java.lang.String getOrderBy()
getOrderBy in interface PluralAttributeMetadatapublic ColumnMetadata getOrderColumn()
getOrderColumn in interface PluralAttributeMetadatapublic boolean removesOrphans()
removesOrphans in interface OrphanableAssociationAttributeMetadataCopyright © 2012-2013 Batoo Software & Consultancy. All Rights Reserved.