Class Requisition

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

public class Requisition extends Object implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
Use this configuration file as an import of nodes, interfaces, and services to OpenNMS by-passing several phases of discovery and capabilities polling.

Java class for model-import element declaration.

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

 <element name="model-import">
   <complexType>
     <complexContent>
       <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
         <sequence>
           <element ref="{http://xmlns.opennms.org/xsd/config/model-import}node" maxOccurs="unbounded" minOccurs="0"/>
         </sequence>
         <attribute name="date-stamp" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
         <attribute name="last-import" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
         <attribute name="foreign-source" type="{http://www.w3.org/2001/XMLSchema}string" default="imported:" />
       </restriction>
     </complexContent>
   </complexType>
 </element>
 
  • Field Details

  • Constructor Details

  • Method Details

    • getNodes

      public List<RequisitionNode> getNodes()
      Gets the value of the nodes 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 nodes property.

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

          getNodes().add(newItem);
       

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

    • isSetNodes

      public boolean isSetNodes()
    • unsetNodes

      public void unsetNodes()
    • getDateStamp

      public XMLGregorianCalendar getDateStamp()
      Gets the value of the dateStamp property.
      Returns:
      possible object is XMLGregorianCalendar
    • setDateStamp

      public void setDateStamp(XMLGregorianCalendar value)
      Sets the value of the dateStamp property.
      Parameters:
      value - allowed object is XMLGregorianCalendar
    • isSetDateStamp

      public boolean isSetDateStamp()
    • getLastImport

      public XMLGregorianCalendar getLastImport()
      Gets the value of the lastImport property.
      Returns:
      possible object is XMLGregorianCalendar
    • setLastImport

      public void setLastImport(XMLGregorianCalendar value)
      Sets the value of the lastImport property.
      Parameters:
      value - allowed object is XMLGregorianCalendar
    • isSetLastImport

      public boolean isSetLastImport()
    • getForeignSource

      public String getForeignSource()
      Gets the value of the foreignSource property.
      Returns:
      possible object is String
    • setForeignSource

      public void setForeignSource(String value)
      Sets the value of the foreignSource property.
      Parameters:
      value - allowed object is String
    • isSetForeignSource

      public boolean isSetForeignSource()
    • 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
    • withNodes

      public Requisition withNodes(RequisitionNode... values)
    • withNodes

      public Requisition withNodes(Collection<RequisitionNode> values)
    • withDateStamp

      public Requisition withDateStamp(XMLGregorianCalendar value)
    • withLastImport

      public Requisition withLastImport(XMLGregorianCalendar value)
    • withForeignSource

      public Requisition withForeignSource(String value)