public class Interface extends Object implements Serializable
Constructor and Description |
---|
Interface() |
Modifier and Type | Method and Description |
---|---|
void |
deleteInterval() |
void |
deleteMaxInterfacePerPdu() |
void |
deleteMaxVarsPerPdu() |
void |
deletePort() |
void |
deleteRetry() |
void |
deleteTimeout() |
boolean |
equals(Object obj)
Overrides the java.lang.Object.equals method.
|
String |
getCriteria()
Returns the value of field 'criteria'.
|
long |
getInterval()
Returns the value of field 'interval'.
|
int |
getMaxInterfacePerPdu()
Returns the value of field 'maxInterfacePerPdu'.
|
int |
getMaxVarsPerPdu()
Returns the value of field 'maxVarsPerPdu'.
|
String |
getName()
Returns the value of field 'name'.
|
int |
getPort()
Returns the value of field 'port'.
|
int |
getRetry()
Returns the value of field 'retry'.
|
String |
getStatus()
Returns the value of field 'status'.
|
int |
getTimeout()
Returns the value of field 'timeout'.
|
String |
getUserDefined()
Returns the value of field 'userDefined'.
|
int |
hashCode()
Overrides the java.lang.Object.hashCode method.
|
boolean |
hasInterval()
Method hasInterval.
|
boolean |
hasMaxInterfacePerPdu()
Method hasMaxInterfacePerPdu.
|
boolean |
hasMaxVarsPerPdu()
Method hasMaxVarsPerPdu.
|
boolean |
hasPort()
Method hasPort.
|
boolean |
hasRetry()
Method hasRetry.
|
boolean |
hasTimeout()
Method hasTimeout.
|
boolean |
isValid()
Method isValid.
|
void |
marshal(ContentHandler handler) |
void |
marshal(Writer out) |
void |
setCriteria(String criteria)
Sets the value of field 'criteria'.
|
void |
setInterval(long interval)
Sets the value of field 'interval'.
|
void |
setMaxInterfacePerPdu(int maxInterfacePerPdu)
Sets the value of field 'maxInterfacePerPdu'.
|
void |
setMaxVarsPerPdu(int maxVarsPerPdu)
Sets the value of field 'maxVarsPerPdu'.
|
void |
setName(String name)
Sets the value of field 'name'.
|
void |
setPort(int port)
Sets the value of field 'port'.
|
void |
setRetry(int retry)
Sets the value of field 'retry'.
|
void |
setStatus(String status)
Sets the value of field 'status'.
|
void |
setTimeout(int timeout)
Sets the value of field 'timeout'.
|
void |
setUserDefined(String userDefined)
Sets the value of field 'userDefined'.
|
static Interface |
unmarshal(Reader reader)
Method unmarshal.
|
void |
validate() |
public void deleteInterval()
public void deleteMaxInterfacePerPdu()
public void deleteMaxVarsPerPdu()
public void deletePort()
public void deleteRetry()
public void deleteTimeout()
public boolean equals(Object obj)
public String getCriteria()
public long getInterval()
public int getMaxInterfacePerPdu()
public int getMaxVarsPerPdu()
public String getName()
public int getPort()
public int getRetry()
public String getStatus()
public int getTimeout()
public String getUserDefined()
public boolean hasInterval()
public boolean hasMaxInterfacePerPdu()
public boolean hasMaxVarsPerPdu()
public boolean hasPort()
public boolean hasRetry()
public boolean hasTimeout()
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 setCriteria(String criteria)
criteria
- the value of field 'criteria'.public void setInterval(long interval)
interval
- the value of field 'interval'.public void setMaxInterfacePerPdu(int maxInterfacePerPdu)
maxInterfacePerPdu
- the value of field
'maxInterfacePerPdu'.public void setMaxVarsPerPdu(int maxVarsPerPdu)
maxVarsPerPdu
- the value of field 'maxVarsPerPdu'.public void setName(String name)
name
- the value of field 'name'.public void setPort(int port)
port
- the value of field 'port'.public void setRetry(int retry)
retry
- the value of field 'retry'.public void setStatus(String status)
status
- the value of field 'status'.public void setTimeout(int timeout)
timeout
- the value of field 'timeout'.public void setUserDefined(String userDefined)
userDefined
- the value of field 'userDefined'.public static Interface 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.