public class Template extends Profile<Property>
| Modifier and Type | Field and Description |
|---|---|
protected int |
id |
container, name, profile_property_added, profile_property_change, profile_property_removed| Modifier and Type | Method and Description |
|---|---|
void |
add(String name,
String units,
Class clazz) |
void |
addFields(String name,
String units,
boolean numeric,
boolean isResult) |
protected Document |
buildDocument() |
int |
getId() |
boolean |
load(InputStream in) |
boolean |
load(Reader reader) |
boolean |
save(OutputStream out) |
boolean |
save(Writer writer) |
void |
setId(int id) |
String |
toString() |
add, add, addPropertyChangeListener, clear, get, getName, getProperties, iterator, removePropertyChangeListener, setChanged, setName, size, valuespublic Template()
public Template(String name)
public int getId()
public void setId(int id)
public boolean save(OutputStream out) throws AmbitIOException
AmbitIOExceptionpublic boolean save(Writer writer) throws AmbitIOException
AmbitIOExceptionprotected Document buildDocument()
public boolean load(InputStream in) throws AmbitIOException
AmbitIOExceptionpublic boolean load(Reader reader) throws AmbitIOException
AmbitIOExceptionCopyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.