Class LightIdInsertProp
-
- All Implemented Interfaces:
@ConfigurationProperties(value = LightIdInsertProp.Key) public class LightIdInsertProp
- Since:
2019-05-30
trydofor
-
-
Constructor Summary
Constructors Constructor Description LightIdInsertProp()
-
Method Summary
Modifier and Type Method Description longgetNext()The first value when auto-insert, recommended to start with 1000, as the value below is used manually. voidsetNext(long next)The first value when auto-insert, recommended to start with 1000, as the value below is used manually. intgetStep()The step value when auto-insert. voidsetStep(int step)The step value when auto-insert. booleanisAuto()If the current ID of name and block does not exist, insert new one or throw an exception. booleanequals(@Nullable() Object o)inthashCode()StringtoString()voidsetAuto(boolean auto)If the current ID of name and block does not exist, insert new one or throw an exception. -
-
Method Detail
-
getNext
long getNext()
The first value when auto-insert, recommended to start with 1000, as the value below is used manually.
-
setNext
void setNext(long next)
The first value when auto-insert, recommended to start with 1000, as the value below is used manually.
-
getStep
int getStep()
The step value when auto-insert.
-
setStep
void setStep(int step)
The step value when auto-insert.
-
isAuto
boolean isAuto()
If the current ID of name and block does not exist, insert new one or throw an exception.
-
hashCode
int hashCode()
-
setAuto
void setAuto(boolean auto)
If the current ID of name and block does not exist, insert new one or throw an exception.
-
-
-
-