// Generated by data binding compiler. Do not edit!
package com.toughra.ustadmobile.databinding;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.databinding.Bindable;
import androidx.databinding.DataBindingUtil;
import androidx.databinding.ViewDataBinding;
import com.google.android.material.textfield.TextInputEditText;
import com.google.android.material.textfield.TextInputLayout;
import com.toughra.ustadmobile.R;
import com.ustadmobile.lib.db.entities.ClazzAssignmentWithCourseBlock;
import com.ustadmobile.lib.db.entities.CourseAssignmentMark;
import com.ustadmobile.port.android.view.ClazzAssignmentDetailStudentProgressFragmentEventHandler;
import java.lang.Deprecated;
import java.lang.Object;

public abstract class ItemMarkFileSubmissionBinding extends ViewDataBinding {
  @NonNull
  public final TextInputEditText markFileSubmissionMark;

  @NonNull
  public final Button markFileSubmissionSubmitGrade;

  @NonNull
  public final Button markFileSubmissionSubmitGradeAndNext;

  @NonNull
  public final TextInputLayout markFileSubmissionTextInput;

  @Bindable
  protected ClazzAssignmentWithCourseBlock mAssignment;

  @Bindable
  protected CourseAssignmentMark mMark;

  @Bindable
  protected String mErrorText;

  @Bindable
  protected Boolean mMarkNextStudentVisible;

  @Bindable
  protected Boolean mMarkStudentVisible;

  @Bindable
  protected ClazzAssignmentDetailStudentProgressFragmentEventHandler mEventHandler;

  protected ItemMarkFileSubmissionBinding(Object _bindingComponent, View _root,
      int _localFieldCount, TextInputEditText markFileSubmissionMark,
      Button markFileSubmissionSubmitGrade, Button markFileSubmissionSubmitGradeAndNext,
      TextInputLayout markFileSubmissionTextInput) {
    super(_bindingComponent, _root, _localFieldCount);
    this.markFileSubmissionMark = markFileSubmissionMark;
    this.markFileSubmissionSubmitGrade = markFileSubmissionSubmitGrade;
    this.markFileSubmissionSubmitGradeAndNext = markFileSubmissionSubmitGradeAndNext;
    this.markFileSubmissionTextInput = markFileSubmissionTextInput;
  }

  public abstract void setAssignment(@Nullable ClazzAssignmentWithCourseBlock assignment);

  @Nullable
  public ClazzAssignmentWithCourseBlock getAssignment() {
    return mAssignment;
  }

  public abstract void setMark(@Nullable CourseAssignmentMark mark);

  @Nullable
  public CourseAssignmentMark getMark() {
    return mMark;
  }

  public abstract void setErrorText(@Nullable String errorText);

  @Nullable
  public String getErrorText() {
    return mErrorText;
  }

  public abstract void setMarkNextStudentVisible(@Nullable Boolean markNextStudentVisible);

  @Nullable
  public Boolean getMarkNextStudentVisible() {
    return mMarkNextStudentVisible;
  }

  public abstract void setMarkStudentVisible(@Nullable Boolean markStudentVisible);

  @Nullable
  public Boolean getMarkStudentVisible() {
    return mMarkStudentVisible;
  }

  public abstract void setEventHandler(
      @Nullable ClazzAssignmentDetailStudentProgressFragmentEventHandler eventHandler);

  @Nullable
  public ClazzAssignmentDetailStudentProgressFragmentEventHandler getEventHandler() {
    return mEventHandler;
  }

  @NonNull
  public static ItemMarkFileSubmissionBinding inflate(@NonNull LayoutInflater inflater,
      @Nullable ViewGroup root, boolean attachToRoot) {
    return inflate(inflater, root, attachToRoot, DataBindingUtil.getDefaultComponent());
  }

  /**
   * This method receives DataBindingComponent instance as type Object instead of
   * type DataBindingComponent to avoid causing too many compilation errors if
   * compilation fails for another reason.
   * https://issuetracker.google.com/issues/116541301
   * @Deprecated Use DataBindingUtil.inflate(inflater, R.layout.item_mark_file_submission, root, attachToRoot, component)
   */
  @NonNull
  @Deprecated
  public static ItemMarkFileSubmissionBinding inflate(@NonNull LayoutInflater inflater,
      @Nullable ViewGroup root, boolean attachToRoot, @Nullable Object component) {
    return ViewDataBinding.<ItemMarkFileSubmissionBinding>inflateInternal(inflater, R.layout.item_mark_file_submission, root, attachToRoot, component);
  }

  @NonNull
  public static ItemMarkFileSubmissionBinding inflate(@NonNull LayoutInflater inflater) {
    return inflate(inflater, DataBindingUtil.getDefaultComponent());
  }

  /**
   * This method receives DataBindingComponent instance as type Object instead of
   * type DataBindingComponent to avoid causing too many compilation errors if
   * compilation fails for another reason.
   * https://issuetracker.google.com/issues/116541301
   * @Deprecated Use DataBindingUtil.inflate(inflater, R.layout.item_mark_file_submission, null, false, component)
   */
  @NonNull
  @Deprecated
  public static ItemMarkFileSubmissionBinding inflate(@NonNull LayoutInflater inflater,
      @Nullable Object component) {
    return ViewDataBinding.<ItemMarkFileSubmissionBinding>inflateInternal(inflater, R.layout.item_mark_file_submission, null, false, component);
  }

  public static ItemMarkFileSubmissionBinding bind(@NonNull View view) {
    return bind(view, DataBindingUtil.getDefaultComponent());
  }

  /**
   * This method receives DataBindingComponent instance as type Object instead of
   * type DataBindingComponent to avoid causing too many compilation errors if
   * compilation fails for another reason.
   * https://issuetracker.google.com/issues/116541301
   * @Deprecated Use DataBindingUtil.bind(view, component)
   */
  @Deprecated
  public static ItemMarkFileSubmissionBinding bind(@NonNull View view, @Nullable Object component) {
    return (ItemMarkFileSubmissionBinding)bind(component, view, R.layout.item_mark_file_submission);
  }
}
