public interface GeneratedValue<T> extends Child<T>, OrmGeneratedValueCommType<T,GeneratedValue<T>>
generated-value
xsd typeModifier and Type | Method and Description |
---|---|
GeneratedValue<T> |
generator(String generator)
Sets the
generator attribute |
String |
getGenerator()
Returns the
generator attribute |
GenerationType |
getStrategy()
Returns the
strategy attribute |
String |
getStrategyAsString()
Returns the
strategy attribute |
GeneratedValue<T> |
removeGenerator()
Removes the
generator attribute |
GeneratedValue<T> |
removeStrategy()
Removes the
strategy attribute |
GeneratedValue<T> |
strategy(GenerationType strategy)
Sets the
strategy attribute |
GeneratedValue<T> |
strategy(String strategy)
Sets the
strategy attribute |
GeneratedValue<T> strategy(GenerationType strategy)
strategy
attributestrategy
- the value for the attribute strategy
GeneratedValue
GeneratedValue<T> strategy(String strategy)
strategy
attributestrategy
- the value for the attribute strategy
GeneratedValue
GenerationType getStrategy()
strategy
attributestrategy
String getStrategyAsString()
strategy
attributestrategy
GeneratedValue<T> removeStrategy()
strategy
attributeGeneratedValue
GeneratedValue<T> generator(String generator)
generator
attributegenerator
- the value for the attribute generator
GeneratedValue
String getGenerator()
generator
attributegenerator
GeneratedValue<T> removeGenerator()
generator
attributeGeneratedValue
Copyright © 2016 JBoss by Red Hat. All rights reserved.