public class Snmpv3User extends Object implements Serializable
Constructor and Description |
---|
Snmpv3User() |
Modifier and Type | Method and Description |
---|---|
void |
deleteSecurityLevel() |
boolean |
equals(Object obj)
Overrides the java.lang.Object.equals method.
|
String |
getAuthPassphrase()
Returns the value of field 'authPassphrase'.
|
String |
getAuthProtocol()
Returns the value of field 'authProtocol'.
|
String |
getEngineId()
Returns the value of field 'engineId'.
|
String |
getPrivacyPassphrase()
Returns the value of field 'privacyPassphrase'.
|
String |
getPrivacyProtocol()
Returns the value of field 'privacyProtocol'.
|
int |
getSecurityLevel()
Returns the value of field 'securityLevel'.
|
String |
getSecurityName()
Returns the value of field 'securityName'.
|
int |
hashCode()
Overrides the java.lang.Object.hashCode method.
|
boolean |
hasSecurityLevel()
Method hasSecurityLevel.
|
boolean |
isValid()
Method isValid.
|
void |
marshal(ContentHandler handler) |
void |
marshal(Writer out) |
void |
setAuthPassphrase(String authPassphrase)
Sets the value of field 'authPassphrase'.
|
void |
setAuthProtocol(String authProtocol)
Sets the value of field 'authProtocol'.
|
void |
setEngineId(String engineId)
Sets the value of field 'engineId'.
|
void |
setPrivacyPassphrase(String privacyPassphrase)
Sets the value of field 'privacyPassphrase'.
|
void |
setPrivacyProtocol(String privacyProtocol)
Sets the value of field 'privacyProtocol'.
|
void |
setSecurityLevel(int securityLevel)
Sets the value of field 'securityLevel'.
|
void |
setSecurityName(String securityName)
Sets the value of field 'securityName'.
|
static Snmpv3User |
unmarshal(Reader reader)
Method unmarshal.
|
void |
validate() |
public void deleteSecurityLevel()
public boolean equals(Object obj)
public String getAuthPassphrase()
public String getAuthProtocol()
public String getEngineId()
public String getPrivacyPassphrase()
public String getPrivacyProtocol()
public int getSecurityLevel()
public String getSecurityName()
public boolean hasSecurityLevel()
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 setAuthPassphrase(String authPassphrase)
authPassphrase
- the value of field 'authPassphrase'.public void setAuthProtocol(String authProtocol)
authProtocol
- the value of field 'authProtocol'.public void setEngineId(String engineId)
engineId
- the value of field 'engineId'.public void setPrivacyPassphrase(String privacyPassphrase)
privacyPassphrase
- the value of field
'privacyPassphrase'.public void setPrivacyProtocol(String privacyProtocol)
privacyProtocol
- the value of field 'privacyProtocol'.public void setSecurityLevel(int securityLevel)
securityLevel
- the value of field 'securityLevel'.public void setSecurityName(String securityName)
securityName
- the value of field 'securityName'.public static Snmpv3User 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.