public class DataSourceDef extends Object implements Serializable
| Constructor and Description |
|---|
DataSourceDef() |
| Modifier and Type | Method and Description |
|---|---|
Backend |
getBackend()
Returns the value of field 'backend'.
|
Cf |
getCf()
Returns the value of field 'cf'.
|
String |
getName()
Returns the value of field 'name'.
|
String |
getRpn()
Returns the value of field 'rpn'.
|
String |
getRrd()
Returns the value of field 'rrd'.
|
String |
getSource()
Returns the value of field 'source'.
|
boolean |
isValid()
Method isValid.
|
void |
marshal(ContentHandler handler) |
void |
marshal(Writer out) |
void |
setBackend(Backend backend)
Sets the value of field 'backend'.
|
void |
setCf(Cf cf)
Sets the value of field 'cf'.
|
void |
setName(String name)
Sets the value of field 'name'.
|
void |
setRpn(String rpn)
Sets the value of field 'rpn'.
|
void |
setRrd(String rrd)
Sets the value of field 'rrd'.
|
void |
setSource(String source)
Sets the value of field 'source'.
|
static DataSourceDef |
unmarshal(Reader reader)
Method unmarshal.
|
void |
validate() |
public Backend getBackend()
public Cf getCf()
public String getName()
public String getRpn()
public String getRrd()
public String getSource()
public boolean isValid()
public void marshal(Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
out - org.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshalingorg.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schemapublic void marshal(ContentHandler handler) throws IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler - IOException - if an IOException occurs during
marshalingorg.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schemaorg.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshalingpublic void setBackend(Backend backend)
backend - the value of field 'backend'.public void setCf(Cf cf)
cf - the value of field 'cf'.public void setName(String name)
name - the value of field 'name'.public void setRpn(String rpn)
rpn - the value of field 'rpn'.public void setRrd(String rrd)
rrd - the value of field 'rrd'.public void setSource(String source)
source - the value of field 'source'.public static DataSourceDef unmarshal(Reader reader) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
reader - org.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshalingorg.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schemapublic void validate()
throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schemaCopyright © 2015. All rights reserved.