case class BreedPart(breed: String, proportion: Double) extends Product with Serializable

* A class to represent the Breed of a cow, which is always expressed as %, often in eights. The cow is eg 100% HOL (8/8), or 50% HOL (4/8) and 50% JER (4/8), or 50% HOL and 25% JER and 25% AAN.

Breed

BreedCode3

Abondance

ABO

Angus

AAN

Aubrac

AUB

Ayrshire

RDC

Bazadais

BZD

Belgian Blue

BBL

Blonde d'Aquitaine

BAQ

Beef Shorthorn

BSH

Beefmaster

BMA

Belgium Red & White

BER

Braford

BFD

Brahman

BRM

Brangus

BRG

Brand Rood

BRR

British Frisian

BRF

Brown Swiss

BSW

Chianina

CIA

Charolais

CHA

Dairy Shorthorn

MSH

Dutch Frisian

DFR

Eringer

ERI

Meuse Rhine Yssel

MRY

Dexter

DXT

Devon

DEV

Dikbil

DIK

Eastern Flanders White Red

BWR

European Red Dairy Breed

RDC

Gascon

GAS

Glan Donnersberg

GDB

Galloway

GLW

Guernsey

GUE

Gelbvieh

GVH

Groninger

GRO

Hereford

HER

Highland Cattle

HLA

Hinterwälder

HWD

Holstein

HOL

Holstein, Red and White

RED

Jersey

JER

Kerry

KER

Dutch Belted-Lakenvelder

DBE

Limousin

LIM

Lincoln Reds

LIR

Longhorn

LON

Luing

LUI

Rouge des Pres

RDP

Murray-Grey

MGR

Montbéliard

MON

Marchigiana

MAR

Maremmana

MAE

Nellore

NEL

Normandy

NMD

Norwegian Red

RDC

Parthenaise

PAR

Polish White Backed

PBG

Piedmont

PIE

Pinzgau

PIN

Polish Black and White

PZB

Polish Red and White

PZR

Red Angus

RAN

Romagnola

ROM

Salers

SAL

Santa Gertrudis

SGE

South Devon

SDE

Sussex

SUS

Simmental/Fleckvieh

SIM

Speckle Park

SPK

Stabiliser

STA

Swedish Red

RDC

Sahiwal

SAH

Tarentaise

TAR

Tux

TUX

Tyrol Grey

TGR

Verbeter Roodbont

VRB

Wagyu

WAG

Belgium Blue Mixte

WBM

Welsh Black

WBL

Western Flanders Meat

BRV

West-Vlaams Rood

BRD

Witrik

WRI

breed

The name of the breed (e.g., "HOL", "JER", "AAN").

proportion

The proportion of the breed of the cow (e.g., 1.0 for 100% HOL, 0.5 or 4/8 for 50% HOL).

Source
Enums.scala
Version

1.0

See also

See https://interbull.org/ib/icarbreedcodes

Linear Supertypes
Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BreedPart
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new BreedPart(breed: String, proportion: Double)

    breed

    The name of the breed (e.g., "HOL", "JER", "AAN").

    proportion

    The proportion of the breed of the cow (e.g., 1.0 for 100% HOL, 0.5 or 4/8 for 50% HOL).

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. val breed: String
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  9. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  10. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  12. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  13. def productElementNames: Iterator[String]
    Definition Classes
    Product
  14. val proportion: Double
  15. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  16. def toString(): String
    Definition Classes
    BreedPart → AnyRef → Any
  17. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  18. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  19. 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 Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped