Package csw.params.core.models
Class Struct
- java.lang.Object
- 
- csw.params.core.generics.ParameterSetType<Struct>
- 
- csw.params.core.models.Struct
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- scala.Equals,- scala.Product
 
 public class Struct extends ParameterSetType<Struct> implements scala.Product, java.io.Serializable A configuration for setting telescope and instrument parametersparam: paramSet a set of Parameters - See Also:
- Serialized Form
 
- 
- 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Structapply(scala.collection.immutable.Set<Parameter<?>> paramSet)A helper method to create Struct from given paramSetprotected Structcreate(scala.collection.immutable.Set<Parameter<?>> data)Create a new Struct instance when a parameter is added or removedscala.collection.immutable.Set<Parameter<?>>paramSet()Holds the parameters for this parameter setjava.lang.StringtoString()A comma separated string representation of all values this Struct holds- 
Methods inherited from class csw.params.core.generics.ParameterSetTypeadd, apply, contains, dataToString, exists, find, get, get, getStringMap, jFind, jGet, jGet, jGetStringMap, jMissingKeys, jMissingKeys, jParamSet, madd, madd, madd, missingKeys, parameter, remove, remove, size, typeName
 
- 
 
- 
- 
- 
Constructor Detail- 
Structpublic Struct(scala.collection.immutable.Set<Parameter<?>> paramSet) 
 - 
Structpublic Struct() A Java helper to create Struct with empty paramSet
 
- 
 - 
Method Detail- 
applypublic static Struct apply(scala.collection.immutable.Set<Parameter<?>> paramSet) A helper method to create Struct from given paramSet- Parameters:
- paramSet- a set of parameters
- Returns:
- an instance of Struct
 
 - 
paramSetpublic scala.collection.immutable.Set<Parameter<?>> paramSet() Description copied from class:ParameterSetTypeHolds the parameters for this parameter set- Specified by:
- paramSetin class- ParameterSetType<Struct>
- Returns:
- (undocumented)
 
 - 
createprotected Struct create(scala.collection.immutable.Set<Parameter<?>> data) Create a new Struct instance when a parameter is added or removed- Specified by:
- createin class- ParameterSetType<Struct>
- Parameters:
- data- a set of parameters
- Returns:
- a new instance of Struct with provided data
 
 - 
toStringpublic java.lang.String toString() A comma separated string representation of all values this Struct holds- Overrides:
- toStringin class- ParameterSetType<Struct>
- Returns:
- (undocumented)
 
 
- 
 
-