Class RpcReplyType
- java.lang.Object
-
- org.onosproject.netconf.rpc.RpcReplyType
-
public class RpcReplyType extends java.lang.ObjectJava 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>
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringmessageIdprotected java.lang.Objectokprotected java.util.List<RpcErrorType>rpcErrorprotected java.util.List<RpcResponseType>rpcResponse
-
Constructor Summary
Constructors Constructor Description RpcReplyType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetMessageId()Gets the value of the messageId property.java.lang.ObjectgetOk()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.voidsetMessageId(java.lang.String value)Sets the value of the messageId property.voidsetOk(java.lang.Object value)Sets the value of the ok property.
-
-
-
Field Detail
-
ok
protected java.lang.Object ok
-
rpcError
protected java.util.List<RpcErrorType> rpcError
-
rpcResponse
protected java.util.List<RpcResponseType> rpcResponse
-
messageId
protected java.lang.String messageId
-
-
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 isObject
-
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
setmethod 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
setmethod 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 isString
-
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
-
-