Class MibObjProperty
- java.lang.Object
-
- org.opennms.netmgt.config.datacollection.MibObjProperty
-
public class MibObjProperty extends 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(String key, String value)
Adds a new parameter.boolean
equals(Object obj)
String
getAlias()
Gets the alias.String
getClassName()
Gets the class name.String
getGroupName()
Gets the group name.String
getInstance()
Gets the single instance of MibObjProperty.List<Parameter>
getParameters()
Gets the parameters.String
getParameterValue(String key)
Gets the value of an existing parameter.String
getParameterValue(String key, String defaultValue)
Gets the value of an existing parameter.int
hashCode()
void
setAlias(String alias)
Sets the alias.void
setClassName(String className)
Sets the class name.void
setGroupName(String groupName)
Sets the group name.void
setInstance(String instance)
Sets the instance.void
setParameters(List<Parameter> parameters)
Sets the parameters.String
toString()
-
-
-
Method Detail
-
getInstance
public String getInstance()
Gets the single instance of MibObjProperty.- Returns:
- single instance of MibObjProperty
-
getAlias
public String getAlias()
Gets the alias.- Returns:
- the alias
-
getClassName
public String getClassName()
Gets the class name.- Returns:
- the class name
-
getParameterValue
public String getParameterValue(String key)
Gets the value of an existing parameter.- Parameters:
key
- the key- Returns:
- the parameter
-
getParameterValue
public String getParameterValue(String key, String defaultValue)
Gets the value of an existing parameter.- Parameters:
key
- the keydefaultValue
- the default value- Returns:
- the parameter
-
addParameter
public void addParameter(String key, String value)
Adds a new parameter.- Parameters:
key
- the keyvalue
- the value
-
getGroupName
public String getGroupName()
Gets the group name.- Returns:
- the group name
-
setInstance
public void setInstance(String instance)
Sets the instance.- Parameters:
instance
- the new instance
-
setAlias
public void setAlias(String alias)
Sets the alias.- Parameters:
alias
- the new alias
-
setClassName
public void setClassName(String className)
Sets the class name.- Parameters:
className
- the new class name
-
setParameters
public void setParameters(List<Parameter> parameters)
Sets the parameters.- Parameters:
parameters
- the new parameters
-
setGroupName
public void setGroupName(String groupName)
Sets the group name.- Parameters:
groupName
- the new group name
-
-