PrimitiveSchemaBuilder

org.hungerford.generic.schema.PrimitiveSchemaBuilder
See thePrimitiveSchemaBuilder companion object
case class PrimitiveSchemaBuilder[T](nm: Option[String], desc: Option[String], vals: Set[Validator[T]], exs: Seq[T], dep: Boolean)

Attributes

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def description(description: String): PrimitiveSchemaBuilder[T]
def examples(example: T, otherExamples: T*): PrimitiveSchemaBuilder[T]
def examples(examples: Seq[T]): PrimitiveSchemaBuilder[T]
def name(name: String): PrimitiveSchemaBuilder[T]
def validate(validator: Validator[T], otherValidators: Validator[T]*): PrimitiveSchemaBuilder[T]
def validate(validators: Iterable[Validator[T]]): PrimitiveSchemaBuilder[T]

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product