Package org.ethelred.kiwiproc.processor
Record Class DAOClassInfo
java.lang.Object
java.lang.Record
org.ethelred.kiwiproc.processor.DAOClassInfo
public record DAOClassInfo(TypeElement element, org.ethelred.kiwiproc.processor.DAOPrism annotation, String packageName, String daoName, List<DAOMethodInfo> methods)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionDAOClassInfo(TypeElement element, org.ethelred.kiwiproc.processor.DAOPrism annotation, String packageName, String daoName, List<DAOMethodInfo> methods) Creates an instance of aDAOClassInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionorg.ethelred.kiwiproc.processor.DAOPrismReturns the value of theannotationrecord component.daoName()Returns the value of thedaoNamerecord component.element()Returns the value of theelementrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.methods()Returns the value of themethodsrecord component.Returns the value of thepackageNamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
DAOClassInfo
public DAOClassInfo(TypeElement element, org.ethelred.kiwiproc.processor.DAOPrism annotation, String packageName, String daoName, List<DAOMethodInfo> methods) Creates an instance of aDAOClassInforecord class.- Parameters:
element- the value for theelementrecord componentannotation- the value for theannotationrecord componentpackageName- the value for thepackageNamerecord componentdaoName- the value for thedaoNamerecord componentmethods- the value for themethodsrecord component
-
-
Method Details
-
dataSourceName
-
className
-
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). -
element
Returns the value of theelementrecord component.- Returns:
- the value of the
elementrecord component
-
annotation
public org.ethelred.kiwiproc.processor.DAOPrism annotation()Returns the value of theannotationrecord component.- Returns:
- the value of the
annotationrecord component
-
packageName
Returns the value of thepackageNamerecord component.- Returns:
- the value of the
packageNamerecord component
-
daoName
Returns the value of thedaoNamerecord component.- Returns:
- the value of the
daoNamerecord component
-
methods
Returns the value of themethodsrecord component.- Returns:
- the value of the
methodsrecord component
-