Class MibObjProperty
- java.lang.Object
-
- org.opennms.netmgt.config.datacollection.MibObjProperty
-
public class MibObjProperty extends java.lang.ObjectThe 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 voidaddParameter(java.lang.String key, java.lang.String value)Adds a new parameter.booleanequals(java.lang.Object obj)java.lang.StringgetAlias()Gets the alias.java.lang.StringgetClassName()Gets the class name.java.lang.StringgetGroupName()Gets the group name.java.lang.StringgetInstance()Gets the single instance of MibObjProperty.java.util.List<Parameter>getParameters()Gets the parameters.java.lang.StringgetParameterValue(java.lang.String key)Gets the value of an existing parameter.java.lang.StringgetParameterValue(java.lang.String key, java.lang.String defaultValue)Gets the value of an existing parameter.inthashCode()voidsetAlias(java.lang.String alias)Sets the alias.voidsetClassName(java.lang.String className)Sets the class name.voidsetGroupName(java.lang.String groupName)Sets the group name.voidsetInstance(java.lang.String instance)Sets the instance.voidsetParameters(java.util.List<Parameter> parameters)Sets the parameters.java.lang.StringtoString()
-
-
-
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:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-