public class ChangeReport
extends CheckReport
ChangeReport provides a CheckReport together
with the old and the new ID of the instance and the new changeable instance
object. The new instance ID and the new instance will be null in case the
instance cannot be changed due to problems. Refer to the report for more
information.| Modifier and Type | Field and Description |
|---|---|
ChangeableInstance |
newInstance
The new changed instance if the change has been successful,
otherwise null.
|
java.util.UUID |
newInstanceID
The new ID of the changed instance if the change has been successful,
otherwise null.
|
java.util.UUID |
oldInstanceID
The old ID of the changed instance.
|
| Constructor and Description |
|---|
ChangeReport(java.net.URI baseURI,
java.util.UUID oldInstanceID)
Sets up a change report which is a check report providing the old and the
new ID of the changed instance.
|
ChangeReport(java.net.URI baseUri,
java.util.UUID oldInstanceId,
java.util.Locale locale)
Sets up a change report which is a check report providing the old and the new ID of the changed
instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
setNewInstance(ChangeableInstance newInstance)
Sets the new instance.
|
void |
setNewInstanceID(java.util.UUID newInstanceID)
Sets the new ID of the instance.
|
public java.util.UUID newInstanceID
public ChangeableInstance newInstance
public final java.util.UUID oldInstanceID
public ChangeReport(java.net.URI baseURI,
java.util.UUID oldInstanceID)
baseURI - The process element identifier URI of the instance this
check report is assigned to.oldInstanceID - The old ID of the instance.public ChangeReport(java.net.URI baseUri,
java.util.UUID oldInstanceId,
java.util.Locale locale)
baseUri - The process element identifier URI of the instance this check report is assigned
to.oldInstanceId - The old ID of the instance.locale - The preferred locale to be used for messages of this check report.public final void setNewInstanceID(java.util.UUID newInstanceID)
newInstanceID - The new ID of the instance.public final void setNewInstance(ChangeableInstance newInstance)
newInstance - The new changeablInstance.