Record Class CaseCategory
java.lang.Object
java.lang.Record
edu.suffolk.litlab.efsp.tyler.ecfcodes.CaseCategory
- All Implemented Interfaces:
NameAndCode
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncode()Returns the value of thecoderecord component.static StringReturns the value of thedamageamountinitialrecord component.Returns the value of thedamageamountsubsequentrecord component.Returns the value of theecfcasetyperecord component.final booleanIndicates whether some other object is "equal to" this one.static Stringstatic Stringstatic Stringstatic Stringfinal inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.static PreparedStatementprepFilableQueryTiming(Connection conn, String jurisdiction, String courtLocationId, Boolean isInitial) static PreparedStatementprepFileableQuery(Connection conn, String jurisdiction, String courtLocationId) Returns the value of theprocedureremedyinitialrecord component.Returns the value of theprocedureremedysubsequentrecord component.static Stringstatic StringtoString()Returns a string representation of this record class.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface edu.suffolk.litlab.efsp.ecfcodes.NameAndCode
getCode, getName
-
Constructor Details
-
CaseCategory
- Throws:
SQLException
-
CaseCategory
public CaseCategory(String code, String name, String ecfcasetype, String procedureremedyinitial, String procedureremedysubsequent, String damageamountinitial, String damageamountsubsequent) Creates an instance of aCaseCategoryrecord class.- Parameters:
code- the value for thecoderecord componentname- the value for thenamerecord componentecfcasetype- the value for theecfcasetyperecord componentprocedureremedyinitial- the value for theprocedureremedyinitialrecord componentprocedureremedysubsequent- the value for theprocedureremedysubsequentrecord componentdamageamountinitial- the value for thedamageamountinitialrecord componentdamageamountsubsequent- the value for thedamageamountsubsequentrecord component
-
-
Method Details
-
name
Returns the value of thenamerecord component.- Specified by:
namein interfaceNameAndCode- Returns:
- the value of the
namerecord component
-
code
Returns the value of thecoderecord component.- Specified by:
codein interfaceNameAndCode- Returns:
- the value of the
coderecord component
-
prepFilableQueryTiming
public static PreparedStatement prepFilableQueryTiming(Connection conn, String jurisdiction, String courtLocationId, Boolean isInitial) throws SQLException - Throws:
SQLException
-
prepFileableQuery
public static PreparedStatement prepFileableQuery(Connection conn, String jurisdiction, String courtLocationId) throws SQLException - Throws:
SQLException
-
searchCaseCategories
-
courtCoverageCaseCategories
-
retrieveCaseCategoryForName
-
getCaseCategoriesForLoc
-
getFileableCaseCategoryForLoc
-
getFileableCaseCategoryForTiming
-
getCaseCategoryWithCode
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
ecfcasetype
Returns the value of theecfcasetyperecord component.- Returns:
- the value of the
ecfcasetyperecord component
-
procedureremedyinitial
Returns the value of theprocedureremedyinitialrecord component.- Returns:
- the value of the
procedureremedyinitialrecord component
-
procedureremedysubsequent
Returns the value of theprocedureremedysubsequentrecord component.- Returns:
- the value of the
procedureremedysubsequentrecord component
-
damageamountinitial
Returns the value of thedamageamountinitialrecord component.- Returns:
- the value of the
damageamountinitialrecord component
-
damageamountsubsequent
Returns the value of thedamageamountsubsequentrecord component.- Returns:
- the value of the
damageamountsubsequentrecord component
-