@Platform(value="linux") @Platform(value="windows") public abstract class Entity extends ImplContainer
Constructor and Description |
---|
Entity() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
abstract void |
forceCreatedAt(Date date)
Sets the creation time to the provided value even if the
field is already set.
|
abstract void |
forceUpdatedAt()
Sets the time of the last update to the current time.
|
abstract Date |
getCreatedAt()
Gets the creation time.
|
abstract String |
getId()
Getter for the id of the entity.
|
abstract Date |
getUpdatedAt()
Gets the time of the last update.
|
int |
hashCode() |
abstract void |
setCreatedAt()
Sets the creation time to the current time if the creation
time is not set.
|
abstract void |
setUpdatedAt()
Sets the time of the last update to the current time if
the field is not set.
|
isInitialized, isNone
public abstract String getId()
The id is generated at creation time of an entity. It contains a randomly generated sequence of characters with low collision probability.
public abstract Date getUpdatedAt()
public abstract Date getCreatedAt()
public abstract void setUpdatedAt()
public abstract void forceUpdatedAt()
public abstract void setCreatedAt()
public abstract void forceCreatedAt(Date date)
date
- The creation time to set.public int hashCode()
hashCode
in class org.bytedeco.javacpp.Pointer
public boolean equals(Object obj)
equals
in class org.bytedeco.javacpp.Pointer
Copyright © 2016. All rights reserved.