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, values
public Template()
public Template(String name)
public int getId()
public void setId(int id)
public boolean save(OutputStream out) throws AmbitIOException
AmbitIOException
public boolean save(Writer writer) throws AmbitIOException
AmbitIOException
protected Document buildDocument()
public boolean load(InputStream in) throws AmbitIOException
AmbitIOException
public boolean load(Reader reader) throws AmbitIOException
AmbitIOException
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.