trait ValidationSuiteChecker extends MetadataUtils
Trait to provide functions for checking the correctness of a Validation Suite
- Alphabetic
- By Inheritance
- ValidationSuiteChecker
- MetadataUtils
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
castReference[R <: ObjectReference](ref: Option[ObjectReference])(implicit tag: ClassTag[R]): Option[R]
- Attributes
- protected
- Definition Classes
- MetadataUtils
-
def
check(suite: ValidationSuite, validators: Seq[Validator]): Unit
Function to evaluate if a validation suite is correct and able to be executed.
Function to evaluate if a validation suite is correct and able to be executed.
- suite
the validation suite to evaluate
- validators
a list of validators in the validation suite
- Exceptions thrown
MetadataException
Various Metadata Exceptions based on the specific validation rule
-
def
cleanMetadataName(name: String): String
- Attributes
- protected
- Definition Classes
- MetadataUtils
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
generateMetadataName(baseName: String, existingNames: Set[String]): String
- Attributes
- protected
- Definition Classes
- MetadataUtils
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getObjectName(ref: ObjectReference): String
- Attributes
- protected[magpie]
- Definition Classes
- MetadataUtils
-
def
getUserErrorMessage(errMessage: String): String
- Attributes
- protected
- Definition Classes
- MetadataUtils
-
def
getValidatedEntityName(spec: JsValue): String
- Attributes
- protected
- Definition Classes
- MetadataUtils
-
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()
-
def
parseJsonErrors(errors: Seq[(JsPath, Seq[JsonValidationError])]): String
This method can be used to get a user-friendly error message from JsError(errors)
This method can be used to get a user-friendly error message from JsError(errors)
- Definition Classes
- MetadataUtils
-
def
printFullStructureRef(ref: DataStructureReference): String
- Attributes
- protected
- Definition Classes
- MetadataUtils
-
def
printObjectRef(ref: ObjectReference): String
- Attributes
- protected[magpie]
- Definition Classes
- MetadataUtils
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
validateEmail(email: String): Unit
- Attributes
- protected
- Definition Classes
- MetadataUtils
-
def
validateEntityName(name: String): Unit
- Attributes
- protected
- Definition Classes
- MetadataUtils
-
def
validateJsonObject[A](spec: JsValue)(implicit rds: Reads[A]): Future[A]
- Definition Classes
- MetadataUtils
-
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
- @throws( ... ) @native()