T - the Type of the object the HollowParm stands for.public abstract class HollowParm<T extends Serializable> extends Object implements Serializable, Cloneable
A special feature is about null values: normally setting up the value with null makes it uninitialized so making it nul AND initializes should be performed either by setNullValue or through modifyChecked which is a generic way of setting a value (with type control).
| Modifier and Type | Field and Description |
|---|---|
protected Properties |
properties |
protected boolean |
readOnly |
protected boolean |
set |
protected T |
value |
| Modifier | Constructor and Description |
|---|---|
protected |
HollowParm() |
protected |
HollowParm(T value) |
protected |
HollowParm(T value,
Map<?,?> map) |
| Modifier and Type | Method and Description |
|---|---|
HollowParm<T> |
addProperties(Map.Entry<String,String>... entries) |
void |
clear() |
HollowParm |
clone()
first level clone: object that are referenced are not duplicated
|
Properties |
getProperties() |
T |
getValue() |
abstract Class<T> |
getValueClass() |
boolean |
isReadOnly() |
boolean |
isSet() |
void |
modifyChecked(T obj) |
void |
setNullValue() |
void |
setValue(T value) |
String |
toString() |
protected T extends Serializable value
protected boolean set
protected boolean readOnly
protected Properties properties
protected HollowParm()
protected HollowParm(T value)
public Properties getProperties()
public T getValue()
public void setValue(T value)
public void setNullValue()
public void clear()
public void modifyChecked(T obj)
public boolean isSet()
public boolean isReadOnly()
public HollowParm<T> addProperties(Map.Entry<String,String>... entries)
public HollowParm clone()
Copyright © 2016 LSST. All rights reserved.