com.pushtotest.testmaker.XSTest.xml.TestScenario.impl
Class UsecaseTImpl

java.lang.Object
  extended by com.pushtotest.testmaker.XSTest.xml.TestScenario.impl.UsecaseTImpl
All Implemented Interfaces:
UnmarshallableObject, ValidatableObject, XMLSerializable, UsecaseT, com.sun.xml.bind.JAXBObject

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


Nested Class Summary
 class UsecaseTImpl.Unmarshaller
           
 
Field Summary
protected  java.lang.String _Name
           
protected  com.sun.xml.bind.util.ListImpl _Sequence
           
protected  CallT _Setup
           
protected  CallT _Teardown
           
protected  TestT _Test
           
static java.lang.Class version
           
 
Constructor Summary
UsecaseTImpl()
           
 
Method Summary
protected  com.sun.xml.bind.util.ListImpl _getSequence()
           
 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.String getName()
          Gets the value of the name property.
 java.lang.Class getPrimaryInterface()
          Gets the main interface that this object implements.
 java.util.List getSequence()
          Gets the value of the Sequence property.
 CallT getSetup()
          Gets the value of the setup property.
 CallT getTeardown()
          Gets the value of the teardown property.
 TestT getTest()
          Gets the value of the test property.
 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 setName(java.lang.String value)
          Sets the value of the name property.
 void setSetup(CallT value)
          Sets the value of the setup property.
 void setTeardown(CallT value)
          Sets the value of the teardown property.
 void setTest(TestT value)
          Sets the value of the test property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_Teardown

protected CallT _Teardown

_Sequence

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

_Test

protected TestT _Test

_Setup

protected CallT _Setup

_Name

protected java.lang.String _Name

version

public static final java.lang.Class version
Constructor Detail

UsecaseTImpl

public UsecaseTImpl()
Method Detail

getTeardown

public CallT getTeardown()
Description copied from interface: UsecaseT
Gets the value of the teardown property.

Specified by:
getTeardown in interface UsecaseT
Returns:
possible object is CallT

setTeardown

public void setTeardown(CallT value)
Description copied from interface: UsecaseT
Sets the value of the teardown property.

Specified by:
setTeardown in interface UsecaseT
Parameters:
value - allowed object is CallT

_getSequence

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

getSequence

public java.util.List getSequence()
Description copied from interface: UsecaseT
Gets the value of the Sequence 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 Sequence property.

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

    getSequence().add(newItem);
 

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

Specified by:
getSequence in interface UsecaseT

getTest

public TestT getTest()
Description copied from interface: UsecaseT
Gets the value of the test property.

Specified by:
getTest in interface UsecaseT
Returns:
possible object is TestT

setTest

public void setTest(TestT value)
Description copied from interface: UsecaseT
Sets the value of the test property.

Specified by:
setTest in interface UsecaseT
Parameters:
value - allowed object is TestT

getSetup

public CallT getSetup()
Description copied from interface: UsecaseT
Gets the value of the setup property.

Specified by:
getSetup in interface UsecaseT
Returns:
possible object is CallT

setSetup

public void setSetup(CallT value)
Description copied from interface: UsecaseT
Sets the value of the setup property.

Specified by:
setSetup in interface UsecaseT
Parameters:
value - allowed object is CallT

getName

public java.lang.String getName()
Description copied from interface: UsecaseT
Gets the value of the name property.

Specified by:
getName in interface UsecaseT
Returns:
possible object is String

setName

public void setName(java.lang.String value)
Description copied from interface: UsecaseT
Sets the value of the name property.

Specified by:
setName in interface UsecaseT
Parameters:
value - allowed object is String

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