public abstract class WitsmlChangeLog extends WitsmlObject
Modifier and Type | Class and Description |
---|---|
static class |
WitsmlChangeLog.ChangeHistory
Defines detail changes of an object.
|
static class |
WitsmlChangeLog.ChangeType
Enumeration describing the change type of a change log.
|
Modifier and Type | Method and Description |
---|---|
abstract WitsmlChangeLog.ChangeHistory |
addHistory() |
boolean |
equals(Object object)
Check if the specified object is equal to this instance.
|
List<WitsmlChangeLog.ChangeHistory> |
getHistory()
Return the change history of this change log.
|
String |
getLastChange()
Return the message of the last change.
|
WitsmlChangeLog.ChangeType |
getLastChangeType()
Return change type of the last change.
|
String |
getObjectId() |
String |
getObjectType()
Return the object type of this change log.
|
String |
getSource()
Return the source of this change log.
|
int |
hashCode() |
void |
setLastChange(String lastChange)
Set message of the last change.
|
void |
setLastChangeType(WitsmlChangeLog.ChangeType lastChangeType)
Set change type of the last change.
|
void |
setName(String name)
Set name of this instance.
|
void |
setObjectType(String objectType)
Set object type of this change log.
|
void |
setSource(String source)
Set source of this change log.
|
getAddQuery, getAliases, getCitation, getCommonData, getEtpResource, getEtpServer, getId, getName, getParent, getParentId, getReadLock, getServer, getVersion, getWitsmlServer, getWitsmlType, getWriteLock, newAliases, newCitation, newCommonData, setEtpResource, toString
public String getObjectId()
public void setName(String name)
setName
in class WitsmlObject
name
- Name to set. May be null indicating absent.public String getObjectType()
Corresponds to the WITSML property objectType
:
The schema name of the (singular) object that changed. For example, "trajectory".
public void setObjectType(String objectType)
Corresponds to the WITSML property objectType
:
The schema name of the (singular) object that changed. For example, "trajectory".
objectType
- Type object type to set.public String getSource()
Corresponds to the WITSML property sourceName
:
See the API specification for a description of the use of this data.
public void setSource(String source)
Corresponds to the WITSML property sourceName
:
See the API specification for a description of the use of this data.
source
- Type source to set.public WitsmlChangeLog.ChangeType getLastChangeType()
Corresponds to the WITSML property lastChangeType
:
See the API specification for a description of the use of this data.
public void setLastChangeType(WitsmlChangeLog.ChangeType lastChangeType)
Corresponds to the WITSML property lastChangeType
:
See the API specification for a description of the use of this data.
lastChangeType
- Change type to set.public String getLastChange()
Corresponds to the WITSML property lastChangeInfo
:
See the API specification for a description of the use of this data.
public void setLastChange(String lastChange)
Corresponds to the WITSML property lastChangeInfo
:
See the API specification for a description of the use of this data.
lastChange
- Last change to set.public List<WitsmlChangeLog.ChangeHistory> getHistory()
Corresponds to the WITSML property changeHistory
:
See the API specification for a description of the use of this data.
public abstract WitsmlChangeLog.ChangeHistory addHistory()
public int hashCode()
WitsmlObject
hashCode
in class WitsmlObject
public boolean equals(Object object)
WitsmlObject
equals
in class WitsmlObject
object
- Object to check against. May be null.Copyright © 2023 Petroware AS - https://petroware.no