@MappedSuperclass public abstract class ParameterDescription extends Object implements Serializable, PathObject
| Modifier and Type | Field and Description |
|---|---|
protected String |
description
possible details.
|
COMPARATOR| Modifier | Constructor and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
checkValue(String value) |
boolean |
equals(Object o)
equals is special: it works with any Path Object!
|
String |
getCategory() |
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 |
setCategory(String category) |
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 .properties file
|
String |
toString() |
protected String description
protected ParameterDescription()
protected ParameterDescription(ParameterBase parameterBase)
parameterBase - protected ParameterDescription(ParameterDescription other)
other - 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 String getCategory()
public void setCategory(String category)
public int getLevel()
public void setLevel(int level)
public boolean isNotModifiableAtRuntime()
public void setNotModifiableAtRuntime(boolean notModifiableAtRuntime)
public boolean equals(Object o)
public String getComponentName()
public String getCodeName()
public String getParameterName()
public String getDefaultValue()
public ParameterPath getPath()
getPath in interface PathObjectpublic String getTypeName()
public String toPropertyString(String value, boolean commentOutValue)
value - default value to be included in the textcommentOutValue - if true the description is commented outpublic String toPropertyString()
Copyright © 2015 LSST. All rights reserved.