Class

json

FieldAccessor

Related Doc: package json

Permalink

abstract class FieldAccessor[T, U] extends Product2[Class[T], String]

Base accessor class for field accessors in objects (seen via case class macro generally).

The contains extended run-time info such as field name, field defaults, type access etc.

T

type of class that owns the fields

U

type of the field

Linear Supertypes
Product2[Class[T], String], Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. FieldAccessor
  2. Product2
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FieldAccessor()

    Permalink

Type Members

  1. type FieldType = U

    Permalink

Abstract Value Members

  1. abstract def annos: Set[json.FieldAccessorAnnotation]

    Permalink

    Contains any field annotations found (extending FieldAccessorAnnotation)

  2. abstract def defOpt: Option[U]

    Permalink

    Get raw field data for default if any

  3. abstract def fieldAccessor: JSONAccessor[U]

    Permalink

    Accessor for field type

  4. abstract def getFrom(obj: T): U

    Permalink

    Get the raw field data from an object of type T

  5. abstract def name: String

    Permalink

    Name after translating via annotations if any

  6. abstract def objClass: Class[T]

    Permalink

    Class of actual object that owns the field

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def _1: Class[T]

    Permalink
    Definition Classes
    FieldAccessor → Product2
  5. def _2: String

    Permalink
    Definition Classes
    FieldAccessor → Product2
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def canEqual(that: Any): Boolean

    Permalink
    Definition Classes
    FieldAccessor → Equals
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def default: Any

    Permalink

    Get raw default or exception if none

  10. def defaultJs: JValue

    Permalink

    Gets actual JValue defualt value if any otherwise JUndefined

  11. def describe: JObject

    Permalink
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(that: Any): Boolean

    Permalink
    Definition Classes
    FieldAccessor → Equals → AnyRef → Any
  14. def fieldClass: Class[_]

    Permalink

    Class of field type

  15. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. def getJValue(obj: T): JValue

    Permalink

    Gets actual JValue for a field from an object of type T

  18. def hasDefault: Boolean

    Permalink
  19. def hashCode(): Int

    Permalink
    Definition Classes
    FieldAccessor → AnyRef → Any
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. def productArity: Int

    Permalink
    Definition Classes
    Product2 → Product
  25. def productElement(n: Int): Any

    Permalink
    Definition Classes
    Product2 → Product
    Annotations
    @throws( ... )
  26. def productIterator: Iterator[Any]

    Permalink
    Definition Classes
    Product
  27. def productPrefix: String

    Permalink
    Definition Classes
    FieldAccessor → Product
  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  29. def toString(): String

    Permalink
    Definition Classes
    FieldAccessor → AnyRef → Any
  30. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Product2[Class[T], String]

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped