Class RpcReplyType


  • public class RpcReplyType
    extends java.lang.Object

    Java class for rpcReplyType complex type.

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

     <complexType name="rpcReplyType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <choice>
             <element name="ok" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
             <sequence>
               <element ref="{urn:ietf:params:xml:ns:netconf:base:1.0}rpc-error" maxOccurs="unbounded" minOccurs="0"/>
               <element ref="{urn:ietf:params:xml:ns:netconf:base:1.0}rpcResponse" maxOccurs="unbounded" minOccurs="0"/>
             </sequence>
           </choice>
           <attribute name="message-id" type="{urn:ietf:params:xml:ns:netconf:base:1.0}messageIdType" />
           <anyAttribute processContents='lax'/>
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Summary

      Constructors 
      Constructor Description
      RpcReplyType()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getMessageId()
      Gets the value of the messageId property.
      java.lang.Object getOk()
      Gets the value of the ok property.
      java.util.Map<javax.xml.namespace.QName,​java.lang.String> getOtherAttributes()
      Gets a map that contains attributes that aren't bound to any typed property on this class.
      java.util.List<RpcErrorType> getRpcError()
      Gets the value of the rpcError property.
      java.util.List<RpcResponseType> getRpcResponse()
      Gets the value of the rpcResponse property.
      void setMessageId​(java.lang.String value)
      Sets the value of the messageId property.
      void setOk​(java.lang.Object value)
      Sets the value of the ok property.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • ok

        protected java.lang.Object ok
      • messageId

        protected java.lang.String messageId
    • Constructor Detail

      • RpcReplyType

        public RpcReplyType()
    • Method Detail

      • getOk

        public java.lang.Object getOk()
        Gets the value of the ok property.
        Returns:
        possible object is Object
      • setOk

        public void setOk​(java.lang.Object value)
        Sets the value of the ok property.
        Parameters:
        value - allowed object is Object
      • getRpcError

        public java.util.List<RpcErrorType> getRpcError()
        Gets the value of the rpcError 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 rpcError property.

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

            getRpcError().add(newItem);
         

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

        Returns:
        list of rpc error types
      • getRpcResponse

        public java.util.List<RpcResponseType> getRpcResponse()
        Gets the value of the rpcResponse 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 rpcResponse property.

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

            getRpcResponse().add(newItem);
         

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

        Returns:
        list of rpc response types
      • getMessageId

        public java.lang.String getMessageId()
        Gets the value of the messageId property.
        Returns:
        possible object is String
      • setMessageId

        public void setMessageId​(java.lang.String value)
        Sets the value of the messageId property.
        Parameters:
        value - allowed object is String
      • getOtherAttributes

        public java.util.Map<javax.xml.namespace.QName,​java.lang.String> getOtherAttributes()
        Gets a map that contains attributes that aren't bound to any typed property on this class.

        the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.

        Returns:
        always non-null