R - the type of the change recordpublic abstract class AbstractChangeRecord<R extends AbstractChangeRecord<R>> extends SandboxLogRecord<R>
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractChangeRecord.ChangeType
The type of a change.
|
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
objectName
The name of the object that is changed.
|
protected java.lang.String |
objectType
The type of the object that is changed.
|
summary, values| Modifier | Constructor and Description |
|---|---|
protected |
AbstractChangeRecord(java.lang.String objName,
java.lang.String objType,
java.lang.String summary)
Constructs a change record.
|
| Modifier and Type | Method and Description |
|---|---|
R |
changeDate(java.util.Date d)
Indicates the date and time of the change.
|
R |
changedBy(java.lang.String s)
Indicates the user that makes the change.
|
R |
changeType(AbstractChangeRecord.ChangeType t)
Indicates the type of the change.
|
R |
featureId(java.lang.String s)
Indicates the ID of the main feature that uses the changed repository.
|
R |
repositoryId(java.lang.String s)
Indicates the ID of the repository that is changed.
|
java.lang.String |
toString() |
R |
url(java.lang.String s)
Indicates the URL that presents the change.
|
clone, clone, get, getSummary, initValues, loggedBy, putprotected final java.lang.String objectName
protected final java.lang.String objectType
protected AbstractChangeRecord(java.lang.String objName,
java.lang.String objType,
java.lang.String summary)
objName - the name of the object that is changedobjType - the type of the changed objectsummary - a brief description of how the object is changedjava.lang.IllegalArgumentException - if the given object name or type is
nullpublic java.lang.String toString()
toString in class SandboxLogRecord<R extends AbstractChangeRecord<R>>public R changeType(AbstractChangeRecord.ChangeType t)
t - the type of the changepublic R changeDate(java.util.Date d)
d - the date and time of the changepublic R changedBy(java.lang.String s)
s - the user that makes the changepublic R repositoryId(java.lang.String s)
s - the ID of the repositorypublic R featureId(java.lang.String s)
s - the ID of the main featurepublic R url(java.lang.String s)
s - the URL that presents the change