@Entity public class JpaRepositoryState extends java.lang.Object implements RepositoryState
Constructor and Description |
---|
JpaRepositoryState()
Instantiates a new jpa repository state.
|
JpaRepositoryState(java.lang.String state)
Instantiates a new jpa repository state.
|
JpaRepositoryState(java.lang.String state,
boolean initial)
Instantiates a new jpa repository state.
|
JpaRepositoryState(java.lang.String machineId,
java.lang.String state,
boolean initial)
Instantiates a new jpa repository state.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMachineId()
Gets the machine id.
|
java.lang.String |
getState()
Gets the state.
|
boolean |
isInitial()
Checks if is initial.
|
void |
setInitial(boolean initial) |
void |
setMachineId(java.lang.String machineId) |
void |
setState(java.lang.String state) |
public JpaRepositoryState()
public JpaRepositoryState(java.lang.String state)
state
- the statepublic JpaRepositoryState(java.lang.String state, boolean initial)
state
- the stateinitial
- the initialpublic JpaRepositoryState(java.lang.String machineId, java.lang.String state, boolean initial)
machineId
- the machine idstate
- the stateinitial
- the initialpublic java.lang.String getMachineId()
RepositoryState
getMachineId
in interface RepositoryState
public void setMachineId(java.lang.String machineId)
public java.lang.String getState()
RepositoryState
getState
in interface RepositoryState
public void setState(java.lang.String state)
public boolean isInitial()
RepositoryState
isInitial
in interface RepositoryState
public void setInitial(boolean initial)