Record Class RequestConfig
java.lang.Object
java.lang.Record
cz.zcu.fav.kiv.mjakubas.saf.config.configs.RequestConfig
public record RequestConfig(@NotNull String address, @NotNull Authenticator authenticator)
extends Record
Represents a parsed net config of application and contains all back-end queries definition.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
-
Constructor Summary
ConstructorsConstructorDescriptionRequestConfig
(@NotNull String address, @NotNull Authenticator authenticator) Creates an instance of aRequestConfig
record class. -
Method Summary
Modifier and TypeMethodDescription@NotNull String
address()
Returns the value of theaddress
record component.@NotNull Authenticator
Returns the value of theauthenticator
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
ABSENCE_ENTITIES_QUERY
- See Also:
-
BUILDING_ENTITIES_QUERY
- See Also:
-
CLASSES_ENTITIES_QUERY
- See Also:
-
EVALUATIONS_ENTITIES_QUERY
- See Also:
-
ROOMS_ENTITIES_QUERY
- See Also:
-
SCHEDULEACTIONS_ENTITIES_QUERY
- See Also:
-
SCHEDULEACTIONDATES_ENTITIES_QUERY
- See Also:
-
SCHOOLDAYS_ENTITIES_QUERY
- See Also:
-
SCHOOLHOURS_ENTITIES_QUERY
- See Also:
-
STUDENTS_ENTITIES_QUERY
- See Also:
-
STUDENTSSUBJECTS_ENTITIES_QUERY
- See Also:
-
SUBJECTS_ENTITIES_QUERY
- See Also:
-
SUBJECTLISTS_ENTITIES_QUERY
- See Also:
-
TEACHERS_ENTITIES_QUERY
- See Also:
-
SCHEDULEACTION_QUERY
- See Also:
-
ID_QUERY
- See Also:
-
STUDENT_QUERY
- See Also:
-
TEACHER_QUERY
- See Also:
-
SUBJECT_QUERY
- See Also:
-
NAME_QUERY
- See Also:
-
SCHEDULEACTIONDATE_QUERY
- See Also:
-
ROOM_QUERY
- See Also:
-
STUDENTSSUBJECT_QUERY
- See Also:
-
CAPACITY_QUERY
- See Also:
-
BUILDING_QUERY
- See Also:
-
SUBSTITUTION_QUERY
- See Also:
-
DATE_QUERY
- See Also:
-
SUBJECTLIST_QUERY
- See Also:
-
CLASS_QUERY
- See Also:
-
ADD_QUERY
- See Also:
-
REMOVE_QUERY
- See Also:
-
AVERAGE_QUERY
- See Also:
-
-
Constructor Details
-
RequestConfig
public RequestConfig(@NotNull @NotNull String address, @NotNull @NotNull Authenticator authenticator) Creates an instance of aRequestConfig
record class.- Parameters:
address
- the value for theaddress
record componentauthenticator
- the value for theauthenticator
record component
-
-
Method Details
-
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)
. -
address
Returns the value of theaddress
record component.- Returns:
- the value of the
address
record component
-
authenticator
Returns the value of theauthenticator
record component.- Returns:
- the value of the
authenticator
record component
-