public class GeneratedValueMetadataImpl extends Object implements GeneratedValueMetadata
| Constructor and Description |
|---|
GeneratedValueMetadataImpl(AbstractLocator locator,
javax.persistence.GeneratedValue generatedValue) |
| Modifier and Type | Method and Description |
|---|---|
String |
getGenerator()
Returns the name of the generator of the generated value.
|
AbstractLocator |
getLocator()
Returns the locator.
|
javax.persistence.GenerationType |
getStrategy()
Returns the strategy of the generated value.
|
String |
toString() |
public GeneratedValueMetadataImpl(AbstractLocator locator, javax.persistence.GeneratedValue generatedValue)
locator - the java locatorgeneratedValue - the GeneratedValue annotationpublic String getGenerator()
getGenerator in interface GeneratedValueMetadatapublic AbstractLocator getLocator()
getLocator in interface LocatableMatadatapublic javax.persistence.GenerationType getStrategy()
getStrategy in interface GeneratedValueMetadataCopyright © 2012-2013 Batoo. All Rights Reserved.