org.gcube.application.aquamaps.aquamapsservice.stubs.datamodel.enhanced
Class CustomQueryDescriptor

java.lang.Object
  extended by org.gcube.application.aquamaps.aquamapsservice.stubs.datamodel.enhanced.CustomQueryDescriptor

public class CustomQueryDescriptor
extends Object


Constructor Summary
CustomQueryDescriptor()
           
CustomQueryDescriptor(org.gcube.application.aquamaps.aquamapsservice.stubs.CustomQueryDescriptorStubs stubs)
           
CustomQueryDescriptor(List<Field> row)
           
CustomQueryDescriptor(ResultSet rs)
           
 
Method Summary
 String getActualTableName()
           
 Long getCreationTime()
           
 String getErrorMessage()
           
 Field getField(CustomQueryDescriptorFields fieldName)
           
 ArrayList<Field> getFields()
           
 Long getLastAccess()
           
 String getQuery()
           
 Long getRows()
           
 org.gcube.application.aquamaps.aquamapsservice.stubs.ExportStatus getStatus()
           
 String getUser()
           
static ArrayList<CustomQueryDescriptor> loadResultSet(ResultSet rs)
           
 void setActualTableName(String actualTableName)
           
 void setCreationTime(Long creationTime)
           
 void setErrorMessage(String errorMessage)
           
 boolean setField(Field f)
           
 void setFields(ArrayList<Field> fields)
           
 void setLastAccess(Long lastAccess)
           
 void setQuery(String query)
           
 void setRows(Long rows)
           
 void setStatus(org.gcube.application.aquamaps.aquamapsservice.stubs.ExportStatus status)
           
 void setUser(String user)
           
 List<Field> toRow()
           
 String toString()
           
 org.gcube.application.aquamaps.aquamapsservice.stubs.CustomQueryDescriptorStubs toStubsVersion()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CustomQueryDescriptor

public CustomQueryDescriptor()

CustomQueryDescriptor

public CustomQueryDescriptor(ResultSet rs)
                      throws Exception
Throws:
Exception

CustomQueryDescriptor

public CustomQueryDescriptor(List<Field> row)

CustomQueryDescriptor

public CustomQueryDescriptor(org.gcube.application.aquamaps.aquamapsservice.stubs.CustomQueryDescriptorStubs stubs)
Method Detail

loadResultSet

public static ArrayList<CustomQueryDescriptor> loadResultSet(ResultSet rs)
                                                      throws Exception
Throws:
Exception

setField

public boolean setField(Field f)
                 throws JSONException
Throws:
JSONException

getField

public Field getField(CustomQueryDescriptorFields fieldName)

toRow

public List<Field> toRow()
                  throws JSONException
Throws:
JSONException

getUser

public String getUser()
Returns:
the user

setUser

public void setUser(String user)
Parameters:
user - the user to set

getRows

public Long getRows()
Returns:
the rows

setRows

public void setRows(Long rows)
Parameters:
rows - the rows to set

getFields

public ArrayList<Field> getFields()
Returns:
the fields

setFields

public void setFields(ArrayList<Field> fields)
Parameters:
fields - the fields to set

getStatus

public org.gcube.application.aquamaps.aquamapsservice.stubs.ExportStatus getStatus()
Returns:
the status

setStatus

public void setStatus(org.gcube.application.aquamaps.aquamapsservice.stubs.ExportStatus status)
Parameters:
status - the status to set

getErrorMessage

public String getErrorMessage()
Returns:
the errorMessage

setErrorMessage

public void setErrorMessage(String errorMessage)
Parameters:
errorMessage - the errorMessage to set

getActualTableName

public String getActualTableName()
Returns:
the actualTableName

setActualTableName

public void setActualTableName(String actualTableName)
Parameters:
actualTableName - the actualTableName to set

getQuery

public String getQuery()
Returns:
the query

setQuery

public void setQuery(String query)
Parameters:
query - the query to set

getCreationTime

public Long getCreationTime()
Returns:
the creationTime

setCreationTime

public void setCreationTime(Long creationTime)
Parameters:
creationTime - the creationTime to set

getLastAccess

public Long getLastAccess()
Returns:
the lastAccess

setLastAccess

public void setLastAccess(Long lastAccess)
Parameters:
lastAccess - the lastAccess to set

toStubsVersion

public org.gcube.application.aquamaps.aquamapsservice.stubs.CustomQueryDescriptorStubs toStubsVersion()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013. All Rights Reserved.