org.weblab_project.services.trainable.types
Class AddTrainResourceArgs

java.lang.Object
  extended by org.weblab_project.services.trainable.types.AddTrainResourceArgs
All Implemented Interfaces:
java.io.Serializable

public class AddTrainResourceArgs
extends java.lang.Object
implements java.io.Serializable

Wrapper containing the resource to add and the usage context.

Java class for addTrainResourceArgs complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="addTrainResourceArgs">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="usageContext" type="{http://weblab-project.org/core/model/user}usageContext" minOccurs="0"/>
         <element name="resource" type="{http://weblab-project.org/core/model/}resource"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  Resource resource
           
protected  UsageContext usageContext
           
 
Constructor Summary
AddTrainResourceArgs()
           
 
Method Summary
 Resource getResource()
          Gets the value of the resource property.
 UsageContext getUsageContext()
          Gets the value of the usageContext property.
 void setResource(Resource value)
          Sets the value of the resource property.
 void setUsageContext(UsageContext value)
          Sets the value of the usageContext property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

usageContext

protected UsageContext usageContext

resource

protected Resource resource
Constructor Detail

AddTrainResourceArgs

public AddTrainResourceArgs()
Method Detail

getUsageContext

public UsageContext getUsageContext()
Gets the value of the usageContext property.

Returns:
possible object is UsageContext

setUsageContext

public void setUsageContext(UsageContext value)
Sets the value of the usageContext property.

Parameters:
value - allowed object is UsageContext

getResource

public Resource getResource()
Gets the value of the resource property.

Returns:
possible object is Resource

setResource

public void setResource(Resource value)
Sets the value of the resource property.

Parameters:
value - allowed object is Resource


Copyright © 2004-2009. All Rights Reserved.