|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.netmgt.provision.persist.requisition.RequisitionNode
public class RequisitionNode
RequisitionNode class.
| Field Summary | |
|---|---|
protected String |
building
|
protected String |
city
|
protected String |
foreignId
|
protected List<RequisitionAsset> |
m_assets
|
protected List<RequisitionCategory> |
m_categories
|
protected List<RequisitionInterface> |
m_interfaces
|
protected String |
nodeLabel
|
protected String |
parentForeignId
|
protected String |
parentNodeLabel
|
| Constructor Summary | |
|---|---|
RequisitionNode()
|
|
| Method Summary | |
|---|---|
void |
deleteAsset(RequisitionAsset asset)
deleteAsset |
void |
deleteAsset(String name)
deleteAsset |
void |
deleteCategory(RequisitionCategory category)
deleteCategory |
void |
deleteCategory(String category)
deleteCategory |
void |
deleteInterface(RequisitionInterface iface)
removeInterface |
void |
deleteInterface(String ipAddress)
deleteInterface |
RequisitionAsset[] |
getAsset()
getAsset |
RequisitionAsset |
getAsset(String name)
getAsset |
int |
getAssetCount()
getAssetCount |
List<RequisitionAsset> |
getAssets()
getAssets |
String |
getBuilding()
Getter for the field building. |
List<RequisitionCategory> |
getCategories()
getCategories |
RequisitionCategory[] |
getCategory()
getCategory |
RequisitionCategory |
getCategory(String category)
getCategory |
int |
getCategoryCount()
getCategoryCount |
String |
getCity()
Getter for the field city. |
String |
getForeignId()
Getter for the field foreignId. |
RequisitionInterface[] |
getInterface()
getInterface |
RequisitionInterface |
getInterface(String ipAddress)
getInterface |
int |
getInterfaceCount()
getInterfaceCount |
List<RequisitionInterface> |
getInterfaces()
getInterfaces |
String |
getNodeLabel()
Getter for the field nodeLabel. |
String |
getParentForeignId()
Getter for the field parentForeignId. |
String |
getParentNodeLabel()
Getter for the field parentNodeLabel. |
void |
putAsset(RequisitionAsset asset)
putAsset |
void |
putCategory(RequisitionCategory category)
putCategory |
void |
putInterface(RequisitionInterface iface)
putInterface |
void |
setAssets(Collection<RequisitionAsset> assets)
setAssets |
void |
setBuilding(String value)
Setter for the field building. |
void |
setCategories(Collection<RequisitionCategory> categories)
setCategories |
void |
setCity(String value)
Setter for the field city. |
void |
setForeignId(String value)
Setter for the field foreignId. |
void |
setInterfaces(Collection<RequisitionInterface> interfaces)
setInterfaces |
void |
setNodeLabel(String value)
Setter for the field nodeLabel. |
void |
setParentForeignId(String value)
Setter for the field parentForeignId. |
void |
setParentNodeLabel(String value)
Setter for the field parentNodeLabel. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected List<RequisitionInterface> m_interfaces
protected List<RequisitionCategory> m_categories
protected List<RequisitionAsset> m_assets
protected String building
protected String city
protected String foreignId
protected String nodeLabel
protected String parentForeignId
protected String parentNodeLabel
| Constructor Detail |
|---|
public RequisitionNode()
| Method Detail |
|---|
public int getInterfaceCount()
getInterfaceCount
public RequisitionInterface[] getInterface()
getInterface
RequisitionInterface objects.public List<RequisitionInterface> getInterfaces()
getInterfaces
List object.public void setInterfaces(Collection<RequisitionInterface> interfaces)
setInterfaces
interfaces - a List object.public RequisitionInterface getInterface(String ipAddress)
getInterface
ipAddress - a String object.
RequisitionInterface object.public void deleteInterface(RequisitionInterface iface)
removeInterface
iface - a RequisitionInterface object.public void deleteInterface(String ipAddress)
deleteInterface
ipAddress - a String object.public void putInterface(RequisitionInterface iface)
putInterface
iface - a RequisitionInterface object.public int getCategoryCount()
getCategoryCount
public RequisitionCategory[] getCategory()
getCategory
RequisitionCategory objects.public List<RequisitionCategory> getCategories()
getCategories
List object.public void setCategories(Collection<RequisitionCategory> categories)
setCategories
categories - a List object.public RequisitionCategory getCategory(String category)
getCategory
category - a String object.
RequisitionCategory object.public void deleteCategory(RequisitionCategory category)
deleteCategory
category - a RequisitionCategory object.public void deleteCategory(String category)
deleteCategory
category - a String object.public void putCategory(RequisitionCategory category)
putCategory
category - a RequisitionCategory object.public int getAssetCount()
getAssetCount
public RequisitionAsset[] getAsset()
getAsset
RequisitionAsset objects.public List<RequisitionAsset> getAssets()
getAssets
List object.public void setAssets(Collection<RequisitionAsset> assets)
setAssets
assets - a List object.public RequisitionAsset getAsset(String name)
getAsset
name - a String object.
RequisitionAsset object.public void deleteAsset(String name)
deleteAsset
name - a String object.public void deleteAsset(RequisitionAsset asset)
deleteAsset
asset - a RequisitionAsset object.public void putAsset(RequisitionAsset asset)
putAsset
asset - a RequisitionAsset object.public String getBuilding()
Getter for the field building.
String object.public void setBuilding(String value)
Setter for the field building.
value - a String object.public String getCity()
Getter for the field city.
String object.public void setCity(String value)
Setter for the field city.
value - a String object.public String getForeignId()
Getter for the field foreignId.
String object.public void setForeignId(String value)
Setter for the field foreignId.
value - a String object.public String getNodeLabel()
Getter for the field nodeLabel.
String object.public void setNodeLabel(String value)
Setter for the field nodeLabel.
value - a String object.public String getParentForeignId()
Getter for the field parentForeignId.
String object.public void setParentForeignId(String value)
Setter for the field parentForeignId.
value - a String object.public String getParentNodeLabel()
Getter for the field parentNodeLabel.
String object.public void setParentNodeLabel(String value)
Setter for the field parentNodeLabel.
value - a String object.public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||