public class OneToManyAttributeMetadataImpl extends AssociationAttributeMetadataImpl implements OneToManyAttributeMetadata
OneToManyAttributeMetadata.| Constructor and Description |
|---|
OneToManyAttributeMetadataImpl(Member member,
OneToManyAttributeMetadata metadata) |
OneToManyAttributeMetadataImpl(Member member,
String name,
javax.persistence.OneToMany oneToMany,
Set<Class<? extends Annotation>> parsed) |
| Modifier and Type | Method and Description |
|---|---|
String |
getMapKey()
Returns the map key.
|
List<AttributeOverrideMetadata> |
getMapKeyAttributeOverrides()
Returns the list of map key attribute overrides.
|
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.
|
String |
getMappedBy()
Returns the name of the bidirectional owner association attribute.
|
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(Member member, OneToManyAttributeMetadata metadata)
member - the java member of one-to-one attributemetadata - the metadata definition of the one-to-many attributepublic OneToManyAttributeMetadataImpl(Member member, String name, javax.persistence.OneToMany oneToMany, Set<Class<? extends 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 String getMapKey()
getMapKey in interface PluralAttributeMetadatapublic List<AttributeOverrideMetadata> getMapKeyAttributeOverrides()
getMapKeyAttributeOverrides in interface PluralAttributeMetadatapublic 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 String getMappedBy()
getMappedBy in interface MappableAssociationAttributeMetadatapublic String getOrderBy()
getOrderBy in interface PluralAttributeMetadatapublic ColumnMetadata getOrderColumn()
getOrderColumn in interface PluralAttributeMetadatapublic boolean removesOrphans()
removesOrphans in interface OrphanableAssociationAttributeMetadataCopyright © 2012-2013 Batoo. All Rights Reserved.