Package org.hibernate.boot.model
Class IdentifierGeneratorDefinition
- java.lang.Object
-
- org.hibernate.boot.model.IdentifierGeneratorDefinition
-
- All Implemented Interfaces:
java.io.Serializable
public class IdentifierGeneratorDefinition extends java.lang.Object implements java.io.Serializable
Identifier generator definition, should be immutable.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IdentifierGeneratorDefinition.Builder
-
Constructor Summary
Constructors Constructor Description IdentifierGeneratorDefinition(java.lang.String name)
IdentifierGeneratorDefinition(java.lang.String name, java.lang.String strategy)
IdentifierGeneratorDefinition(java.lang.String name, java.lang.String strategy, java.util.Map<java.lang.String,java.lang.String> parameters)
IdentifierGeneratorDefinition(java.lang.String name, java.util.Map<java.lang.String,java.lang.String> parameters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getName()
java.util.Map<java.lang.String,java.lang.String>
getParameters()
java.lang.String
getStrategy()
int
hashCode()
java.lang.String
toString()
-
-
-
Constructor Detail
-
IdentifierGeneratorDefinition
public IdentifierGeneratorDefinition(java.lang.String name, java.lang.String strategy, java.util.Map<java.lang.String,java.lang.String> parameters)
-
IdentifierGeneratorDefinition
public IdentifierGeneratorDefinition(java.lang.String name, java.util.Map<java.lang.String,java.lang.String> parameters)
-
IdentifierGeneratorDefinition
public IdentifierGeneratorDefinition(java.lang.String name)
-
IdentifierGeneratorDefinition
public IdentifierGeneratorDefinition(java.lang.String name, java.lang.String strategy)
-
-
Method Detail
-
getStrategy
public java.lang.String getStrategy()
- Returns:
- identifier generator strategy
-
getName
public java.lang.String getName()
- Returns:
- generator name
-
getParameters
public java.util.Map<java.lang.String,java.lang.String> getParameters()
- Returns:
- generator configuration parameters
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-