com
.
github
.
vickumar1981
.
svalidate
.
example
model
package
model
Linear Supertypes
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
model
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Type Members
case class
Address
(
street:
String
,
city:
String
,
state:
String
,
zipCode:
String
)
extends
Product
with
Serializable
case class
ContactSettings
(
hasFacebookContacts:
Option
[
Boolean
] =
Some(true)
,
hasTwitterContacts:
Option
[
Boolean
] =
Some(true)
)
extends
Product
with
Serializable
case class
Contacts
(
facebook:
Option
[
List
[
String
]] =
None
,
twitter:
Option
[
List
[
String
]] =
None
)
extends
Product
with
Serializable
case class
Person
(
firstName:
String
,
lastName:
String
,
hasContactInfo:
Boolean
,
address:
Option
[
Address
] =
None
,
phone:
Option
[
String
] =
None
)
extends
Product
with
Serializable
Value Members
implicit
object
AddressValidator
extends
Validatable
[
Address
]
implicit
object
ContactInfoValidator
extends
ValidatableWith
[
Contacts
,
ContactSettings
]
implicit
object
PersonValidator
extends
Validatable
[
Person
]
Inherited from
AnyRef
Inherited from
Any
Ungrouped