Package io.ebeaninternal.server.deploy
Class IdentityMode
- java.lang.Object
-
- io.ebeaninternal.server.deploy.IdentityMode
-
public class IdentityMode extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static IdentityMode
NONE
-
Constructor Summary
Constructors Constructor Description IdentityMode(IdType type, io.ebean.annotation.IdentityGenerated auto, int start, int increment, int cache, String seqName)
Create from migration model CreateTable.IdentityMode(DeployIdentityMode deploy)
Create from deployment.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCache()
io.ebean.annotation.IdentityGenerated
getGenerated()
IdType
getIdType()
int
getIncrement()
String
getSequenceName()
int
getStart()
boolean
hasOptions()
boolean
isAuto()
boolean
isDatabaseIdentity()
boolean
isExternal()
boolean
isIdentity()
boolean
isPlatformDefault()
boolean
isSequence()
-
-
-
Field Detail
-
NONE
public static IdentityMode NONE
-
-
Constructor Detail
-
IdentityMode
public IdentityMode(DeployIdentityMode deploy)
Create from deployment.
-
IdentityMode
public IdentityMode(IdType type, io.ebean.annotation.IdentityGenerated auto, int start, int increment, int cache, String seqName)
Create from migration model CreateTable.
-
-
Method Detail
-
isPlatformDefault
public boolean isPlatformDefault()
-
getGenerated
public io.ebean.annotation.IdentityGenerated getGenerated()
-
getStart
public int getStart()
-
getIncrement
public int getIncrement()
-
getCache
public int getCache()
-
getSequenceName
public String getSequenceName()
-
isSequence
public boolean isSequence()
-
isIdentity
public boolean isIdentity()
-
isExternal
public boolean isExternal()
-
isAuto
public boolean isAuto()
-
isDatabaseIdentity
public boolean isDatabaseIdentity()
-
hasOptions
public boolean hasOptions()
-
-