org.ow2.weblab.core.services.trainable
Class AddTrainResourceArgs

java.lang.Object
  extended by org.ow2.weblab.core.services.trainable.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://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="resource" type="{http://weblab.ow2.org/core/1.2/model#}Resource"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  Resource resource
           
protected  java.lang.String usageContext
           
 
Constructor Summary
AddTrainResourceArgs()
           
 
Method Summary
 Resource getResource()
          Gets the value of the resource property.
 java.lang.String getUsageContext()
          Gets the value of the usageContext property.
 boolean isSetUsageContext()
           
 void setResource(Resource value)
          Sets the value of the resource property.
 void setUsageContext(java.lang.String 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 java.lang.String usageContext

resource

protected Resource resource
Constructor Detail

AddTrainResourceArgs

public AddTrainResourceArgs()
Method Detail

getUsageContext

public java.lang.String getUsageContext()
Gets the value of the usageContext property.

Returns:
possible object is String

setUsageContext

public void setUsageContext(java.lang.String value)
Sets the value of the usageContext property.

Parameters:
value - allowed object is String

isSetUsageContext

public boolean isSetUsageContext()

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-2010. All Rights Reserved.