HasField

trait HasField
class Object
trait Matchable
class Any

Value members

Abstract methods

def getField(name: String): Option[Field]

Returns the field of a given name, None if a field with the given name does not exist

Returns the field of a given name, None if a field with the given name does not exist

Concrete methods

def field(name: String): Field

Returns the field of a given name.

Returns the field of a given name.

Throws:
FieldNotFoundException

if a field with the given name does not exist