|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.netmgt.config.rws.BaseUrl
public class BaseUrl
Base Url(s) for Rancid Server.
| Constructor Summary | |
|---|---|
BaseUrl()
|
|
| Method Summary | |
|---|---|
void |
deleteTimeout()
|
boolean |
equals(Object obj)
Overrides the java.lang.Object.equals method. |
String |
getDirectory()
Returns the value of field 'directory'. |
String |
getPassword()
Returns the value of field 'password'. |
String |
getServer_url()
Returns the value of field 'server_url'. |
int |
getTimeout()
Returns the value of field 'timeout'. |
String |
getUsername()
Returns the value of field 'username'. |
int |
hashCode()
Overrides the java.lang.Object.hashCode method. |
boolean |
hasTimeout()
Method hasTimeout. |
boolean |
isValid()
Method isValid. |
void |
marshal(ContentHandler handler)
|
void |
marshal(Writer out)
|
void |
setDirectory(String directory)
Sets the value of field 'directory'. |
void |
setPassword(String password)
Sets the value of field 'password'. |
void |
setServer_url(String server_url)
Sets the value of field 'server_url'. |
void |
setTimeout(int timeout)
Sets the value of field 'timeout'. |
void |
setUsername(String username)
Sets the value of field 'username'. |
static BaseUrl |
unmarshal(Reader reader)
Method unmarshal. |
void |
validate()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BaseUrl()
| Method Detail |
|---|
public void deleteTimeout()
public boolean equals(Object obj)
equals in class Objectobj -
public String getDirectory()
public String getPassword()
public String getServer_url()
public int getTimeout()
public String getUsername()
public boolean hasTimeout()
public int hashCode()
The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
hashCode in class Objectpublic 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 marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
public void marshal(ContentHandler handler)
throws IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
handler -
IOException - if an IOException occurs during
marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
org.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshalingpublic void setDirectory(String directory)
directory - the value of field 'directory'.public void setPassword(String password)
password - the value of field 'password'.public void setServer_url(String server_url)
server_url - the value of field 'server_url'.public void setTimeout(int timeout)
timeout - the value of field 'timeout'.public void setUsername(String username)
username - the value of field 'username'.
public static BaseUrl 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 marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
public void validate()
throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||