be.ac.ulg.montefiore.run.totem.domain.model.jaxb.impl
Class InformationImpl.UnitsTypeImpl

java.lang.Object
  extended by be.ac.ulg.montefiore.run.totem.domain.model.jaxb.impl.InformationImpl.UnitsTypeImpl
All Implemented Interfaces:
Information.UnitsType, UnmarshallableObject, ValidatableObject, XMLSerializable, com.sun.xml.bind.JAXBObject
Enclosing class:
InformationImpl

public static class InformationImpl.UnitsTypeImpl
extends java.lang.Object
implements Information.UnitsType, com.sun.xml.bind.JAXBObject, UnmarshallableObject, XMLSerializable, ValidatableObject


Nested Class Summary
 class InformationImpl.UnitsTypeImpl.Unmarshaller
           
 
Field Summary
protected  com.sun.xml.bind.util.ListImpl _Unit
           
static java.lang.Class version
           
 
Constructor Summary
InformationImpl.UnitsTypeImpl()
           
 
Method Summary
protected  com.sun.xml.bind.util.ListImpl _getUnit()
           
 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.lang.Class getPrimaryInterface()
          Gets the main interface that this object implements.
 java.util.List getUnit()
          Gets the value of the Unit property.
 boolean isSetUnit()
           
 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 unsetUnit()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_Unit

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

version

public static final java.lang.Class version
Constructor Detail

InformationImpl.UnitsTypeImpl

public InformationImpl.UnitsTypeImpl()
Method Detail

_getUnit

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

getUnit

public java.util.List getUnit()
Description copied from interface: Information.UnitsType
Gets the value of the Unit 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 Unit property.

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

    getUnit().add(newItem);
 

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

Specified by:
getUnit in interface Information.UnitsType

isSetUnit

public boolean isSetUnit()
Specified by:
isSetUnit in interface Information.UnitsType

unsetUnit

public void unsetUnit()
Specified by:
unsetUnit in interface Information.UnitsType

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.