Package csw.params.core.models
Class Choice
- java.lang.Object
-
- csw.params.core.models.Choice
-
- All Implemented Interfaces:
java.io.Serializable,scala.Equals,scala.Product
public class Choice extends java.lang.Object implements scala.Product, java.io.SerializableRepresents a single choiceparam: name of the choice
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Choice(java.lang.String name)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringname()static ChoicetoChoice(java.lang.String name)Create a Choice from given namejava.lang.StringtoString()
-
-
-
Method Detail
-
toChoice
public static 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
-
name
public java.lang.String name()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-