public class ATDMStrategy
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private float[] |
adjFactors |
private static java.lang.String[] |
categoriesString |
private java.lang.String |
category |
private java.lang.String |
description |
private int |
id |
private int |
incidentDurationReduction |
private static long |
serialVersionUID |
Constructor and Description |
---|
ATDMStrategy(int id,
java.lang.String description) |
ATDMStrategy(int id,
java.lang.String description,
int categoryType) |
Modifier and Type | Method and Description |
---|---|
ATDMStrategy |
clone() |
float[] |
getAdjFactor() |
float |
getAdjFactor(int afIdx) |
java.lang.String |
getCategory() |
java.lang.String |
getDescription() |
int |
getId() |
int |
getIncidentDurationReduction() |
void |
setAdjFactor(float newVal,
int afIdx) |
void |
setAdjFactors(float[] adjFactors) |
void |
setCategory(int categoryIdx) |
void |
setCategory(java.lang.String category) |
void |
setDescription(java.lang.String description) |
void |
setId(int id) |
void |
setIncidentDurationReduction(int incidentDurationReduction) |
private java.lang.String description
private int id
private java.lang.String category
private float[] adjFactors
private int incidentDurationReduction
private static final long serialVersionUID
private static final java.lang.String[] categoriesString
public ATDMStrategy(int id, java.lang.String description)
id
- description
- public ATDMStrategy(int id, java.lang.String description, int categoryType)
id
- description
- categoryType
- public java.lang.String getDescription()
public int getId()
public java.lang.String getCategory()
public float[] getAdjFactor()
public float getAdjFactor(int afIdx)
afIdx
- public int getIncidentDurationReduction()
public void setDescription(java.lang.String description)
description
- public void setId(int id)
id
- public void setCategory(java.lang.String category)
category
- public void setCategory(int categoryIdx)
categoryIdx
- public void setAdjFactors(float[] adjFactors)
adjFactors
- public void setAdjFactor(float newVal, int afIdx)
newVal
- afIdx
- public void setIncidentDurationReduction(int incidentDurationReduction)
incidentDurationReduction
- public ATDMStrategy clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException