|
iSeries Remote Systems v6.0.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.etools.iseries.core.api.ISeriesDataElementWrapper
com.ibm.etools.iseries.core.api.ISeriesHostRecordNameOnlyWrapper
Represents a database or device record. It contains all the attributes available for records via the iSeries list-fields api. This base class contains the minimum attributes.
Note that the setXXX methods do not change the record on the host. Rather, their purpose is simply to capture the attribute internally, after reading it from an external source, say.
See the iSeries CL API QUSLRCD for a full description of each attribute
Field Summary | |
---|---|
static String |
copyright
|
Fields inherited from class com.ibm.etools.iseries.core.api.ISeriesDataElementWrapper |
---|
cacheFilter, cacheTimeStamp, dataelement, EXPIRE_TIME, lastException, lastRunMsg, lastRunMsgId, localCache |
Fields inherited from interface com.ibm.etools.iseries.comm.interfaces.IISeriesHostRecordNameOnly |
---|
Copyright |
Constructor Summary | |
---|---|
ISeriesHostRecordNameOnlyWrapper(com.ibm.etools.iseries.comm.interfaces.IISeriesHostRecordNameOnly rcdObj)
Constructor when wrapping an IISeriesHostRecordBasic interface conforming object |
Method Summary | |
---|---|
String |
getAbsoluteName()
From base class. |
Object |
getAdapter(Class adapterType)
This is the method required by the IAdaptable interface. |
String |
getFile()
Return the name of the file containing this record |
String |
getFileType()
Return the type of file this record is from. |
String |
getFullName()
Return fully qualified name: |
String |
getLibrary()
Get the name of the library containing the file containing this record |
String |
getLibraryName()
From base class. |
String |
getName()
Get the name of this record |
protected com.ibm.etools.systems.dstore.core.model.DataElement |
getPropertiesNode()
Retrieve the DataStore properties node for this Record |
com.ibm.etools.iseries.comm.interfaces.IISeriesHostRecordNameOnly |
getRecordObject()
Allow subclasses and others access to the wrappered record object, when not in DataStore mode. |
void |
setFile(String name)
Set the name of the file containing this record |
void |
setFileType(String type)
Set the type of the file containing this record |
void |
setLibrary(String name)
Set the name of the library containing the file containing this record |
void |
setName(String name)
Set the name of this record |
String |
toString()
Convert to a string. |
void |
writeObjectInfo(PrintWriter writer)
Write out debug information to the given stream |
Methods inherited from class com.ibm.etools.iseries.core.api.ISeriesDataElementWrapper |
---|
checkIsConnected, extractProperty, extractPropertyAsBoolean, extractPropertyAsByte, extractPropertyAsChar, extractPropertyAsInt, getCommandSubSystem, getDataElement, getDataStore, getFileSubSystem, getISeriesConnection, getLastException, getLastRunMessage, getLocalCache, getPropertiesNode, runCommand, setLastException, setLocalCache |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final String copyright
Constructor Detail |
public ISeriesHostRecordNameOnlyWrapper(com.ibm.etools.iseries.comm.interfaces.IISeriesHostRecordNameOnly rcdObj)
Method Detail |
public Object getAdapter(Class adapterType)
ISeriesDataElementWrapper
By default this defers to the getAdapter method of the contained DataElement
getAdapter
in interface IAdaptable
getAdapter
in class ISeriesDataElementWrapper
IAdaptable.getAdapter(Class)
public com.ibm.etools.iseries.comm.interfaces.IISeriesHostRecordNameOnly getRecordObject()
public String getAbsoluteName()
Return the absolute object name, which should be the same as calling getAbsoluteName on this object's remote adapter.
Same as getFullName().
We return lib/file RCDNAME(rcd)
getAbsoluteName
in class ISeriesDataElementWrapper
public String getLibraryName()
Return the library containing this remote QSYS file system object
getLibraryName
in class ISeriesDataElementWrapper
public String getFullName()
lib/file RCDNAME(rcd)
public String toString()
getName()
toString
in interface com.ibm.etools.iseries.comm.interfaces.IISeriesHostRecordNameOnly
public void writeObjectInfo(PrintWriter writer)
writeObjectInfo
in interface com.ibm.etools.iseries.comm.interfaces.IISeriesHostRecordNameOnly
public void setFile(String name)
setFile
in interface com.ibm.etools.iseries.comm.interfaces.IISeriesHostRecordNameOnly
public void setFileType(String type)
setFileType
in interface com.ibm.etools.iseries.comm.interfaces.IISeriesHostRecordNameOnly
public void setName(String name)
setName
in interface com.ibm.etools.iseries.comm.interfaces.IISeriesHostObjectNameOnly
public void setLibrary(String name)
setLibrary
in interface com.ibm.etools.iseries.comm.interfaces.IISeriesHostObjectNameOnly
public String getLibrary()
getLibrary
in interface com.ibm.etools.iseries.comm.interfaces.IISeriesHostObjectNameOnly
public String getFile()
getFile
in interface com.ibm.etools.iseries.comm.interfaces.IISeriesHostRecordNameOnly
public String getFileType()
getFileType
in interface com.ibm.etools.iseries.comm.interfaces.IISeriesHostRecordNameOnly
public String getName()
getName
in interface com.ibm.etools.iseries.comm.interfaces.IISeriesHostObjectNameOnly
protected com.ibm.etools.systems.dstore.core.model.DataElement getPropertiesNode()
|
iSeries Remote Systems v6.0.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |