DLESE Tools
v1.6.0

org.dlese.dpc.schemedit.standards.asn
Class GradeRange

java.lang.Object
  extended by org.dlese.dpc.schemedit.standards.asn.GradeRange
Direct Known Subclasses:
GradeRangeHelper.GradeRangeItem

public class GradeRange
extends Object

Bean to store the min and max grade levels associated with a controlled vocab expressing a grade range.

Author:
Jonathan Ostwald

Constructor Summary
GradeRange(int grade)
          Constructor for the GradeRangeItem object
GradeRange(int minGrade, int maxGrade)
          Constructor for the GradeRangeItem object
 
Method Summary
 boolean contains(GradeRange other)
          Determines if the extents of this GradeRange contain those of provided gradeRange.
 int getMaxGrade()
          Gets the maxGrade attribute of the GradeRange object
 int getMinGrade()
          Gets the minGrade attribute of the GradeRange object
 void setMaxGrade(int grade)
          Sets the maxGrade attribute of the GradeRange object
 void setMinGrade(int grade)
          Sets the minGrade attribute of the GradeRange object
 String toStr()
          NOT YET DOCUMENTED
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GradeRange

public GradeRange(int grade)
Constructor for the GradeRangeItem object

Parameters:
grade - NOT YET DOCUMENTED

GradeRange

public GradeRange(int minGrade,
                  int maxGrade)
Constructor for the GradeRangeItem object

Parameters:
minGrade - NOT YET DOCUMENTED
maxGrade - NOT YET DOCUMENTED
Method Detail

contains

public boolean contains(GradeRange other)
Determines if the extents of this GradeRange contain those of provided gradeRange.

Parameters:
other - other GradeRange
Returns:
true if this GradeRange contains other

setMinGrade

public void setMinGrade(int grade)
Sets the minGrade attribute of the GradeRange object

Parameters:
grade - The new minGrade value

getMinGrade

public int getMinGrade()
Gets the minGrade attribute of the GradeRange object

Returns:
The minGrade value

setMaxGrade

public void setMaxGrade(int grade)
Sets the maxGrade attribute of the GradeRange object

Parameters:
grade - The new maxGrade value

getMaxGrade

public int getMaxGrade()
Gets the maxGrade attribute of the GradeRange object

Returns:
The maxGrade value

toStr

public String toStr()
NOT YET DOCUMENTED

Returns:
NOT YET DOCUMENTED

DLESE Tools
v1.6.0