public class ManyToOneAttributeMetadataImpl extends AssociationAttributeMetadataImpl implements ManyToOneAttributeMetadata
ManyToOneAttributeMetadata.| Constructor and Description |
|---|
ManyToOneAttributeMetadataImpl(Member member,
ManyToOneAttributeMetadata metadata) |
ManyToOneAttributeMetadataImpl(Member member,
String name,
javax.persistence.ManyToOne manyToOne,
Set<Class<? extends Annotation>> parsed) |
| Modifier and Type | Method and Description |
|---|---|
String |
getMapsId()
Returns the maps id.
|
boolean |
isId()
Returns if the attribute is an id attribute.
|
boolean |
isOptional()
Returns if the association attribute is optional.
|
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 ManyToOneAttributeMetadataImpl(Member member, ManyToOneAttributeMetadata metadata)
member - the java member of one-to-one attributemetadata - the metadata definition of the one-to-one attributepublic ManyToOneAttributeMetadataImpl(Member member, String name, javax.persistence.ManyToOne manyToOne, Set<Class<? extends Annotation>> parsed)
member - the java member of attributename - the name of the attributemanyToOne - the annotationparsed - set of annotations parsedpublic String getMapsId()
getMapsId in interface OptionalAssociationAttributeMetadatapublic boolean isId()
isId in interface OptionalAssociationAttributeMetadatapublic boolean isOptional()
isOptional in interface OptionalAssociationAttributeMetadataCopyright © 2012-2013 Batoo. All Rights Reserved.