org.lsst.ccs.config
Class ParameterBase

java.lang.Object
  extended by org.lsst.ccs.config.ParameterBase
All Implemented Interfaces:
Serializable, PathObject

@Embeddable
public class ParameterBase
extends Object
implements Serializable, PathObject

this is an explicit duplication of description of parameter as it is in the subsystem configuration. all members are implicitly final! (no public mutator).

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.lsst.ccs.config.PathObject
COMPARATOR
 
Constructor Summary
ParameterBase(ParameterPath path, String typeName, String defaultValue)
           
ParameterBase(String componentName, String codeName, String parameterName, String typeName, String defaultValue)
           
 
Method Summary
 boolean equals(Object o)
          special equals: works with all PathObjects
 String getCodeName()
           
 String getComponentName()
           
 String getDefaultValue()
           
 String getParameterName()
           
 ParameterPath getPath()
           
 String getTypeName()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ParameterBase

public ParameterBase(String componentName,
                     String codeName,
                     String parameterName,
                     String typeName,
                     String defaultValue)

ParameterBase

public ParameterBase(ParameterPath path,
                     String typeName,
                     String defaultValue)
Method Detail

getComponentName

public String getComponentName()

getCodeName

public String getCodeName()

getParameterName

public String getParameterName()

getTypeName

public String getTypeName()

getDefaultValue

public String getDefaultValue()

getPath

public ParameterPath getPath()
Specified by:
getPath in interface PathObject

equals

public boolean equals(Object o)
special equals: works with all PathObjects

Overrides:
equals in class Object
Parameters:
o -
Returns:

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013 LSST. All Rights Reserved.