public class Attribute extends Object implements Serializable
Constructor and Description |
---|
Attribute() |
Modifier and Type | Method and Description |
---|---|
void |
deleteAverage() |
void |
deleteMax() |
void |
deleteMin() |
double |
getAverage()
Returns the value of field 'average'.
|
double |
getMax()
Returns the value of field 'max'.
|
double |
getMin()
Returns the value of field 'min'.
|
String |
getName()
Returns the value of field 'name'.
|
boolean |
hasAverage()
Method hasAverage.
|
boolean |
hasMax()
Method hasMax.
|
boolean |
hasMin()
Method hasMin.
|
boolean |
isValid()
Method isValid.
|
void |
marshal(ContentHandler handler) |
void |
marshal(Writer out) |
void |
setAverage(double average)
Sets the value of field 'average'.
|
void |
setMax(double max)
Sets the value of field 'max'.
|
void |
setMin(double min)
Sets the value of field 'min'.
|
void |
setName(String name)
Sets the value of field 'name'.
|
static Attribute |
unmarshal(Reader reader)
Method unmarshal.
|
void |
validate() |
public void deleteAverage()
public void deleteMax()
public void deleteMin()
public double getAverage()
public double getMax()
public double getMin()
public String getName()
public boolean hasAverage()
public boolean hasMax()
public boolean hasMin()
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 setAverage(double average)
average
- the value of field 'average'.public void setMax(double max)
max
- the value of field 'max'.public void setMin(double min)
min
- the value of field 'min'.public void setName(String name)
name
- the value of field 'name'.public static Attribute 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 © 2017. All rights reserved.