public class Downtime extends Object implements Serializable
Constructor and Description |
---|
Downtime() |
Modifier and Type | Method and Description |
---|---|
void |
deleteBegin() |
void |
deleteEnd() |
void |
deleteInterval() |
boolean |
equals(Object obj)
Overrides the java.lang.Object.equals method.
|
long |
getBegin()
Returns the value of field 'begin'.
|
String |
getDelete()
Returns the value of field 'delete'.
|
long |
getEnd()
Returns the value of field 'end'.
|
long |
getInterval()
Returns the value of field 'interval'.
|
boolean |
hasBegin()
Method hasBegin.
|
boolean |
hasEnd()
Method hasEnd.
|
int |
hashCode()
Overrides the java.lang.Object.hashCode method.
|
boolean |
hasInterval()
Method hasInterval.
|
boolean |
isValid()
Method isValid.
|
void |
marshal(ContentHandler handler) |
void |
marshal(Writer out) |
void |
setBegin(long begin)
Sets the value of field 'begin'.
|
void |
setDelete(String delete)
Sets the value of field 'delete'.
|
void |
setEnd(long end)
Sets the value of field 'end'.
|
void |
setInterval(long interval)
Sets the value of field 'interval'.
|
static Downtime |
unmarshal(Reader reader)
Method unmarshal.
|
void |
validate() |
public void deleteBegin()
public void deleteEnd()
public void deleteInterval()
public boolean equals(Object obj)
public long getBegin()
public String getDelete()
public long getEnd()
public long getInterval()
public boolean hasBegin()
public boolean hasEnd()
public boolean hasInterval()
public int hashCode()
The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
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 setBegin(long begin)
begin
- the value of field 'begin'.public void setDelete(String delete)
delete
- the value of field 'delete'.public void setEnd(long end)
end
- the value of field 'end'.public void setInterval(long interval)
interval
- the value of field 'interval'.public static Downtime 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.