|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.lsst.ccs.config.ParameterDescription
@MappedSuperclass public abstract class ParameterDescription
The base class for all Parameter descriptions
| Field Summary | |
|---|---|
protected String |
description
possible details. |
| Fields inherited from interface org.lsst.ccs.config.PathObject |
|---|
COMPARATOR |
| Constructor Summary | |
|---|---|
protected |
ParameterDescription()
|
protected |
ParameterDescription(ParameterBase parameterBase)
builds a default Description out of a ParameterBase which is described in the original setup. |
protected |
ParameterDescription(ParameterDescription other)
copy constructor. |
| Method Summary | |
|---|---|
Object |
checkValue(String value)
|
boolean |
equals(Object o)
equals is special: it works with any Path Object! |
String |
getCodeName()
|
String |
getComponentName()
|
String |
getConstraints()
|
String |
getDefaultValue()
|
String |
getDescription()
|
abstract long |
getId()
|
int |
getLevel()
|
ParameterBase |
getParameterBase()
|
String |
getParameterName()
|
ParameterPath |
getPath()
|
String |
getSimpleName()
|
String |
getTypeName()
|
int |
hashCode()
|
boolean |
isNotModifiableAtRuntime()
|
boolean |
isReadOnly()
|
void |
setConstraints(String constraints)
|
void |
setDescription(String description)
this data is not essential to the logic so it is modifiable anyway. |
protected abstract void |
setId(long id)
|
void |
setLevel(int level)
|
void |
setNotModifiableAtRuntime(boolean notModifiableAtRuntime)
|
protected void |
setParameterBase(ParameterBase parameterBase)
|
void |
setSimpleName(String simpleName)
|
String |
toPropertyString()
default value is included in the text that describes the parameter as a property |
String |
toPropertyString(String value,
boolean commentOutValue)
creates a String to be included in a .preperties file |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected String description
| Constructor Detail |
|---|
protected ParameterDescription()
protected ParameterDescription(ParameterBase parameterBase)
parameterBase - protected ParameterDescription(ParameterDescription other)
other - | Method Detail |
|---|
public abstract long getId()
protected abstract void setId(long id)
public boolean isReadOnly()
public ParameterBase getParameterBase()
protected void setParameterBase(ParameterBase parameterBase)
public String getDescription()
public void setDescription(String description)
description - public String getSimpleName()
public void setSimpleName(String simpleName)
public String getConstraints()
public void setConstraints(String constraints)
public int getLevel()
public void setLevel(int level)
public boolean isNotModifiableAtRuntime()
public void setNotModifiableAtRuntime(boolean notModifiableAtRuntime)
public boolean equals(Object o)
equals in class Objecto -
public int hashCode()
hashCode in class Objectpublic String toString()
toString in class Objectpublic String getComponentName()
public String getCodeName()
public String getParameterName()
public String getDefaultValue()
public ParameterPath getPath()
getPath in interface PathObjectpublic String getTypeName()
public Object checkValue(String value)
public String toPropertyString(String value,
boolean commentOutValue)
value - default value to be included in the text
public String toPropertyString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||