|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.cysols.iodef.IElement
com.cysols.iodef.element.Assessment
public class Assessment
This class is value object which represents Assessment element.
| Field Summary |
|---|
| Fields inherited from class com.cysols.iodef.IElement |
|---|
attributeList, elementcreator, elementsMap, myName |
| Method Summary | |
|---|---|
void |
addImpact(Impact impact)
Adds the specified impact element. |
IElement |
addImpactValue(String impact)
Adds the specified value to Impact elment. |
void |
addMonetaryImpactValue(String value,
String currency)
Adds the specified value to MonetaryImpact elment. |
void |
addMonetaryImpactValue(String value,
String severity,
String currency)
Adds the specified value to MonetaryImpact elment. |
IElement |
addTimeImpactValue(String value,
String unit)
Adds the specified value to TimeImpact elment. |
String |
getConfidenceRating()
Returns the reting value of Confidence element. |
Impact[] |
getImpacts()
Returns the array of Impact element. |
String[] |
getImpactValues()
Returns the array of impact value. |
String[] |
getMonetaryImpactValues()
Returns the array of monetary impact value. |
String |
getRestriction()
Returns the restriction value. |
String[] |
getTimeImpactValues()
Returns the array of time impact value. |
void |
setConfidenceRating(String value)
Sets the specified value to rating of Confidence. |
void |
setRestriction(String value)
Sets the specified restriction value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void setRestriction(String value)
value - the restriction valuepublic String getRestriction()
public IElement addImpactValue(String impact)
impact - the impact valuepublic String[] getImpactValues()
public void addImpact(Impact impact)
impact - the impact elementpublic Impact[] getImpacts()
public IElement addTimeImpactValue(String value,
String unit)
value - the time impact valueunit - the unit value as attrivute of TimeImpct element.public String[] getTimeImpactValues()
public void addMonetaryImpactValue(String value,
String currency)
value - the monetary impact valuecurrency - the currency value of attrivute of MonetaryImpact element.
public void addMonetaryImpactValue(String value,
String severity,
String currency)
value - the monetary impact valueseverity - the severity value of attribute of MonetaryImpact element.currency - the currency value of attribute of MonetaryImpact element.public String[] getMonetaryImpactValues()
public void setConfidenceRating(String value)
value - the reting valuepublic String getConfidenceRating()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||