Package csw.params.core.models
Class Choice$
- java.lang.Object
-
- csw.params.core.models.Choice$
-
- All Implemented Interfaces:
java.io.Serializable
public class Choice$ extends java.lang.Object implements java.io.Serializable
Provides implicit conversion from String to Choice- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Choice$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Choice
toChoice(java.lang.String name)
Create a Choice from given name
-
-
-
Field Detail
-
MODULE$
public static final Choice$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
toChoice
public Choice toChoice(java.lang.String name)
Create a Choice from given name- Parameters:
name
- represents the name of the Choice- Returns:
- an instance of Choice
-
-