Package csw.prefix.models
Class Prefix
- java.lang.Object
-
- csw.prefix.models.Prefix
-
- All Implemented Interfaces:
java.io.Serializable
,scala.Equals
,scala.Product
public class Prefix extends java.lang.Object implements scala.Product, java.io.Serializable
A top level key for a parameter set: combination of subsystem and the subsystem's prefix e.g. tcs.filter.wheel, wfos.prog.cloudcover, etc- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Prefix
apply(java.lang.String value)
Creates a Prefix based on the given value of format tcs.filter.wheel and splits it to have tcs assubsystem
and filter.wheel ascomponentName
java.lang.String
componentName()
Subsystem
subsystem()
java.lang.String
toString()
String representation of prefix e.g.
-
-
-
Constructor Detail
-
Prefix
public Prefix(Subsystem subsystem, java.lang.String componentName)
-
-
Method Detail
-
apply
public static Prefix apply(java.lang.String value)
Creates a Prefix based on the given value of format tcs.filter.wheel and splits it to have tcs assubsystem
and filter.wheel ascomponentName
- Parameters:
value
- of format tcs.filter.wheel- Returns:
- a Prefix instance
-
subsystem
public Subsystem subsystem()
-
componentName
public java.lang.String componentName()
-
toString
public java.lang.String toString()
String representation of prefix e.g. tcs.filter.wheel where tcs is the subsystem name and filter.wheel is the component name- Overrides:
toString
in classjava.lang.Object
- Returns:
- (undocumented)
-
-