Arquillian Persistence Extension Implementation 1.0.0.Alpha4

org.jboss.arquillian.persistence.data.descriptor
Class ResourceDescriptor<T>

java.lang.Object
  extended by org.jboss.arquillian.persistence.data.descriptor.ResourceDescriptor<T>
Type Parameters:
T - parametrized resource format class.
Direct Known Subclasses:
DataSetResourceDescriptor, SqlScriptResourceDescriptor

public abstract class ResourceDescriptor<T>
extends Object

Describes resource attributes such as it's location in classpath and format.

Author:
Bartosz Majsak

Field Summary
protected  T format
           
protected  String location
           
 
Constructor Summary
ResourceDescriptor(String location, T format)
           
 
Method Summary
 T getFormat()
           
 String getLocation()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

location

protected final String location

format

protected final T format
Constructor Detail

ResourceDescriptor

public ResourceDescriptor(String location,
                          T format)
Method Detail

getLocation

public String getLocation()

getFormat

public T getFormat()

Arquillian Persistence Extension Implementation 1.0.0.Alpha4

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.