com.ibm.etools.iseries.subsystems.qsys.objects
Class QSYSRemoteDatabaseFileRecordFormat
java.lang.Object
com.ibm.etools.iseries.comm.interfaces.ISeriesHostObjectNameOnly
com.ibm.etools.iseries.comm.interfaces.ISeriesHostRecordNameOnly
com.ibm.etools.iseries.comm.interfaces.ISeriesHostRecordBasic
com.ibm.etools.iseries.services.qsys.objects.QSYSHostFileRecordFormat
com.ibm.etools.iseries.services.qsys.objects.QSYSHostDatabaseFileRecordFormat
com.ibm.etools.iseries.subsystems.qsys.objects.QSYSRemoteDatabaseFileRecordFormat
- All Implemented Interfaces:
- IISeriesHostFormatDefinition, IISeriesHostObjectNameOnly, IISeriesHostRecordBasic, IISeriesHostRecordNameOnly, IQSYSDatabaseFileRecordFormat, IQSYSFileRecordFormat, IRemoteObjectContextProvider
public class QSYSRemoteDatabaseFileRecordFormat
- extends QSYSHostDatabaseFileRecordFormat
- implements IRemoteObjectContextProvider
Class representing an IBM i native (QSYS) database file record. This class is used by (and is knowledgeable of)
RSE connections and subsystems. This class should not be directly referenced. All access should be done
using the corresponding IQSYSDatabaseFileRecordFormat
and IRemoteObjectContextProvider
interfaces.
Methods inherited from interface com.ibm.etools.iseries.comm.interfaces.IISeriesHostFormatDefinition |
getDescription, getFile, getID, getLength, getLibrary, getName, setDescription, setFile, setID, setLength, setLibrary, setName |
copyright
public static String copyright
QSYSRemoteDatabaseFileRecordFormat
public QSYSRemoteDatabaseFileRecordFormat()
getAdapter
public Object getAdapter(Class adapter)
getRemoteObjectContext
public IRemoteObjectContext getRemoteObjectContext()
- Description copied from interface:
IRemoteObjectContextProvider
- Get the remote context.
- Specified by:
getRemoteObjectContext
in interface IRemoteObjectContextProvider
setRemoteObjectContext
public void setRemoteObjectContext(IRemoteObjectContext context)
- Set the context for the remote object
- Specified by:
setRemoteObjectContext
in interface IRemoteObjectContextProvider
getParent
public IQSYSFile getParent()
throws SystemMessageException,
InterruptedException
- Description copied from interface:
IQSYSFileRecordFormat
- Return the parent of this object
- Specified by:
getParent
in interface IQSYSFileRecordFormat
- Overrides:
getParent
in class QSYSHostFileRecordFormat
- Throws:
SystemMessageException
InterruptedException
setParent
public void setParent(IQSYSFile file)
throws SystemMessageException,
InterruptedException
- Description copied from interface:
IQSYSFileRecordFormat
- Return the parent of this object
- Specified by:
setParent
in interface IQSYSFileRecordFormat
- Overrides:
setParent
in class QSYSHostFileRecordFormat
- Throws:
SystemMessageException
InterruptedException
getFields
public List getFields()
- This method should be avoided. Use the type save listFields or getField method instead.
(non-Javadoc)
- Specified by:
getFields
in interface IISeriesHostFormatDefinition
- Overrides:
getFields
in class QSYSHostDatabaseFileRecordFormat
- Returns:
- Collection of fields, each an instance of IISeriesHostDatabaseField.
- See Also:
QSYSHostDatabaseFileRecordFormat.getFields()
listFields
public IQSYSDatabaseField[] listFields(IProgressMonitor monitor)
throws SystemMessageException,
InterruptedException
- Return a list of all fields in the record format.
- Specified by:
listFields
in interface IQSYSDatabaseFileRecordFormat
- Overrides:
listFields
in class QSYSHostDatabaseFileRecordFormat
- Throws:
SystemMessageException
InterruptedException
getField
public IQSYSDatabaseField getField(String fieldName,
IProgressMonitor monitor)
throws SystemMessageException,
InterruptedException
- Returns the specified field within the records format or null if the field does not exist
- Specified by:
getField
in interface IQSYSDatabaseFileRecordFormat
- Specified by:
getField
in interface IQSYSFileRecordFormat
- Overrides:
getField
in class QSYSHostDatabaseFileRecordFormat
- Throws:
SystemMessageException
InterruptedException
Copyright © 2011 IBM Corp. All Rights Reserved.
Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.