public static final class AbstractEntity.Builder
extends java.lang.Object
AbstractEntity
.Constructor and Description |
---|
Builder(java.util.Calendar updated,
java.lang.String userId,
java.lang.String updatedByUserId,
java.util.Calendar created,
long version,
java.lang.String userName,
java.lang.String id)
Constructor with parameters for the required properties of
AbstractEntity . |
Modifier and Type | Method and Description |
---|---|
AbstractEntity |
build() |
AbstractEntity.Builder |
setUpdatedByUserName(java.lang.String updatedByUserName)
User name that last updated this record
|
public Builder(java.util.Calendar updated, java.lang.String userId, java.lang.String updatedByUserId, java.util.Calendar created, long version, java.lang.String userName, java.lang.String id)
AbstractEntity
.public AbstractEntity.Builder setUpdatedByUserName(java.lang.String updatedByUserName)
updatedByUserName
- New value for the property.public AbstractEntity build()