diff options
Diffstat (limited to 'src/main/scala/xyz/driver/common/domain/FuzzyValue.scala')
-rw-r--r-- | src/main/scala/xyz/driver/common/domain/FuzzyValue.scala | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/main/scala/xyz/driver/common/domain/FuzzyValue.scala b/src/main/scala/xyz/driver/common/domain/FuzzyValue.scala deleted file mode 100644 index 584f8f7..0000000 --- a/src/main/scala/xyz/driver/common/domain/FuzzyValue.scala +++ /dev/null @@ -1,17 +0,0 @@ -package xyz.driver.common.domain - -import xyz.driver.common.logging._ -import xyz.driver.common.utils.Utils - -sealed trait FuzzyValue -object FuzzyValue { - case object Yes extends FuzzyValue - case object No extends FuzzyValue - case object Maybe extends FuzzyValue - - val All: Set[FuzzyValue] = Set(Yes, No, Maybe) - - def fromBoolean(x: Boolean): FuzzyValue = if (x) Yes else No - - implicit def toPhiString(x: FuzzyValue): PhiString = Unsafe(Utils.getClassSimpleName(x.getClass)) -} |