Class MibObjProperty
- java.lang.Object
-
- org.opennms.netmgt.config.datacollection.MibObjProperty
-
public class MibObjProperty extends java.lang.Object
The Class MibObjProperty.- Author:
- Alejandro Galue
-
-
Constructor Summary
Constructors Constructor Description MibObjProperty()
Instantiates a new MibObj property.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addParameter(java.lang.String key, java.lang.String value)
Adds a new parameter.boolean
equals(java.lang.Object obj)
java.lang.String
getAlias()
Gets the alias.java.lang.String
getClassName()
Gets the class name.java.lang.String
getGroupName()
Gets the group name.java.lang.String
getInstance()
Gets the single instance of MibObjProperty.java.util.List<Parameter>
getParameters()
Gets the parameters.java.lang.String
getParameterValue(java.lang.String key)
Gets the value of an existing parameter.java.lang.String
getParameterValue(java.lang.String key, java.lang.String defaultValue)
Gets the value of an existing parameter.int
hashCode()
void
setAlias(java.lang.String alias)
Sets the alias.void
setClassName(java.lang.String className)
Sets the class name.void
setGroupName(java.lang.String groupName)
Sets the group name.void
setInstance(java.lang.String instance)
Sets the instance.void
setParameters(java.util.List<Parameter> parameters)
Sets the parameters.java.lang.String
toString()
-
-
-
Method Detail
-
getInstance
public java.lang.String getInstance()
Gets the single instance of MibObjProperty.- Returns:
- single instance of MibObjProperty
-
getAlias
public java.lang.String getAlias()
Gets the alias.- Returns:
- the alias
-
getClassName
public java.lang.String getClassName()
Gets the class name.- Returns:
- the class name
-
getParameters
public java.util.List<Parameter> getParameters()
Gets the parameters.- Returns:
- the parameters
-
getParameterValue
public java.lang.String getParameterValue(java.lang.String key)
Gets the value of an existing parameter.- Parameters:
key
- the key- Returns:
- the parameter
-
getParameterValue
public java.lang.String getParameterValue(java.lang.String key, java.lang.String defaultValue)
Gets the value of an existing parameter.- Parameters:
key
- the keydefaultValue
- the default value- Returns:
- the parameter
-
addParameter
public void addParameter(java.lang.String key, java.lang.String value)
Adds a new parameter.- Parameters:
key
- the keyvalue
- the value
-
getGroupName
public java.lang.String getGroupName()
Gets the group name.- Returns:
- the group name
-
setInstance
public void setInstance(java.lang.String instance)
Sets the instance.- Parameters:
instance
- the new instance
-
setAlias
public void setAlias(java.lang.String alias)
Sets the alias.- Parameters:
alias
- the new alias
-
setClassName
public void setClassName(java.lang.String className)
Sets the class name.- Parameters:
className
- the new class name
-
setParameters
public void setParameters(java.util.List<Parameter> parameters)
Sets the parameters.- Parameters:
parameters
- the new parameters
-
setGroupName
public void setGroupName(java.lang.String groupName)
Sets the group name.- Parameters:
groupName
- the new group name
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-