object Herd
- Source
- Herd.scala
- Alphabetic
- By Inheritance
- Herd
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- 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 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
- 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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)