o

com.bovianalytics.dcdm

TimeLineConstructor

object TimeLineConstructor

Source
TimeLineConstructor.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TimeLineConstructor
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  6. def createAbortionEvent(eventDate: LocalDate): TimelineEvent[NoMetadata.type]
  7. def createBirthEvent(eventDate: LocalDate, calvingEaseType: Option[CalvingEaseType], parturitionBirthStatusType: Option[ParturitionBirthStatusType]): TimelineEvent[BirthMetaData]

    Code to create a constructor to create an event with the correct metadata or no metadata, depending on the type of event.

    Code to create a constructor to create an event with the correct metadata or no metadata, depending on the type of event.

    Version

    1.0

    To do

    Add more events

  8. def createBreedingEvent(eventDate: LocalDate, bullIdentifier: Option[Long], bullEarTag: Option[String], bullName: Option[String], bullNumber: Option[Long], inseminationNumber: Option[Int], breedingType: Option[BreedingType], reproductionType: Option[Int], genderSorted: Option[GenderSorting]): TimelineEvent[BreedingMetaData]
  9. def createCalvingEvent(eventDate: LocalDate, calvingEaseType: Option[CalvingEaseType], parturitionBirthStatusType: Option[ParturitionBirthStatusType]): TimelineEvent[CalvingMetaData]
  10. def createDNBdecisionEvent(eventDate: LocalDate): TimelineEvent[NoMetadata.type]
  11. def createDiagnosisEvent(eventDate: LocalDate): TimelineEvent[NoMetadata.type]
  12. def createDryOffEvent(eventDate: LocalDate): TimelineEvent[NoMetadata.type]
  13. def createExitEvent(eventDate: LocalDate, departureType: Option[DepartureType], departureReason: Option[DepartureReason]): TimelineEvent[ExitMetaData]
  14. def createFeedIntakeEvent(eventDate: LocalDate, productId: Option[Int], productCategory: Option[String], feedDryMatterContentUniId: Option[Int], productName: Option[String], intakeProgrammedKg: Option[Float], intakeConsumedKg: Option[Float], feedIntakeSession: Option[Int], startTime: Option[LocalDateTime], endTime: Option[LocalDateTime]): TimelineEvent[FeedIntakeMetaData]
  15. def createMilkMeterYieldsEvent(eventDate: LocalDate, milkingYield: Option[Float], startTime: Option[LocalDateTime], endTime: Option[LocalDateTime], robotID: Option[Int], robotName: Option[String], failure: Option[Boolean], refusal: Option[Boolean], milkingSpeed: Option[Float], bodyWeight: Option[Int], milkingSession: Option[Int]): TimelineEvent[MilkMeterYieldsMetaData]
  16. def createMilkRecordingEvent(eventDate: LocalDate, lactosePercentage: Option[Float], fatPercentage: Option[Float], proteinPercentage: Option[Float], scc: Option[Int], milkingYield: Option[Float]): TimelineEvent[MilkRecordingMetaData]
  17. def createNoMetadataEvent(eventType: EventType, eventDate: LocalDate): TimelineEvent[NoMetadata.type]
  18. def createTreatmentEvent(eventDate: LocalDate): TimelineEvent[NoMetadata.type]
  19. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  21. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  22. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  27. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  28. def toString(): String
    Definition Classes
    AnyRef → Any
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from AnyRef

Inherited from Any

Ungrouped