|
OpenNMS API 1.2.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opennms.report.availability.Created
Field Summary | |
private long |
_content
internal content storage |
private int |
_day
|
private boolean |
_has_content
keeps track of state for field: _content |
private boolean |
_has_day
keeps track of state for field: _day |
private boolean |
_has_hour
keeps track of state for field: _hour |
private boolean |
_has_min
keeps track of state for field: _min |
private boolean |
_has_sec
keeps track of state for field: _sec |
private boolean |
_has_year
keeps track of state for field: _year |
private int |
_hour
|
private int |
_min
|
private java.lang.String |
_month
|
private java.lang.String |
_period
|
private int |
_sec
|
private int |
_year
|
private java.util.Vector |
propertyChangeListeners
|
Constructor Summary | |
Created()
|
Method Summary | |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
Registers a PropertyChangeListener with this class. |
void |
deleteContent()
|
boolean |
equals(java.lang.Object obj)
Note: hashCode() has not been overriden |
long |
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'. |
java.lang.String |
getMonth()
Returns the value of field 'month'. |
java.lang.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 |
hasContent()
|
boolean |
hasDay()
|
boolean |
hasHour()
|
boolean |
hasMin()
|
boolean |
hasSec()
|
boolean |
hasYear()
|
boolean |
isValid()
|
void |
marshal(org.xml.sax.DocumentHandler handler)
|
void |
marshal(java.io.Writer out)
|
protected void |
notifyPropertyChangeListeners(java.lang.String fieldName,
java.lang.Object oldValue,
java.lang.Object newValue)
Notifies all registered PropertyChangeListeners when a bound property's value changes. |
boolean |
removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
Removes the given PropertyChangeListener from this classes list of ProperyChangeListeners. |
void |
setContent(long 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(java.lang.String month)
Sets the value of field 'month'. |
void |
setPeriod(java.lang.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(java.io.Reader reader)
|
void |
validate()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private long _content
private boolean _has_content
private int _year
private boolean _has_year
private java.lang.String _month
private int _day
private boolean _has_day
private int _hour
private boolean _has_hour
private int _min
private boolean _has_min
private int _sec
private boolean _has_sec
private java.lang.String _period
private java.util.Vector propertyChangeListeners
Constructor Detail |
public Created()
Method Detail |
public void addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
pcl
- The PropertyChangeListener to register.public void deleteContent()
public boolean equals(java.lang.Object obj)
obj
- public long getContent()
public int getDay()
public int getHour()
public int getMin()
public java.lang.String getMonth()
public java.lang.String getPeriod()
public int getSec()
public int getYear()
public boolean hasContent()
public boolean hasDay()
public boolean hasHour()
public boolean hasMin()
public boolean hasSec()
public boolean hasYear()
public boolean isValid()
public void marshal(java.io.Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
out
-
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void marshal(org.xml.sax.DocumentHandler handler) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler
-
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
protected void notifyPropertyChangeListeners(java.lang.String fieldName, java.lang.Object oldValue, java.lang.Object newValue)
fieldName
- the name of the property that has changed.newValue
- the new value of the property.oldValue
- the old value of the property.public boolean removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
pcl
- The PropertyChangeListener to remove.
public void setContent(long 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(java.lang.String month)
month
- the value of field 'month'.public void setPeriod(java.lang.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(java.io.Reader reader) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
reader
-
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void validate() throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException
|
OpenNMS API 1.2.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |