|
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.netmgt.config.dhcpd.DhcpdConfiguration
Field Summary | |
private java.lang.String |
_extendedMode
|
private boolean |
_has_port
keeps track of state for field: _port |
private java.lang.String |
_macAddress
|
private java.lang.String |
_myIpAddress
|
private int |
_port
|
private java.lang.String |
_requestIpAddress
|
private java.util.Vector |
propertyChangeListeners
|
Constructor Summary | |
DhcpdConfiguration()
|
Method Summary | |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
Registers a PropertyChangeListener with this class. |
boolean |
equals(java.lang.Object obj)
Note: hashCode() has not been overriden |
java.lang.String |
getExtendedMode()
Returns the value of field 'extendedMode'. |
java.lang.String |
getMacAddress()
Returns the value of field 'macAddress'. |
java.lang.String |
getMyIpAddress()
Returns the value of field 'myIpAddress'. |
int |
getPort()
Returns the value of field 'port'. |
java.lang.String |
getRequestIpAddress()
Returns the value of field 'requestIpAddress'. |
boolean |
hasPort()
|
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 |
setExtendedMode(java.lang.String extendedMode)
Sets the value of field 'extendedMode'. |
void |
setMacAddress(java.lang.String macAddress)
Sets the value of field 'macAddress'. |
void |
setMyIpAddress(java.lang.String myIpAddress)
Sets the value of field 'myIpAddress'. |
void |
setPort(int port)
Sets the value of field 'port'. |
void |
setRequestIpAddress(java.lang.String requestIpAddress)
Sets the value of field 'requestIpAddress'. |
static DhcpdConfiguration |
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 int _port
private boolean _has_port
private java.lang.String _macAddress
private java.lang.String _myIpAddress
private java.lang.String _extendedMode
private java.lang.String _requestIpAddress
private java.util.Vector propertyChangeListeners
Constructor Detail |
public DhcpdConfiguration()
Method Detail |
public void addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
pcl
- The PropertyChangeListener to register.public boolean equals(java.lang.Object obj)
obj
- public java.lang.String getExtendedMode()
public java.lang.String getMacAddress()
public java.lang.String getMyIpAddress()
public int getPort()
public java.lang.String getRequestIpAddress()
public boolean hasPort()
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 setExtendedMode(java.lang.String extendedMode)
extendedMode
- the value of field 'extendedMode'.public void setMacAddress(java.lang.String macAddress)
macAddress
- the value of field 'macAddress'.public void setMyIpAddress(java.lang.String myIpAddress)
myIpAddress
- the value of field 'myIpAddress'.public void setPort(int port)
port
- the value of field 'port'.public void setRequestIpAddress(java.lang.String requestIpAddress)
requestIpAddress
- the value of field 'requestIpAddress'public static DhcpdConfiguration 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 |