be.ac.ulg.montefiore.run.totem.trafficMatrix.model.jaxb.impl
Class UnitTypeImpl

java.lang.Object
  extended by be.ac.ulg.montefiore.run.totem.trafficMatrix.model.jaxb.impl.UnitTypeImpl
All Implemented Interfaces:
UnitType, UnmarshallableObject, ValidatableObject, XMLSerializable, com.sun.xml.bind.JAXBObject
Direct Known Subclasses:
UnitImpl

public class UnitTypeImpl
extends java.lang.Object
implements UnitType, com.sun.xml.bind.JAXBObject, UnmarshallableObject, XMLSerializable, ValidatableObject


Nested Class Summary
 class UnitTypeImpl.Unmarshaller
           
 
Field Summary
protected  UnitsType _Type
           
protected  java.lang.Object _Value
           
static java.lang.Class version
           
 
Constructor Summary
UnitTypeImpl()
           
 
Method Summary
 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.
 UnitsType getType()
          Gets the value of the type property.
 java.lang.Object getValue()
          Gets the value of the value property.
 boolean isSetType()
           
 boolean isSetValue()
           
 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 setType(UnitsType value)
          Sets the value of the type property.
 void setValue(java.lang.Object value)
          Sets the value of the value property.
 void unsetType()
           
 void unsetValue()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_Type

protected UnitsType _Type

_Value

protected java.lang.Object _Value

version

public static final java.lang.Class version
Constructor Detail

UnitTypeImpl

public UnitTypeImpl()
Method Detail

getType

public UnitsType getType()
Description copied from interface: UnitType
Gets the value of the type property.

Specified by:
getType in interface UnitType
Returns:
possible object is UnitsType

setType

public void setType(UnitsType value)
Description copied from interface: UnitType
Sets the value of the type property.

Specified by:
setType in interface UnitType
Parameters:
value - allowed object is UnitsType

isSetType

public boolean isSetType()
Specified by:
isSetType in interface UnitType

unsetType

public void unsetType()
Specified by:
unsetType in interface UnitType

getValue

public java.lang.Object getValue()
Description copied from interface: UnitType
Gets the value of the value property.

Specified by:
getValue in interface UnitType
Returns:
possible object is DelayUnits BandwidthUnits

setValue

public void setValue(java.lang.Object value)
Description copied from interface: UnitType
Sets the value of the value property.

Specified by:
setValue in interface UnitType
Parameters:
value - allowed object is DelayUnits BandwidthUnits

isSetValue

public boolean isSetValue()
Specified by:
isSetValue in interface UnitType

unsetValue

public void unsetValue()
Specified by:
unsetValue in interface UnitType

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.