com.mmm.cms.homehealth
Class ScoringPoints

java.lang.Object
  extended by com.mmm.cms.homehealth.ScoringPoints
All Implemented Interfaces:
ScoringPointsIF

public class ScoringPoints
extends java.lang.Object
implements ScoringPointsIF

Holds the array integers representing the scores of a set of scoring equations. The number of equations may differ depending on the Scroring Model that created it. The main use is to provide scoring values within the scoring models.


Constructor Summary
ScoringPoints(int count)
          Constructor that creates the integer array with a specific size
 
Method Summary
 int[] getScores()
          gets an array of int for scores
 void setScoreAt(int idx, int value)
          Sets the scoring equation at a specific position within the array
 void setScores(int[] scores)
          Sets the array of integers representing the scoring equations
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScoringPoints

public ScoringPoints(int count)
Constructor that creates the integer array with a specific size

Parameters:
count -
Method Detail

getScores

public int[] getScores()
gets an array of int for scores

Specified by:
getScores in interface ScoringPointsIF
Returns:
an array of integers representing scoring equations. The number of equations depends on the scoring model that created this.

setScores

public void setScores(int[] scores)
Sets the array of integers representing the scoring equations

Specified by:
setScores in interface ScoringPointsIF
Parameters:
scores -

setScoreAt

public void setScoreAt(int idx,
                       int value)
Sets the scoring equation at a specific position within the array

Specified by:
setScoreAt in interface ScoringPointsIF
Parameters:
idx -
value -