|
Primavera Integration API Release 8 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.primavera.integration.client.BOBase
com.primavera.integration.client.bo.BusinessObject
com.primavera.integration.client.bo.object.RiskMatrixScore
public class RiskMatrixScore
The risk matrix score object stores the score values from the probability and impact diagram (PID) of the risk score matrix.
See Also: Quick reference of RiskMatrixScore fields
Constructor Summary | |
---|---|
RiskMatrixScore(Session session)
Class constructor specifying the Session. |
|
RiskMatrixScore(Session session,
ObjectId objId)
Class constructor specifying the Session and ObjectId of the object. |
|
RiskMatrixScore(Session session,
com.primavera.infr.db.PrmRowSet rowSet,
int iIndex)
Class constructor called internally after objects are retrieved from the server. |
Method Summary | |
---|---|
ObjectId |
create()
Creates this RiskMatrixScore object in the database. |
static ObjectId[] |
create(Session session,
RiskMatrixScore[] riskmatrixscores)
Creates multiple RiskMatrixScore objects in the database. |
void |
delete()
Deletes this RiskMatrixScore object from the database. |
static void |
delete(Session session,
RiskMatrixScore[] riskmatrixscores)
Deletes multiple RiskMatrixScore objects from the database. |
static String[] |
getAllFields()
Gets all fields for this business object. |
Date |
getCreateDate()
Gets the date this risk matrix score was created. |
String |
getCreateUser()
Gets the name of the user that created the risk matrix score. |
static String[] |
getDefaultXMLExportFields()
Deprecated. |
static String[] |
getFilterableFields()
Gets all fields that can be filtered. |
static String[] |
getInternalAllFields()
An internal method that should not be called directly by client code. |
static Set<String> |
getInternalAllFieldsSet()
An internal method that should not be called directly by client code. |
static String[] |
getInternalDefaultLoadFields()
An internal method that should not be called directly by client code. |
Date |
getLastUpdateDate()
Gets the date this risk matrix score was last updated. |
String |
getLastUpdateUser()
Gets the name of the user that last updated the risk matrix score. |
static String[] |
getMinimumXMLExportFields()
Gets all fields that are always exported at a minimum by the new flat XML exporter |
ObjectId |
getObjectId()
Gets the unique ID generated by the system. |
int |
getProbabilityThresholdLevel()
Gets the level number of the probability threshold. |
static String[] |
getRequiredCreateFields()
Gets all fields that must be set before calling create() on this business object. |
String |
getRiskMatrixName()
Gets the name of the Risk Matrix. |
ObjectId |
getRiskMatrixObjectId()
Gets the unique ID of the associated Risk Matrix. |
int |
getSeverity1()
Gets the first severity level of the Risk Matrix Score. |
String |
getSeverity1Label()
Gets the label for the first severity level. |
int |
getSeverity2()
Gets the second severity level of the Risk Matrix Score. |
String |
getSeverity2Label()
Gets the label for the second severity level. |
int |
getSeverity3()
Gets the third severity level of the Risk Matrix Score. |
String |
getSeverity3Label()
Gets the label for the third severity level. |
int |
getSeverity4()
Gets the fourth severity level of the Risk Matrix Score. |
String |
getSeverity4Label()
Gets the label for the forth severity level. |
int |
getSeverity5()
Gets the fifth severity level of the Risk Matrix Score. |
String |
getSeverity5Label()
Gets the label for the fith severity level. |
int |
getSeverity6()
Gets the sixth severity level of the Risk Matrix Score. |
String |
getSeverity6Label()
Gets the sixth for the first severity level. |
int |
getSeverity7()
Gets the seventh severity level of the Risk Matrix Score. |
String |
getSeverity7Label()
Gets the label for the seventh severity level. |
int |
getSeverity8()
Gets the eighth severity level of the Risk Matrix Score. |
String |
getSeverity8Label()
Gets the label for the eighth severity level. |
int |
getSeverity9()
Gets the ninth severity level of the Risk Matrix Score. |
String |
getSeverity9Label()
Gets the label for the ninth severity level. |
static String[] |
getWritableFields()
Gets all writable fields for this business object. |
static RiskMatrixScore |
load(Session session,
String[] fields,
ObjectId objId)
Loads a single RiskMatrixScore object from the database. |
static BOIterator<RiskMatrixScore> |
load(Session session,
String[] fields,
ObjectId[] objIds)
Loads multiple RiskMatrixScore objects from the database. |
RiskMatrix |
loadRiskMatrix(String[] fields)
Loads an associated RiskMatrix object from the database. |
void |
setObjectId(ObjectId o)
Sets the unique ID generated by the system. |
void |
setProbabilityThresholdLevel(int i)
Sets the level number of the probability threshold. |
void |
setRiskMatrixObjectId(ObjectId o)
Sets the unique ID of the associated Risk Matrix. |
void |
setSeverity1(int i)
Sets the first severity level of the Risk Matrix Score. |
void |
setSeverity1Label(String s)
Sets the label for the first severity level. |
void |
setSeverity2(int i)
Sets the second severity level of the Risk Matrix Score. |
void |
setSeverity2Label(String s)
Sets the label for the second severity level. |
void |
setSeverity3(int i)
Sets the third severity level of the Risk Matrix Score. |
void |
setSeverity3Label(String s)
Sets the label for the third severity level. |
void |
setSeverity4(int i)
Sets the fourth severity level of the Risk Matrix Score. |
void |
setSeverity4Label(String s)
Sets the label for the forth severity level. |
void |
setSeverity5(int i)
Sets the fifth severity level of the Risk Matrix Score. |
void |
setSeverity5Label(String s)
Sets the label for the fith severity level. |
void |
setSeverity6(int i)
Sets the sixth severity level of the Risk Matrix Score. |
void |
setSeverity6Label(String s)
Sets the sixth for the first severity level. |
void |
setSeverity7(int i)
Sets the seventh severity level of the Risk Matrix Score. |
void |
setSeverity7Label(String s)
Sets the label for the seventh severity level. |
void |
setSeverity8(int i)
Sets the eighth severity level of the Risk Matrix Score. |
void |
setSeverity8Label(String s)
Sets the label for the eighth severity level. |
void |
setSeverity9(int i)
Sets the ninth severity level of the Risk Matrix Score. |
void |
setSeverity9Label(String s)
Sets the label for the ninth severity level. |
String |
toString()
Returns a string representation of the object. |
void |
update()
Updates this RiskMatrixScore object in the database. |
static void |
update(Session session,
RiskMatrixScore[] riskmatrixscores)
Updates multiple RiskMatrixScore objects in the database. |
Methods inherited from class com.primavera.integration.client.bo.BusinessObject |
---|
equals, hashCode, isNull, setNull |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RiskMatrixScore(Session session)
session
- the Sessionpublic RiskMatrixScore(Session session, ObjectId objId) throws BusinessObjectException
session
- the SessionobjId
- the ObjectId
BusinessObjectException
- if a problem occurred in the client-side business objectspublic RiskMatrixScore(Session session, com.primavera.infr.db.PrmRowSet rowSet, int iIndex) throws BusinessObjectException
session
- the SessionrowSet
- the PrmRowSet retrieved from the serveriIndex
- the row index in the PrmRowSet associated with this business object
BusinessObjectException
- if a problem occurred in the client-side business objectsMethod Detail |
---|
public RiskMatrix loadRiskMatrix(String[] fields) throws ServerException, NetworkException, BusinessObjectException
fields
- fields to load
ServerException
- if a problem occurred on the server-side
NetworkException
- if a problem occurred in the network layer
BusinessObjectException
- if a problem occurred in the client-side business objectspublic ObjectId getObjectId() throws BusinessObjectException
getObjectId
in class BusinessObject
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setObjectId(ObjectId o) throws BusinessObjectException
setObjectId
in class BusinessObject
o
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic ObjectId getRiskMatrixObjectId() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setRiskMatrixObjectId(ObjectId o) throws BusinessObjectException
o
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic int getProbabilityThresholdLevel() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setProbabilityThresholdLevel(int i) throws BusinessObjectException
i
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic int getSeverity1() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setSeverity1(int i) throws BusinessObjectException
i
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic int getSeverity2() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setSeverity2(int i) throws BusinessObjectException
i
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic int getSeverity3() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setSeverity3(int i) throws BusinessObjectException
i
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic int getSeverity4() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setSeverity4(int i) throws BusinessObjectException
i
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic int getSeverity5() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setSeverity5(int i) throws BusinessObjectException
i
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic int getSeverity6() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setSeverity6(int i) throws BusinessObjectException
i
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic int getSeverity7() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setSeverity7(int i) throws BusinessObjectException
i
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic int getSeverity8() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setSeverity8(int i) throws BusinessObjectException
i
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic int getSeverity9() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setSeverity9(int i) throws BusinessObjectException
i
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic String getSeverity1Label() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setSeverity1Label(String s) throws BusinessObjectException
s
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic String getSeverity2Label() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setSeverity2Label(String s) throws BusinessObjectException
s
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic String getSeverity3Label() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setSeverity3Label(String s) throws BusinessObjectException
s
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic String getSeverity4Label() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setSeverity4Label(String s) throws BusinessObjectException
s
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic String getSeverity5Label() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setSeverity5Label(String s) throws BusinessObjectException
s
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic String getSeverity6Label() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setSeverity6Label(String s) throws BusinessObjectException
s
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic String getSeverity7Label() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setSeverity7Label(String s) throws BusinessObjectException
s
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic String getSeverity8Label() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setSeverity8Label(String s) throws BusinessObjectException
s
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic String getSeverity9Label() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void setSeverity9Label(String s) throws BusinessObjectException
s
- the value to set this field to
BusinessObjectException
- if a problem occurred in the client-side business objectspublic Date getCreateDate() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic Date getLastUpdateDate() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic String getCreateUser() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic String getLastUpdateUser() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic String getRiskMatrixName() throws BusinessObjectException
BusinessObjectException
- if a problem occurred in the client-side business objectspublic static String[] getRequiredCreateFields()
public static String[] getFilterableFields()
public static String[] getInternalDefaultLoadFields()
public static String[] getAllFields()
public static String[] getInternalAllFields()
public static Set<String> getInternalAllFieldsSet()
public static String[] getWritableFields()
@Deprecated public static String[] getDefaultXMLExportFields()
public static String[] getMinimumXMLExportFields()
public String toString()
toString
in class Object
public ObjectId create() throws ServerException, NetworkException, BusinessObjectException
ServerException
- if a problem occurred on the server-side
NetworkException
- if a problem occurred in the network layer
BusinessObjectException
- if a problem occurred in the client-side business objectspublic static ObjectId[] create(Session session, RiskMatrixScore[] riskmatrixscores) throws ServerException, NetworkException, BusinessObjectException
session
- the Session objectriskmatrixscores
- array of RiskMatrixScore objects to create
ServerException
- if a problem occurred on the server-side
NetworkException
- if a problem occurred in the network layer
BusinessObjectException
- if a problem occurred in the client-side business objectspublic static RiskMatrixScore load(Session session, String[] fields, ObjectId objId) throws ServerException, NetworkException, BusinessObjectException
session
- the Session objectfields
- fields to loadobjId
- unique ID of the RiskMatrixScore object
ServerException
- if a problem occurred on the server-side
NetworkException
- if a problem occurred in the network layer
BusinessObjectException
- if a problem occurred in the client-side business objectspublic static BOIterator<RiskMatrixScore> load(Session session, String[] fields, ObjectId[] objIds) throws ServerException, NetworkException, BusinessObjectException
session
- the Session objectfields
- fields to loadobjIds
- object ids of the RiskMatrixScore objects
ServerException
- if a problem occurred on the server-side
NetworkException
- if a problem occurred in the network layer
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void update() throws ServerException, NetworkException, BusinessObjectException
update
in class com.primavera.integration.client.BOBase
ServerException
- if a problem occurred on the server-side
NetworkException
- if a problem occurred in the network layer
BusinessObjectException
- if a problem occurred in the client-side business objectspublic static void update(Session session, RiskMatrixScore[] riskmatrixscores) throws ServerException, NetworkException, BusinessObjectException
session
- the Session objectriskmatrixscores
- array of RiskMatrixScore objects to update
ServerException
- if a problem occurred on the server-side
NetworkException
- if a problem occurred in the network layer
BusinessObjectException
- if a problem occurred in the client-side business objectspublic void delete() throws ServerException, NetworkException, BusinessObjectException
delete
in class com.primavera.integration.client.BOBase
ServerException
- if a problem occurred on the server-side
NetworkException
- if a problem occurred in the network layer
BusinessObjectException
- if a problem occurred in the client-side business objectspublic static void delete(Session session, RiskMatrixScore[] riskmatrixscores) throws ServerException, NetworkException, BusinessObjectException
session
- the Session objectriskmatrixscores
- array of RiskMatrixScore objects to delete
ServerException
- if a problem occurred on the server-side
NetworkException
- if a problem occurred in the network layer
BusinessObjectException
- if a problem occurred in the client-side business objects
|
Primavera Integration API Release 8 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |