Class ErrorInfoType
- java.lang.Object
-
- org.onosproject.netconf.rpc.ErrorInfoType
-
public class ErrorInfoType extends java.lang.ObjectJava class for errorInfoType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="errorInfoType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <choice> <element name="session-id" type="{urn:ietf:params:xml:ns:netconf:base:1.0}SessionIdOrZero"/> <sequence maxOccurs="unbounded" minOccurs="0"> <sequence> <element name="bad-attribute" type="{http://www.w3.org/2001/XMLSchema}QName" minOccurs="0"/> <element name="bad-element" type="{http://www.w3.org/2001/XMLSchema}QName" minOccurs="0"/> <element name="ok-element" type="{http://www.w3.org/2001/XMLSchema}QName" minOccurs="0"/> <element name="err-element" type="{http://www.w3.org/2001/XMLSchema}QName" minOccurs="0"/> <element name="noop-element" type="{http://www.w3.org/2001/XMLSchema}QName" minOccurs="0"/> <element name="bad-namespace" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> </sequence> </sequence> </choice> <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<java.lang.Object>anyprotected java.util.List<javax.xml.bind.JAXBElement<? extends java.io.Serializable>>badAttributeAndBadElementAndOkElementprotected java.lang.LongsessionId
-
Constructor Summary
Constructors Constructor Description ErrorInfoType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.Object>getAny()Gets the value of the any property.java.util.List<javax.xml.bind.JAXBElement<? extends java.io.Serializable>>getBadAttributeAndBadElementAndOkElement()Gets the value of the badAttributeAndBadElementAndOkElement property.java.lang.LonggetSessionId()Gets the value of the sessionId property.voidsetSessionId(java.lang.Long value)Sets the value of the sessionId property.
-
-
-
Method Detail
-
getSessionId
public java.lang.Long getSessionId()
Gets the value of the sessionId property.- Returns:
- possible object is
Long
-
setSessionId
public void setSessionId(java.lang.Long value)
Sets the value of the sessionId property.- Parameters:
value- allowed object isLong
-
getBadAttributeAndBadElementAndOkElement
public java.util.List<javax.xml.bind.JAXBElement<? extends java.io.Serializable>> getBadAttributeAndBadElementAndOkElement()
Gets the value of the badAttributeAndBadElementAndOkElement 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
For example, to add a new item, do as follows:setmethod for the badAttributeAndBadElementAndOkElement property.getBadAttributeAndBadElementAndOkElement().add(newItem);Objects of the following type(s) are allowed in the list
JAXBElement<QName>JAXBElement<QName>JAXBElement<QName>JAXBElement<QName>JAXBElement<QName>JAXBElement<String>- Returns:
- list of properties
-
getAny
public java.util.List<java.lang.Object> getAny()
Gets the value of the any 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
For example, to add a new item, do as follows:setmethod for the any property.getAny().add(newItem);Objects of the following type(s) are allowed in the list
ElementObject- Returns:
- list of properties
-
-