c
uk.gov.hmrc.apiplatform.modules.organisations.submissions.domain.models
Submission
Companion object Submission
case class Submission(id: SubmissionId, organisationId: Option[OrganisationId], startedOn: Instant, startedBy: UserId, groups: NonEmptyList[GroupOfQuestionnaires], questionIdsOfInterest: QuestionIdsOfInterest, instances: NonEmptyList[Instance], context: Context) extends Product with Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Submission
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new Submission(id: SubmissionId, organisationId: Option[OrganisationId], startedOn: Instant, startedBy: UserId, groups: NonEmptyList[GroupOfQuestionnaires], questionIdsOfInterest: QuestionIdsOfInterest, instances: NonEmptyList[Instance], context: Context)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- lazy val allQuestionnaires: NonEmptyList[Questionnaire]
- lazy val allQuestions: NonEmptyList[Question]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val context: Context
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def findQuestion(questionId: Id): Option[Question]
- def findQuestionnaireContaining(questionId: Id): Option[Questionnaire]
- def getAnswerToQuestionOfInterest(key: String): ActualAnswer
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getQuestionOfInterest(key: String): Option[Id]
- val groups: NonEmptyList[GroupOfQuestionnaires]
- val id: SubmissionId
- val instances: NonEmptyList[Instance]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- lazy val latestInstance: Instance
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val organisationId: Option[OrganisationId]
- lazy val organisationName: String
- lazy val organisationType: Option[OrganisationType]
- lazy val organisationTypeAsText: String
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val questionIdsOfInterest: QuestionIdsOfInterest
- val startedBy: UserId
- val startedOn: Instant
- lazy val status: Status
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)