@MappedSuperclass public abstract class ParameterConfiguration extends Object implements Serializable, PathObject
| Modifier and Type | Field and Description |
|---|---|
protected String |
value |
COMPARATOR| Modifier | Constructor and Description |
|---|---|
protected |
ParameterConfiguration() |
protected |
ParameterConfiguration(String value) |
| Modifier and Type | Method and Description |
|---|---|
Object |
checkValue(String value) |
boolean |
equals(Object o) |
abstract ParameterDescription |
getDescription() |
abstract long |
getId() |
ParameterPath |
getPath() |
String |
getValue() |
abstract List<? extends ValueEvent> |
getValueEvents() |
int |
hashCode() |
boolean |
isReadOnly() |
void |
modifyValue(String value)
the value is modifiable only on objects not yet registered in the database
|
void |
modifyValueAfterCheck(String value)
method for two phases commit: call only if check is ok.
|
protected abstract void |
setId(long id) |
String |
toString() |
protected String value
protected ParameterConfiguration()
protected ParameterConfiguration(String value)
public abstract long getId()
protected abstract void setId(long id)
public boolean isReadOnly()
public abstract ParameterDescription getDescription()
public abstract List<? extends ValueEvent> getValueEvents()
public String getValue()
public Object checkValue(String value) throws IllegalArgumentException
IllegalArgumentExceptionpublic void modifyValue(String value)
value - ImmutableStateException - if modification is for a registered objectIllegalArgumentException - if value is not coherent with type and constraintspublic void modifyValueAfterCheck(String value)
value - public ParameterPath getPath()
getPath in interface PathObjectCopyright © 2014 LSST. All rights reserved.