Package org.opennms.netmgt.config.trapd
Class Snmpv3User
- java.lang.Object
-
- org.opennms.netmgt.config.trapd.Snmpv3User
-
- All Implemented Interfaces:
java.io.Serializable
public class Snmpv3User extends java.lang.Object implements java.io.Serializable
SNMPv3 User Configuration.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Snmpv3User()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
Overrides the java.lang.Object.equals method.java.lang.String
getAuthPassphrase()
Returns the value of field 'authPassphrase'.java.lang.String
getAuthProtocol()
Returns the value of field 'authProtocol'.java.lang.String
getEngineId()
Returns the value of field 'engineId'.java.lang.String
getPrivacyPassphrase()
Returns the value of field 'privacyPassphrase'.java.lang.String
getPrivacyProtocol()
Returns the value of field 'privacyProtocol'.java.lang.Integer
getSecurityLevel()
Returns the value of field 'securityLevel'.java.lang.String
getSecurityName()
Returns the value of field 'securityName'.int
hashCode()
Overrides the java.lang.Object.hashCode method.void
setAuthPassphrase(java.lang.String authPassphrase)
Sets the value of field 'authPassphrase'.void
setAuthProtocol(java.lang.String authProtocol)
Sets the value of field 'authProtocol'.void
setEngineId(java.lang.String engineId)
Sets the value of field 'engineId'.void
setPrivacyPassphrase(java.lang.String privacyPassphrase)
Sets the value of field 'privacyPassphrase'.void
setPrivacyProtocol(java.lang.String privacyProtocol)
Sets the value of field 'privacyProtocol'.void
setSecurityLevel(java.lang.Integer securityLevel)
Sets the value of field 'securityLevel'.void
setSecurityName(java.lang.String securityName)
Sets the value of field 'securityName'.
-
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object obj)
Overrides the java.lang.Object.equals method.- Overrides:
equals
in classjava.lang.Object
- Parameters:
obj
-- Returns:
- true if the objects are equal.
-
getAuthPassphrase
public java.lang.String getAuthPassphrase()
Returns the value of field 'authPassphrase'. The field 'authPassphrase' has the following description: SNMPv3 Authentication Password Phrase- Returns:
- the value of field 'AuthPassphrase'.
-
getAuthProtocol
public java.lang.String getAuthProtocol()
Returns the value of field 'authProtocol'. The field 'authProtocol' has the following description: SNMPv3 Authentication Protocol- Returns:
- the value of field 'AuthProtocol'.
-
getEngineId
public java.lang.String getEngineId()
Returns the value of field 'engineId'. The field 'engineId' has the following description: SNMPv3 Application Engine ID- Returns:
- the value of field 'EngineId'.
-
getPrivacyPassphrase
public java.lang.String getPrivacyPassphrase()
Returns the value of field 'privacyPassphrase'. The field 'privacyPassphrase' has the following description: SNMPv3 Privacy Password Phrase- Returns:
- the value of field 'PrivacyPassphrase'.
-
getPrivacyProtocol
public java.lang.String getPrivacyProtocol()
Returns the value of field 'privacyProtocol'. The field 'privacyProtocol' has the following description: SNMPv3 Privacy Protocol- Returns:
- the value of field 'PrivacyProtocol'.
-
getSecurityLevel
public java.lang.Integer getSecurityLevel()
Returns the value of field 'securityLevel'. The field 'securityLevel' has the following description: SNMPv3 Security Level (noAuthNoPriv, authNoPriv, authPriv)- Returns:
- the value of field 'SecurityLevel'.
-
getSecurityName
public java.lang.String getSecurityName()
Returns the value of field 'securityName'. The field 'securityName' has the following description: SNMPv3 Security Name (User Name)- Returns:
- the value of field 'SecurityName'.
-
hashCode
public int hashCode()
Overrides the java.lang.Object.hashCode method.The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
- Overrides:
hashCode
in classjava.lang.Object
- Returns:
- a hash code value for the object.
-
setAuthPassphrase
public void setAuthPassphrase(java.lang.String authPassphrase)
Sets the value of field 'authPassphrase'. The field 'authPassphrase' has the following description: SNMPv3 Authentication Password Phrase- Parameters:
authPassphrase
- the value of field 'authPassphrase'.
-
setAuthProtocol
public void setAuthProtocol(java.lang.String authProtocol)
Sets the value of field 'authProtocol'. The field 'authProtocol' has the following description: SNMPv3 Authentication Protocol- Parameters:
authProtocol
- the value of field 'authProtocol'.
-
setEngineId
public void setEngineId(java.lang.String engineId)
Sets the value of field 'engineId'. The field 'engineId' has the following description: SNMPv3 Application Engine ID- Parameters:
engineId
- the value of field 'engineId'.
-
setPrivacyPassphrase
public void setPrivacyPassphrase(java.lang.String privacyPassphrase)
Sets the value of field 'privacyPassphrase'. The field 'privacyPassphrase' has the following description: SNMPv3 Privacy Password Phrase- Parameters:
privacyPassphrase
- the value of field 'privacyPassphrase'.
-
setPrivacyProtocol
public void setPrivacyProtocol(java.lang.String privacyProtocol)
Sets the value of field 'privacyProtocol'. The field 'privacyProtocol' has the following description: SNMPv3 Privacy Protocol- Parameters:
privacyProtocol
- the value of field 'privacyProtocol'.
-
setSecurityLevel
public void setSecurityLevel(java.lang.Integer securityLevel)
Sets the value of field 'securityLevel'. The field 'securityLevel' has the following description: SNMPv3 Security Level (noAuthNoPriv, authNoPriv, authPriv)- Parameters:
securityLevel
- the value of field 'securityLevel'.
-
setSecurityName
public void setSecurityName(java.lang.String securityName)
Sets the value of field 'securityName'. The field 'securityName' has the following description: SNMPv3 Security Name (User Name)- Parameters:
securityName
- the value of field 'securityName'.
-
-