Class ResourceWrapper<Type extends IridaRepresentationModel>
- java.lang.Object
-
- ca.corefacility.bioinformatics.irida.model.remote.resource.ResourceWrapper<Type>
-
- Type Parameters:
Type
- The type this resource will hold (extendsIridaRepresentationModel
)
public class ResourceWrapper<Type extends IridaRepresentationModel> extends java.lang.Object
Object wrapping a resource read from an Irida API
-
-
Constructor Summary
Constructors Constructor Description ResourceWrapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Type
getResource()
Get the resourcevoid
setResource(Type resource)
Set the resource
-
-
-
Method Detail
-
getResource
public Type getResource()
Get the resource- Returns:
- the
IridaRepresentationModel
wrapped by this object.
-
setResource
public void setResource(Type resource)
Set the resource- Parameters:
resource
- theIridaRepresentationModel
wrapped by this object.
-
-