class ModelEv[M] extends AnyRef
evidence for a domain model.
the model class M
is intended to be a phantom class, available in the root package of the
package structure where the domain model elements are defined. the ModelEv
is intended to be
implicitly available within the domain model's companion object, but private to that
package. this comes for free if you use the longevity.model.annotations.domainModel
annotation on your model class M
. the model evidence should be package private to prevent the
introduction of any persistent classes that are not discoverable by the ModelType
, whose
default behavior is to find persistent classes in the domain model's package and sub-packages.
- M
the model
- Annotations
- @implicitNotFound( ... )
- Source
- ModelEv.scala
- See also
longevity.model.annotations.domainModel
longevity.model.ModelType
- Alphabetic
- By Inheritance
- ModelEv
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ModelEv()(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[M])
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (ModelEv[M], B)
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- def ensuring(cond: (ModelEv[M]) ⇒ Boolean, msg: ⇒ Any): ModelEv[M]
- def ensuring(cond: (ModelEv[M]) ⇒ Boolean): ModelEv[M]
- def ensuring(cond: Boolean, msg: ⇒ Any): ModelEv[M]
- def ensuring(cond: Boolean): ModelEv[M]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @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
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- def →[B](y: B): (ModelEv[M], B)