public class Created extends Object implements Serializable
Constructor and Description |
---|
Created() |
Modifier and Type | Method and Description |
---|---|
void |
deleteDay() |
void |
deleteHour() |
void |
deleteMin() |
void |
deleteSec() |
void |
deleteYear() |
BigDecimal |
getContent()
Returns the value of field 'content'.
|
int |
getDay()
Returns the value of field 'day'.
|
int |
getHour()
Returns the value of field 'hour'.
|
int |
getMin()
Returns the value of field 'min'.
|
String |
getMonth()
Returns the value of field 'month'.
|
String |
getPeriod()
Returns the value of field 'period'.
|
int |
getSec()
Returns the value of field 'sec'.
|
int |
getYear()
Returns the value of field 'year'.
|
boolean |
hasDay()
Method hasDay.
|
boolean |
hasHour()
Method hasHour.
|
boolean |
hasMin()
Method hasMin.
|
boolean |
hasSec()
Method hasSec.
|
boolean |
hasYear()
Method hasYear.
|
boolean |
isValid()
Method isValid.
|
void |
marshal(ContentHandler handler) |
void |
marshal(Writer out) |
void |
setContent(BigDecimal content)
Sets the value of field 'content'.
|
void |
setDay(int day)
Sets the value of field 'day'.
|
void |
setHour(int hour)
Sets the value of field 'hour'.
|
void |
setMin(int min)
Sets the value of field 'min'.
|
void |
setMonth(String month)
Sets the value of field 'month'.
|
void |
setPeriod(String period)
Sets the value of field 'period'.
|
void |
setSec(int sec)
Sets the value of field 'sec'.
|
void |
setYear(int year)
Sets the value of field 'year'.
|
static Created |
unmarshal(Reader reader)
Method unmarshal.
|
void |
validate() |
public void deleteDay()
public void deleteHour()
public void deleteMin()
public void deleteSec()
public void deleteYear()
public BigDecimal getContent()
public int getDay()
public int getHour()
public int getMin()
public String getMonth()
public String getPeriod()
public int getSec()
public int getYear()
public boolean hasDay()
public boolean hasHour()
public boolean hasMin()
public boolean hasSec()
public boolean hasYear()
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 setContent(BigDecimal content)
content
- the value of field 'content'.public void setDay(int day)
day
- the value of field 'day'.public void setHour(int hour)
hour
- the value of field 'hour'.public void setMin(int min)
min
- the value of field 'min'.public void setMonth(String month)
month
- the value of field 'month'.public void setPeriod(String period)
period
- the value of field 'period'.public void setSec(int sec)
sec
- the value of field 'sec'.public void setYear(int year)
year
- the value of field 'year'.public static Created 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.