Package com.logicaldoc.core.sequence
Class Sequence
java.lang.Object
com.logicaldoc.core.PersistentObject
com.logicaldoc.core.sequence.Sequence
- All Implemented Interfaces:
Serializable
A sequence in the database
- Since:
- 6.9
- Author:
- Marco Meschieri - LogicalDOC
- See Also:
-
Field Summary
Fields inherited from class com.logicaldoc.core.PersistentObject
DELETED_CODE_DEFAULT, DELETED_CODE_STRONG
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getName()
long
long
getValue()
int
hashCode()
void
setLastReset
(Date lastReset) void
void
setObjectId
(long objectId) void
setValue
(long value) Methods inherited from class com.logicaldoc.core.PersistentObject
getCreation, getDeleted, getId, getLastModified, getRecordVersion, getTenantId, setCreation, setDeleted, setId, setLastModified, setRecordVersion, setTenantId, toString
-
Constructor Details
-
Sequence
public Sequence()
-
-
Method Details
-
getName
-
setName
-
getLastReset
-
setLastReset
-
getValue
public long getValue() -
setValue
public void setValue(long value) -
getObjectId
public long getObjectId() -
setObjectId
public void setObjectId(long objectId) -
hashCode
public int hashCode()- Overrides:
hashCode
in classPersistentObject
-
equals
- Overrides:
equals
in classPersistentObject
-