be.ac.ulg.montefiore.run.totem.domain.model.jaxb.impl
Class BgpRouterImpl.NeighborsTypeImpl

java.lang.Object
  extended by be.ac.ulg.montefiore.run.totem.domain.model.jaxb.impl.BgpRouterImpl.NeighborsTypeImpl
All Implemented Interfaces:
BgpRouter.NeighborsType, UnmarshallableObject, ValidatableObject, XMLSerializable, com.sun.xml.bind.JAXBObject
Enclosing class:
BgpRouterImpl

public static class BgpRouterImpl.NeighborsTypeImpl
extends java.lang.Object
implements BgpRouter.NeighborsType, com.sun.xml.bind.JAXBObject, UnmarshallableObject, XMLSerializable, ValidatableObject


Nested Class Summary
 class BgpRouterImpl.NeighborsTypeImpl.Unmarshaller
           
 
Field Summary
protected  com.sun.xml.bind.util.ListImpl _Neighbor
           
static java.lang.Class version
           
 
Constructor Summary
BgpRouterImpl.NeighborsTypeImpl()
           
 
Method Summary
protected  com.sun.xml.bind.util.ListImpl _getNeighbor()
           
 com.sun.msv.verifier.DocumentDeclaration createRawValidator()
          Gets the schema fragment associated with this class.
 UnmarshallingEventHandler createUnmarshaller(UnmarshallingContext context)
          Creates an unmarshaller that will unmarshall this object.
 java.util.List getNeighbor()
          Gets the value of the Neighbor property.
 java.lang.Class getPrimaryInterface()
          Gets the main interface that this object implements.
 boolean isSetNeighbor()
           
 void serializeAttributes(XMLSerializer context)
          Serializes attributes into the specified target.
 void serializeBody(XMLSerializer context)
          Serializes child elements and texts into the specified target.
 void serializeURIs(XMLSerializer context)
          Declares all the namespace URIs this object is using at its top-level scope into the specified target.
 void unsetNeighbor()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_Neighbor

protected com.sun.xml.bind.util.ListImpl _Neighbor

version

public static final java.lang.Class version
Constructor Detail

BgpRouterImpl.NeighborsTypeImpl

public BgpRouterImpl.NeighborsTypeImpl()
Method Detail

_getNeighbor

protected com.sun.xml.bind.util.ListImpl _getNeighbor()

getNeighbor

public java.util.List getNeighbor()
Description copied from interface: BgpRouter.NeighborsType
Gets the value of the Neighbor 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 Neighbor property.

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

    getNeighbor().add(newItem);
 

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

Specified by:
getNeighbor in interface BgpRouter.NeighborsType

isSetNeighbor

public boolean isSetNeighbor()
Specified by:
isSetNeighbor in interface BgpRouter.NeighborsType

unsetNeighbor

public void unsetNeighbor()
Specified by:
unsetNeighbor in interface BgpRouter.NeighborsType

createUnmarshaller

public UnmarshallingEventHandler createUnmarshaller(UnmarshallingContext context)
Description copied from interface: UnmarshallableObject
Creates an unmarshaller that will unmarshall this object.

Specified by:
createUnmarshaller in interface UnmarshallableObject

serializeBody

public void serializeBody(XMLSerializer context)
                   throws org.xml.sax.SAXException
Description copied from interface: XMLSerializable
Serializes child elements and texts into the specified target.

Specified by:
serializeBody in interface XMLSerializable
Throws:
org.xml.sax.SAXException

serializeAttributes

public void serializeAttributes(XMLSerializer context)
                         throws org.xml.sax.SAXException
Description copied from interface: XMLSerializable
Serializes attributes into the specified target.

Specified by:
serializeAttributes in interface XMLSerializable
Throws:
org.xml.sax.SAXException

serializeURIs

public void serializeURIs(XMLSerializer context)
                   throws org.xml.sax.SAXException
Description copied from interface: XMLSerializable
Declares all the namespace URIs this object is using at its top-level scope into the specified target.

Specified by:
serializeURIs in interface XMLSerializable
Throws:
org.xml.sax.SAXException

getPrimaryInterface

public java.lang.Class getPrimaryInterface()
Description copied from interface: ValidatableObject
Gets the main interface that this object implements. For example, FooImpl will return Foo from this method.

Specified by:
getPrimaryInterface in interface ValidatableObject

createRawValidator

public com.sun.msv.verifier.DocumentDeclaration createRawValidator()
Description copied from interface: ValidatableObject
Gets the schema fragment associated with this class.

Specified by:
createRawValidator in interface ValidatableObject


Copyright © 2004-2007 Research Unit in Networking, All Rights Reserved.