public abstract class WitsmlRisk extends WitsmlObject
The risk object is used to provide a central location for capturing risk information about other well related objects.
Risk can be instantiated in two different ways in JWitsml client programs:
// Get risks from remote server List<WitsmlRisk> risks = witsmlServer.get(WitsmlRisk.class, new WitsmlQuery(), wellbore);
// Create instance WitsmlRisk risk = witsmlServer.newInstance(WitsmlRisk.class, "my risk", wellbore); // Set properties risk.setType(WitsmlRisk.Type.EVENT); risk.setCategory(WitsmlRisk.Category.EQUIPMENT_FAILURE); risk.setMdStart(new Value(1200.0, "m")); risk.setMdEnd(new Value(1250.0, "m")); : // Add to remote server witsmlServer.add(risk);
Modifier and Type | Class and Description |
---|---|
static class |
WitsmlRisk.Category
Type of slow circulation rate (eh?).
|
static class |
WitsmlRisk.Personnel
Personnel affected by a risk.
|
static class |
WitsmlRisk.SubCategory
Risk Sub-Categories.
|
static class |
WitsmlRisk.Type
Types of risk.
|
Modifier and Type | Method and Description |
---|---|
Date |
getActivityTimeEnd()
Return the activity time end of this risk.
|
Date |
getActivityTimeStart()
Return the activity time start of this risk.
|
List<WitsmlRisk.Personnel> |
getAffectedPersonnel()
Return the affected personnel of this risk.
|
Value |
getBitMdEnd()
Return the bit MD end of this risk.
|
Value |
getBitMdStart()
Return the bit MD start of this risk.
|
WitsmlRisk.Category |
getCategory()
Return the category of this risk.
|
String |
getContingency()
Return the contingency of this risk.
|
String |
getDetails()
Return the details of this risk.
|
String |
getExtendCategory()
Return the extend category of this risk.
|
Value |
getHoleDiameter()
Return the hole diameter of this risk.
|
String |
getIdentification()
Return the identification of this risk.
|
Value |
getMdEnd()
Return the MD end of this risk.
|
Value |
getMdStart()
Return the start MD of this risk.
|
List<String> |
getMitigations()
Return the mitigations of this risk.
|
DataObjectReference |
getObjectReference() |
Integer |
getProbabilityLevel()
Return the probability level of this risk.
|
Reference |
getReference()
Return the reference of this risk.
|
Integer |
getSeverityLevel()
Return the severity level of this risk.
|
WitsmlRisk.SubCategory |
getSubCategory()
Return the sub category of this risk.
|
String |
getSummary()
Return the summary of this risk.
|
Value |
getTvdEnd()
Return the TVD end of this risk.
|
Value |
getTvdStart()
Return the TVD start of this risk.
|
WitsmlRisk.Type |
getType()
Return the type of this risk.
|
void |
setActivityTimeEnd(Date activityTimeEnd)
Set the activity time end of this risk.
|
void |
setActivityTimeStart(Date activityTimeStart)
Set the activity time start of this risk.
|
void |
setBitMdEnd(Value bitMdEnd)
Set the bit MD end of this risk.
|
void |
setBitMdStart(Value bitMdStart)
Set the bit MD start of this risk.
|
void |
setCategory(WitsmlRisk.Category category)
Set the category of this risk.
|
void |
setContingency(String contingency)
Set the contingency of this risk.
|
void |
setDetails(String details)
Set the details of this risk.
|
void |
setExtendCategory(String extendCategory)
Set the extend category of this risk.
|
void |
setHoleDiameter(Value holeDiameter)
Set the hole diameter of this risk.
|
void |
setIdentification(String identification)
Set the identification of this risk.
|
void |
setMdEnd(Value mdEnd)
Set the MD end of this risk.
|
void |
setMdStart(Value mdStart)
Set the start MD of this risk.
|
void |
setObjectReference(DataObjectReference objectReference) |
void |
setProbabilityLevel(Integer probabilityLevel)
Set the probability level of this risk.
|
void |
setReference(Reference reference)
Set the reference of this risk.
|
void |
setSeverityLevel(Integer severityLevel)
Set the severity level of this risk.
|
void |
setSubCategory(WitsmlRisk.SubCategory subCategory)
Set the sub category of this risk.
|
void |
setSummary(String summary)
Set the summary of this risk.
|
void |
setTvdEnd(Value tvdEnd)
Set the TVD end of this risk.
|
void |
setTvdStart(Value tvdStart)
Set the TVD start of this risk.
|
void |
setType(WitsmlRisk.Type type)
Set the type of this risk.
|
equals, getAddQuery, getAliases, getCitation, getCommonData, getEtpResource, getEtpServer, getId, getName, getParent, getParentId, getReadLock, getServer, getVersion, getWitsmlServer, getWitsmlType, getWriteLock, hashCode, newAliases, newCitation, newCommonData, setEtpResource, setName, toString
public Reference getReference()
Corresponds to the WITSML property objectReference
:
A reference to an object that is defined within the context of a wellbore.
public void setReference(Reference reference)
Corresponds to the WITSML property objectReference
:
A reference to an object that is defined within the context of a wellbore.
reference
- The reference to set.
May be null indicating absent or unknown.public DataObjectReference getObjectReference()
public void setObjectReference(DataObjectReference objectReference)
public WitsmlRisk.Type getType()
Corresponds to the WITSML property type
:
The type of risk.
public void setType(WitsmlRisk.Type type)
Corresponds to the WITSML property type
:
The type of risk.
type
- The type to set.
May be null indicating absent or unknown.public WitsmlRisk.Category getCategory()
Corresponds to the WITSML property category
:
The category of risk.
public void setCategory(WitsmlRisk.Category category)
Corresponds to the WITSML property category
:
The category of risk.
category
- The category to set.
May be null indicating absent or unknown.public WitsmlRisk.SubCategory getSubCategory()
Corresponds to the WITSML property subCategory
:
The sub category of risk.
public void setSubCategory(WitsmlRisk.SubCategory subCategory)
Corresponds to the WITSML property subCategory
:
The sub category of risk.
subCategory
- The sub category to set.
May be null indicating absent or unknown.public String getExtendCategory()
Corresponds to the WITSML property extendCategory
:
Custom string to further categorize the risk.
public void setExtendCategory(String extendCategory)
Corresponds to the WITSML property extendCategory
:
Custom string to further categorize the risk.
extendCategory
- The extend category to set.
May be null indicating absent or unknown.public List<WitsmlRisk.Personnel> getAffectedPersonnel()
Corresponds to the WITSML property affectedPersonnel
:
Personnel affected by a risk.
public Date getActivityTimeStart()
Corresponds to the WITSML property dTimStart
:
Date and time that activities started.
public void setActivityTimeStart(Date activityTimeStart)
Corresponds to the WITSML property dTimStart
:
Date and time that activities started.
activityTimeStart
- The activity time start to set.
May be null indicating absent or unknown.public Date getActivityTimeEnd()
Corresponds to the WITSML property dTimEnd
:
Date and time that activities were completed.
public void setActivityTimeEnd(Date activityTimeEnd)
Corresponds to the WITSML property dTimEnd
:
Date and time that activities were completed.
activityTimeEnd
- The activity time end to set.
May be null indicating absent or unknown.public Value getMdStart()
Corresponds to the WITSML property mdHoleStart
:
Measured Depth at start of activity.
public void setMdStart(Value mdStart)
Corresponds to the WITSML property mdHoleStart
:
Measured Depth at start of activity.
mdStart
- The start MD to set.
May be null indicating absent or unknown.public Value getMdEnd()
Corresponds to the WITSML property mdHoleEnd
:
Measured Depth at end of activity.
public void setMdEnd(Value mdEnd)
Corresponds to the WITSML property mdHoleEnd
:
Measured Depth at end of activity.
mdEnd
- The MD end to set.
May be null indicating absent or unknown.public Value getTvdStart()
Corresponds to the WITSML property tvdHoleStart
:
True vertical depth at start of activity.
public void setTvdStart(Value tvdStart)
Corresponds to the WITSML property tvdHoleStart
:
True vertical depth at start of activity.
tvdStart
- The TVD start to set.
May be null indicating absent or unknown.public Value getTvdEnd()
Corresponds to the WITSML property tvdHoleEnd
:
True vertical depth at end of activity.
public void setTvdEnd(Value tvdEnd)
Corresponds to the WITSML property tvdHoleEnd
:
True vertical depth at end of activity.
tvdEnd
- The TVD end to set.
May be null indicating absent or unknown.public Value getBitMdStart()
Corresponds to the WITSML property mdBitStart
:
Measured depth of bit at start of activity.
public void setBitMdStart(Value bitMdStart)
Corresponds to the WITSML property mdBitStart
:
Measured depth of bit at start of activity.
bitMdStart
- The bit MD start to set.
May be null indicating absent or unknown.public Value getBitMdEnd()
Corresponds to the WITSML property mdBitEnd
:
Measured depth of bit at end of activity.
public void setBitMdEnd(Value bitMdEnd)
Corresponds to the WITSML property mdBitEnd
:
Measured depth of bit at end of activity.
bitMdEnd
- The bit MD end to set.
May be null indicating absent or unknown.public Value getHoleDiameter()
Corresponds to the WITSML property diaHole
:
Hole diameter.
public void setHoleDiameter(Value holeDiameter)
Corresponds to the WITSML property diaHole
:
Hole diameter.
holeDiameter
- The hole diameter to set.
May be null indicating absent or unknown.public Integer getSeverityLevel()
Corresponds to the WITSML property severityLevel
:
Severity level of the risk. Values of 1 through 5 with 1 being the lowest.
public void setSeverityLevel(Integer severityLevel)
Corresponds to the WITSML property severityLevel
:
Severity level of the risk. Values of 1 through 5 with 1 being the lowest.
severityLevel
- The severity level to set.
May be null indicating absent or unknown.public Integer getProbabilityLevel()
Corresponds to the WITSML property probabilityLevel
:
Probability level of the risk. Values of 1 through 5 with 1 being the lowest.
public void setProbabilityLevel(Integer probabilityLevel)
Corresponds to the WITSML property probabilityLevel
:
Probability level of the risk. Values of 1 through 5 with 1 being the lowest.
probabilityLevel
- The probability level to set.
May be null indicating absent or unknown.public String getSummary()
Corresponds to the WITSML property summary
:
Summary description of risk.
public void setSummary(String summary)
Corresponds to the WITSML property summary
:
Summary description of risk.
summary
- The summary to set.
May be null indicating absent or unknown.public String getDetails()
Corresponds to the WITSML property details
:
Complete description of risk.
public void setDetails(String details)
Corresponds to the WITSML property details
:
Complete description of risk.
details
- The details to set.
May be null indicating absent or unknown.public String getIdentification()
Corresponds to the WITSML property identification
:
Details for identifying the risk.
public void setIdentification(String identification)
Corresponds to the WITSML property identification
:
Details for identifying the risk.
identification
- The identification to set.
May be null indicating absent or unknown.public String getContingency()
Corresponds to the WITSML property contingency
:
Plan of action if the risk materializes.
public void setContingency(String contingency)
Corresponds to the WITSML property contingency
:
Plan of action if the risk materializes.
contingency
- The contingency to set.
May be null indicating absent or unknown.Copyright © 2023 Petroware AS - https://petroware.no