Class Prefix

java.lang.Object
csw.prefix.models.Prefix
All Implemented Interfaces:
Serializable, scala.Equals, scala.Product

public class Prefix extends Object implements scala.Product, 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:
  • Constructor Summary

    Constructors
    Constructor
    Description
    Prefix(Subsystem subsystem, String componentName)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static Prefix
    apply(String value)
    Creates a Prefix based on the given value of format tcs.filter.wheel and splits it to have tcs as subsystem and filter.wheel as componentName
     
     
    String representation of prefix e.g.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface scala.Equals

    canEqual, equals

    Methods inherited from interface scala.Product

    productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
  • Constructor Details

  • Method Details

    • apply

      public static Prefix apply(String value)
      Creates a Prefix based on the given value of format tcs.filter.wheel and splits it to have tcs as subsystem and filter.wheel as componentName

      Parameters:
      value - of format tcs.filter.wheel
      Returns:
      a Prefix instance
    • subsystem

      public Subsystem subsystem()
    • componentName

      public String componentName()
    • toString

      public 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 class Object
      Returns:
      (undocumented)