Class RequisitionNode

java.lang.Object
org.opennms.pris.model.RequisitionNode
All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2

public class RequisitionNode extends Object implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
A node in OpenNMS is a network entity that is used to contain network interfaces and those interface's services.

Java class for node element declaration.

The following schema fragment specifies the expected content contained within this class.

 <element name="node">
   <complexType>
     <complexContent>
       <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
         <sequence>
           <element ref="{http://xmlns.opennms.org/xsd/config/model-import}interface" maxOccurs="unbounded" minOccurs="0"/>
           <element ref="{http://xmlns.opennms.org/xsd/config/model-import}category" maxOccurs="unbounded" minOccurs="0"/>
           <element ref="{http://xmlns.opennms.org/xsd/config/model-import}asset" maxOccurs="unbounded" minOccurs="0"/>
           <element ref="{http://xmlns.opennms.org/xsd/config/model-import}meta-data" maxOccurs="unbounded" minOccurs="0"/>
         </sequence>
         <attribute name="node-label" use="required">
           <simpleType>
             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
               <pattern value=".*"/>
             </restriction>
           </simpleType>
         </attribute>
         <attribute name="foreign-id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
         <attribute name="parent-foreign-source" type="{http://www.w3.org/2001/XMLSchema}string" />
         <attribute name="parent-foreign-id" type="{http://www.w3.org/2001/XMLSchema}string" />
         <attribute name="parent-node-label" type="{http://www.w3.org/2001/XMLSchema}string" />
         <attribute name="location" type="{http://www.w3.org/2001/XMLSchema}string" />
         <attribute name="city" type="{http://www.w3.org/2001/XMLSchema}string" />
         <attribute name="building" type="{http://www.w3.org/2001/XMLSchema}string" />
       </restriction>
     </complexContent>
   </complexType>
 </element>
 
  • Field Details

  • Constructor Details

  • Method Details

    • getInterfaces

      public List<RequisitionInterface> getInterfaces()
      Gets the value of the interfaces property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the interfaces property.

      For example, to add a new item, do as follows:

          getInterfaces().add(newItem);
       

      Objects of the following type(s) are allowed in the list RequisitionInterface

    • isSetInterfaces

      public boolean isSetInterfaces()
    • unsetInterfaces

      public void unsetInterfaces()
    • getCategories

      public List<RequisitionCategory> getCategories()
      Gets the value of the categories property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the categories property.

      For example, to add a new item, do as follows:

          getCategories().add(newItem);
       

      Objects of the following type(s) are allowed in the list RequisitionCategory

    • isSetCategories

      public boolean isSetCategories()
    • unsetCategories

      public void unsetCategories()
    • getAssets

      public List<RequisitionAsset> getAssets()
      Gets the value of the assets property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the assets property.

      For example, to add a new item, do as follows:

          getAssets().add(newItem);
       

      Objects of the following type(s) are allowed in the list RequisitionAsset

    • isSetAssets

      public boolean isSetAssets()
    • unsetAssets

      public void unsetAssets()
    • getMetaDatas

      public List<MetaData> getMetaDatas()
      Gets the value of the metaDatas property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the metaDatas property.

      For example, to add a new item, do as follows:

          getMetaDatas().add(newItem);
       

      Objects of the following type(s) are allowed in the list MetaData

    • isSetMetaDatas

      public boolean isSetMetaDatas()
    • unsetMetaDatas

      public void unsetMetaDatas()
    • getNodeLabel

      public String getNodeLabel()
      Gets the value of the nodeLabel property.
      Returns:
      possible object is String
    • setNodeLabel

      public void setNodeLabel(String value)
      Sets the value of the nodeLabel property.
      Parameters:
      value - allowed object is String
    • isSetNodeLabel

      public boolean isSetNodeLabel()
    • getForeignId

      public String getForeignId()
      Gets the value of the foreignId property.
      Returns:
      possible object is String
    • setForeignId

      public void setForeignId(String value)
      Sets the value of the foreignId property.
      Parameters:
      value - allowed object is String
    • isSetForeignId

      public boolean isSetForeignId()
    • getParentForeignSource

      public String getParentForeignSource()
      Gets the value of the parentForeignSource property.
      Returns:
      possible object is String
    • setParentForeignSource

      public void setParentForeignSource(String value)
      Sets the value of the parentForeignSource property.
      Parameters:
      value - allowed object is String
    • isSetParentForeignSource

      public boolean isSetParentForeignSource()
    • getParentForeignId

      public String getParentForeignId()
      Gets the value of the parentForeignId property.
      Returns:
      possible object is String
    • setParentForeignId

      public void setParentForeignId(String value)
      Sets the value of the parentForeignId property.
      Parameters:
      value - allowed object is String
    • isSetParentForeignId

      public boolean isSetParentForeignId()
    • getParentNodeLabel

      public String getParentNodeLabel()
      Gets the value of the parentNodeLabel property.
      Returns:
      possible object is String
    • setParentNodeLabel

      public void setParentNodeLabel(String value)
      Sets the value of the parentNodeLabel property.
      Parameters:
      value - allowed object is String
    • isSetParentNodeLabel

      public boolean isSetParentNodeLabel()
    • getLocation

      public String getLocation()
      Gets the value of the location property.
      Returns:
      possible object is String
    • setLocation

      public void setLocation(String value)
      Sets the value of the location property.
      Parameters:
      value - allowed object is String
    • isSetLocation

      public boolean isSetLocation()
    • getCity

      public String getCity()
      Gets the value of the city property.
      Returns:
      possible object is String
    • setCity

      public void setCity(String value)
      Sets the value of the city property.
      Parameters:
      value - allowed object is String
    • isSetCity

      public boolean isSetCity()
    • getBuilding

      public String getBuilding()
      Gets the value of the building property.
      Returns:
      possible object is String
    • setBuilding

      public void setBuilding(String value)
      Sets the value of the building property.
      Parameters:
      value - allowed object is String
    • isSetBuilding

      public boolean isSetBuilding()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • append

      public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
      Specified by:
      append in interface org.jvnet.jaxb2_commons.lang.ToString2
    • appendFields

      public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
      Specified by:
      appendFields in interface org.jvnet.jaxb2_commons.lang.ToString2
    • equals

      public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
      Specified by:
      equals in interface org.jvnet.jaxb2_commons.lang.Equals2
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
      Specified by:
      hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • withInterfaces

      public RequisitionNode withInterfaces(RequisitionInterface... values)
    • withInterfaces

      public RequisitionNode withInterfaces(Collection<RequisitionInterface> values)
    • withCategories

      public RequisitionNode withCategories(RequisitionCategory... values)
    • withCategories

      public RequisitionNode withCategories(Collection<RequisitionCategory> values)
    • withAssets

      public RequisitionNode withAssets(RequisitionAsset... values)
    • withAssets

      public RequisitionNode withAssets(Collection<RequisitionAsset> values)
    • withMetaDatas

      public RequisitionNode withMetaDatas(MetaData... values)
    • withMetaDatas

      public RequisitionNode withMetaDatas(Collection<MetaData> values)
    • withNodeLabel

      public RequisitionNode withNodeLabel(String value)
    • withForeignId

      public RequisitionNode withForeignId(String value)
    • withParentForeignSource

      public RequisitionNode withParentForeignSource(String value)
    • withParentForeignId

      public RequisitionNode withParentForeignId(String value)
    • withParentNodeLabel

      public RequisitionNode withParentNodeLabel(String value)
    • withLocation

      public RequisitionNode withLocation(String value)
    • withCity

      public RequisitionNode withCity(String value)
    • withBuilding

      public RequisitionNode withBuilding(String value)