object Herd

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

Type Members

  1. case class Herd(herdIdentifier: Long, name: Option[String], sourceId: Option[Long], dataProviderGuid: Option[String], street: Option[String], number: Option[String], registrationNumber: Option[String], zip: Option[String], city: Option[String], state: Option[String], country: Option[String], countryCode: Option[String], latitude: Option[Float], longitude: Option[Float], email: Option[String], mobilePhoneNumber: Option[String], telephoneNumber: Option[String], cows: List[Cow] = List.empty) extends Product with Serializable

    Represents a herd; group of cattle at the same geospatial location, one farm can therefore have multiple herds depending on if they house cattle at multiple locations.

    Represents a herd; group of cattle at the same geospatial location, one farm can therefore have multiple herds depending on if they house cattle at multiple locations. herdIdentifier is mandatory to fill in

    herdIdentifier

    Unique identifier for the herd from the MMMooOgle system.

    name

    Name of the herd as given by the farmer.

    sourceId

    Unique identifier for the data source from the MMMooOgle system.

    dataProviderGuid

    Globally Unique Identifier for the data provider.

    street

    Street name of location herd.

    number

    House number of location herd.

    registrationNumber

    Registration number of the herd as provided by the government, e.g. UBN in the Netherlands.

    zip

    Zip code/postal code of location herd.

    city

    City name of location herd.

    state

    State name of location herd.

    country

    Country name of location herd.

    countryCode

    Alpha-2-code of ISO 3166-1 for the country, see https://en.wikipedia.org/wiki/ISO_3166-1.

    latitude

    A geographic coordinate that specifies the north-south position of the herd on the surface of the Earth.

    longitude

    A geographic coordinate that specifies the east-west position of the herd on the surface of the Earth.

    email

    Email address of the farmer.

    mobilePhoneNumber

    Mobile phone number of the farmer.

    telephoneNumber

    Telephone number of the farmer.

    cows

    List of all the cows that are in the herd

    Version

    1.0

    To do

    Add more functionality.

    See also

    See https:// for more information.

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. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  9. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  13. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  14. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  15. def toString(): String
    Definition Classes
    AnyRef → Any
  16. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  17. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  18. 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