org.lsst.ccs.config
Class ParameterPath
java.lang.Object
org.lsst.ccs.config.ParameterPath
- All Implemented Interfaces:
- Serializable, PathObject
@Embeddable
public class ParameterPath
- extends Object
- implements PathObject, Serializable
Unique Path in a SubSystem. Objects of this class are immutable.
(no public mutator).
- See Also:
- Serialized Form
ParameterPath
public ParameterPath(String componentName,
String codeName,
String parameterName)
- "real" constructor
- Parameters:
componentName - should not be nullcodeName - null of empty means constructorparameterName - should not be null
getComponentName
public String getComponentName()
getCodeName
public String getCodeName()
getParameterName
public String getParameterName()
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
toString
public String toString()
- Overrides:
toString in class Object
valueOf
public static ParameterPath valueOf(String pathString)
- reverse operation from toString(): creates a ParameterPath from a String.
- Parameters:
pathString - should be of the form "componentName/codeName/parameterName" (example: "carousel//tickMillis")
- Returns:
-
- Throws:
IllegalArgumentException - if format is not correct
getPath
public ParameterPath getPath()
- Specified by:
getPath in interface PathObject
Copyright © 2013 LSST. All Rights Reserved.