DataAdapter

com.sfxcode.sapphire.data.DataAdapter
See theDataAdapter companion object
class DataAdapter[T <: AnyRef](val wrappedData: T, typeHints: List[FieldMeta]) extends ValueHelper with Map[String, Any]

Attributes

Companion:
object
Graph
Supertypes
trait Map[String, Any]
trait LazyLogging
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def apply(key: String): Any
override def clear(): Unit

Attributes

Definition Classes
Map
def clearChanges(): Unit
override def containsKey(key: Any): Boolean

Attributes

Definition Classes
Map
override def containsValue(value: Any): Boolean

Attributes

Definition Classes
Map
def data: AnyRef
override def entrySet(): Set[Entry[String, Any]]

Attributes

Definition Classes
Map
override def get(key: Any): Any

Attributes

Definition Classes
Map
def getValueForExpression[T](expression: String): Option[T]
def hasChanges(): Boolean
override def isEmpty: Boolean

Attributes

Definition Classes
Map
override def keySet(): Set[String]

Attributes

Definition Classes
Map
def oldValue(key: String): Any
def preserveChanges(key: String, oldValue: Any, newValue: Any): Unit
override def put(key: String, value: Any): Any

Attributes

Definition Classes
Map
override def putAll(map: Map[_ <: String, _]): Unit

Attributes

Definition Classes
Map
override def remove(key: Any): Any

Attributes

Definition Classes
Map
def revert(): Unit
override def size(): Int

Attributes

Definition Classes
Map
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns:

a string representation of the object.

Definition Classes
Any
def updateValue(key: String, valueToUpdate: Any): Unit
def updateValues(map: Map[String, Any]): Unit
def value(key: String): Any
override def values(): Collection[Any]

Attributes

Definition Classes
Map

Inherited methods

def booleanOption(key: String, defaultValue: Option[Boolean]): Option[Boolean]

Attributes

Inherited from:
ValueHelper
def booleanValue(key: String): Boolean

Attributes

Inherited from:
ValueHelper
def compute(x$0: String, x$1: BiFunction[_ >: String <: <FromJavaObject>, _ >: Any <: <FromJavaObject>, _]): V

Attributes

Inherited from:
Map
def computeIfAbsent(x$0: String, x$1: Function[_ >: String <: <FromJavaObject>, _]): V

Attributes

Inherited from:
Map
def computeIfPresent(x$0: String, x$1: BiFunction[_ >: String <: <FromJavaObject>, _ >: Any <: <FromJavaObject>, _]): V

Attributes

Inherited from:
Map
def dateOption(key: String, defaultValue: Option[Date]): Option[Date]

Attributes

Inherited from:
ValueHelper
def dateValue(key: String): Date

Attributes

Inherited from:
ValueHelper
def doubleOption(key: String, defaultValue: Option[Double]): Option[Double]

Attributes

Inherited from:
ValueHelper
def doubleValue(key: String): Double

Attributes

Inherited from:
ValueHelper
def floatOption(key: String, defaultValue: Option[Float]): Option[Float]

Attributes

Inherited from:
ValueHelper
def floatValue(key: String): Float

Attributes

Inherited from:
ValueHelper
def forEach(x$0: BiConsumer[_ >: String <: <FromJavaObject>, _ >: Any <: <FromJavaObject>]): Unit

Attributes

Inherited from:
Map
def getOrDefault(x$0: <FromJavaObject>, x$1: Any): V

Attributes

Inherited from:
Map
def intOption(key: String, defaultValue: Option[Int]): Option[Int]

Attributes

Inherited from:
ValueHelper
def intValue(key: String): Int

Attributes

Inherited from:
ValueHelper
def localDateOption(key: String, defaultValue: Option[LocalDate]): Option[LocalDate]

Attributes

Inherited from:
ValueHelper
def localDateTimeOption(key: String, defaultValue: Option[LocalDateTime]): Option[LocalDateTime]

Attributes

Inherited from:
ValueHelper
def localDateTimeValue(key: String): LocalDateTime

Attributes

Inherited from:
ValueHelper
def localDateValue(key: String): LocalDate

Attributes

Inherited from:
ValueHelper
def longOption(key: String, defaultValue: Option[Long]): Option[Long]

Attributes

Inherited from:
ValueHelper
def longValue(key: String): Long

Attributes

Inherited from:
ValueHelper
def merge(x$0: String, x$1: Any, x$2: BiFunction[_ >: Any <: <FromJavaObject>, _ >: Any <: <FromJavaObject>, _]): V

Attributes

Inherited from:
Map
def putIfAbsent(x$0: String, x$1: Any): V

Attributes

Inherited from:
Map
def remove(x$0: <FromJavaObject>, x$1: <FromJavaObject>): Boolean

Attributes

Inherited from:
Map
def replace(x$0: String, x$1: Any): V

Attributes

Inherited from:
Map
def replace(x$0: String, x$1: Any, x$2: Any): Boolean

Attributes

Inherited from:
Map
def replaceAll(x$0: BiFunction[_ >: String <: <FromJavaObject>, _ >: Any <: <FromJavaObject>, _]): Unit

Attributes

Inherited from:
Map
def stringOption(key: String, defaultValue: Option[String]): Option[String]

Attributes

Inherited from:
ValueHelper
def stringValue(key: String): String

Attributes

Inherited from:
ValueHelper
def valueOption(key: String, defaultValue: Option[Any]): Option[Any]

Attributes

Inherited from:
ValueHelper

Concrete fields

val changeManagementMap: HashMap[String, Any]
val childrenMap: HashMap[String, DataAdapter[AnyRef]]
var parentDataAdapter: Option[DataAdapter[AnyRef]]
val reflectedFields: Map[String, Field]
var trackChanges: Boolean

Inherited fields

lazy protected val logger: Logger

Attributes

Inherited from:
LazyLogging