|
"WEBNMS_5 API Docs" | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.adventnet.management.config.xml.BaseElement
com.adventnet.nms.provisioning.xml.MOInput
public class MOInput
The MOInput class represents Managed Object input data in the templates.
Data are obtained from managed objects in the
database.
The user can use the MOInput element for getting the
data from Provisioning database. For getting data from databases other
than Provisioning database, the user can use SQLInput element.
Usage of Tag in the Template:
<MOInput id="1#" MOName="localhost" MOField="ipAddress" default="127.0.0.0" />
The id attribute refers to a unique id for the Inventory Input. The value obtained through this
MOInput can be used anywhere in the Template by giving $InventoryInput$1#.
MOName refers to the name of the Managed Object.
MOField refers to the property of the Managed Object.
SQLInput,
InventoryInput,
Serialized Form| Field Summary |
|---|
| Fields inherited from class com.adventnet.management.config.xml.BaseElement |
|---|
element, isServer |
| Constructor Summary | |
|---|---|
MOInput()
Creates a new MOInput instance. |
|
MOInput(org.w3c.dom.Element element)
Creates a new MOInput that contains representaion of the supplied xml element. |
|
MOInput(java.lang.String xmlString)
Creates a new MOInput object that contains representation of the supplied xml string. |
|
| Method Summary | |
|---|---|
java.lang.String |
getDefault()
Fetches default attribute value. |
java.lang.String |
getId()
Fetches unique identifier associated with this MOInput. |
java.lang.String |
getMOField()
Fetches the property name of the Managed Object, the data of which has to be collected. |
java.lang.String |
getMOName()
Fetches the name of the Managed Object, the data of which has to be collected. |
java.lang.String |
getUseInventoryService()
Fetches useInventoryService attribute value. |
java.lang.String |
getValue()
Fetches value attribute value. |
void |
setDefault(java.lang.String defaultValue)
Sets default attribute value to the specified one. |
void |
setId(java.lang.String id)
Sets unique identifier associated with this MOInput. |
void |
setMOField(java.lang.String moField)
Sets the property name of the Managed Object. |
void |
setMOName(java.lang.String moName)
Sets the name of the Managed Object from which data need to be fetched. |
void |
setUseInventoryService(java.lang.String useInventoryService)
Sets useInventoryService attribute value to the specified one. |
void |
setValue(java.lang.String value)
Sets value attribute value to the specified one. |
| Methods inherited from class com.adventnet.management.config.xml.BaseElement |
|---|
addSubTag, getAttribute, getElement, getProperties, getSubTagsByName, hasAttribute, removeSubTagsByName, setAttribute, setProperties, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MOInput(org.w3c.dom.Element element)
throws InvalidTemplateException
element - element that represents MOInput.
InvalidTemplateException - if an error occurs
public MOInput(java.lang.String xmlString)
throws InvalidTemplateException
xmlString - xml string that contains representation of this MOInput.
InvalidTemplateException - if any error occurs.public MOInput()
| Method Detail |
|---|
public java.lang.String getMOName()
public void setMOName(java.lang.String moName)
moName - value of "MOName" attribute of this MOInput.public java.lang.String getMOField()
public void setMOField(java.lang.String moField)
moField - value of "MOField" attribute of this MOInput.public java.lang.String getId()
public void setId(java.lang.String id)
id - value of "id" attribute of this MOInput.public java.lang.String getUseInventoryService()
public void setUseInventoryService(java.lang.String useInventoryService)
useInventoryService - value of "useInventoryService" attribute of this MOInput.public java.lang.String getDefault()
public void setDefault(java.lang.String defaultValue)
defaultValue - value of "default" attribute of this MOInput.public java.lang.String getValue()
public void setValue(java.lang.String value)
value - value of "value" attribute of this MOInput.
|
"WEBNMS_5 API Docs" | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||