Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.subsystems.qsys.objects
Class QSYSRemoteMember

java.lang.Object
  extended by com.ibm.etools.iseries.comm.interfaces.ISeriesHostObjectNameOnly
      extended by com.ibm.etools.iseries.comm.interfaces.ISeriesHostObjectBrief
          extended by com.ibm.etools.iseries.comm.interfaces.ISeriesHostMemberBrief
              extended by com.ibm.etools.iseries.comm.interfaces.ISeriesHostMemberBasic
                  extended by com.ibm.etools.iseries.services.qsys.objects.QSYSHostMember
                      extended by com.ibm.etools.iseries.subsystems.qsys.objects.QSYSRemoteMember
All Implemented Interfaces:
IISeriesHostMemberBasic, IISeriesHostMemberBrief, IISeriesHostMemberNameOnly, IISeriesHostObjectBasic, IISeriesHostObjectBrief, IISeriesHostObjectNameOnly, IQSYSMember, IQSYSResource, IRemoteObjectContextProvider
Direct Known Subclasses:
QSYSRemoteDataMember, QSYSRemoteSourceMember

public class QSYSRemoteMember
extends QSYSHostMember
implements IRemoteObjectContextProvider

Class representing an IBM i native (QSYS) member. 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 IQSYSMember and IRemoteObjectContextProvider interfaces.


Field Summary
static String copyright
           
 
Fields inherited from class com.ibm.etools.iseries.comm.interfaces.ISeriesHostMemberBasic
changeDate, createDate, size
 
Fields inherited from class com.ibm.etools.iseries.comm.interfaces.ISeriesHostObjectBrief
Copyright, subtype, type
 
Fields inherited from class com.ibm.etools.iseries.comm.interfaces.ISeriesHostObjectNameOnly
library, name
 
Fields inherited from interface com.ibm.etools.iseries.comm.interfaces.IISeriesHostObjectBrief
STATUS_DAMAGED, STATUS_LOCKED, STATUS_NOTAUTHORIZED, STATUS_OK, STATUS_PARTIALLYDAMAGED, STATUS_STRING_DAMAGED, STATUS_STRING_LOCKED, STATUS_STRING_NOTAUTHORIZED, STATUS_STRING_PARTIALLYDAMAGED
 
Constructor Summary
QSYSRemoteMember()
           
 
Method Summary
 boolean canRead()
          Test if the current user profile has read access to the member
 boolean canWrite()
          Test if the current user profile has write access to the member
 void clearCachedProperties()
          Clear cached properties, next access to the properties will refresh them from the server.
 boolean equals(Object obj)
          Two QSYSHostMember objects are equal if they have the same library, file and member.
 boolean exists()
          This operation is not supported at the service layer.
 Object getAdapter(Class adapter)
           
 IBMiConnection getConnection()
           
 Date getDateCreated()
          Returns the date the resource was created.
 Date getDateModified()
          Returns the date the resource was last modified.
 Date getDateRestored()
          Return the saved date
 Date getDateSaved()
          Return the saved date
 int getNumberOfDeletedRecords()
          Return the number of deleted records
 int getNumberOfRecords()
          Return the number of records
 IQSYSResource getParent()
          This operation is not supported at the service layer.
 IRemoteObjectContext getRemoteObjectContext()
          Get the remote context.
 long getSize()
          Returns the size of the resource.
 boolean hasAdvancedProperties()
          Set whether this object has advanced properties.
 boolean hasBasicProperties()
          Set whether this object has basic details.
 int hashCode()
           
 void setDateCreated(Date date)
           
 void setNumberOfRecords(int records)
          Set the number of records
 void setRemoteObjectContext(IRemoteObjectContext context)
          Set the remote context.
 
Methods inherited from class com.ibm.etools.iseries.services.qsys.objects.QSYSHostMember
setDateRestored, setDateSaved, setNumberOfDeletedRecords
 
Methods inherited from class com.ibm.etools.iseries.comm.interfaces.ISeriesHostMemberBasic
getAbsoluteName, getFullName, setDateModified, setSize, writeObjectInfo
 
Methods inherited from class com.ibm.etools.iseries.comm.interfaces.ISeriesHostMemberBrief
getFile, setFile, toString
 
Methods inherited from class com.ibm.etools.iseries.comm.interfaces.ISeriesHostObjectBrief
getDescription, getInformationStatus, getSubType, getType, setDescription, setInformationStatus, setSubType, setType
 
Methods inherited from class com.ibm.etools.iseries.comm.interfaces.ISeriesHostObjectNameOnly
getLibrary, getName, setLibrary, setName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.ibm.etools.iseries.comm.interfaces.IISeriesHostObjectBasic
setDateModified, setSize
 
Methods inherited from interface com.ibm.etools.iseries.comm.interfaces.IISeriesHostMemberBrief
getFile, setFile
 
Methods inherited from interface com.ibm.etools.iseries.comm.interfaces.IISeriesHostObjectBrief
getDescription, getInformationStatus, getSubType, getType, setDescription, setInformationStatus, setSubType, setType
 
Methods inherited from interface com.ibm.etools.iseries.comm.interfaces.IISeriesHostMemberNameOnly
toString, writeObjectInfo
 
Methods inherited from interface com.ibm.etools.iseries.comm.interfaces.IISeriesHostObjectNameOnly
getLibrary, getName, setLibrary, setName
 
Methods inherited from interface com.ibm.etools.iseries.services.qsys.api.IQSYSResource
getAbsoluteName, getDescription, getFullName, getLibrary, getName, getSubType, getType, setDescription, setLibrary, setName, setSubType, setType
 

Field Detail

copyright

public static String copyright
Constructor Detail

QSYSRemoteMember

public QSYSRemoteMember()
Method Detail

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)
Description copied from interface: IRemoteObjectContextProvider
Set the remote context.

Specified by:
setRemoteObjectContext in interface IRemoteObjectContextProvider

equals

public boolean equals(Object obj)
Description copied from class: ISeriesHostMemberBasic
Two QSYSHostMember objects are equal if they have the same library, file and member.

Overrides:
equals in class ISeriesHostMemberBasic
See Also:
Object.equals(java.lang.Object)

hashCode

public int hashCode()
Overrides:
hashCode in class ISeriesHostMemberBasic

exists

public boolean exists()
               throws SystemMessageException,
                      InterruptedException
Description copied from class: QSYSHostMember
This operation is not supported at the service layer. Use the service API directly instead. (non-Javadoc)

Specified by:
exists in interface IQSYSResource
Overrides:
exists in class QSYSHostMember
Throws:
SystemMessageException
InterruptedException
See Also:
IQSYSResource.exists()

canRead

public boolean canRead()
                throws SystemMessageException
Description copied from interface: IQSYSMember
Test if the current user profile has read access to the member

Specified by:
canRead in interface IQSYSMember
Overrides:
canRead in class QSYSHostMember
Throws:
SystemMessageException

canWrite

public boolean canWrite()
                 throws SystemMessageException
Description copied from interface: IQSYSMember
Test if the current user profile has write access to the member

Specified by:
canWrite in interface IQSYSMember
Overrides:
canWrite in class QSYSHostMember
Throws:
SystemMessageException

getParent

public IQSYSResource getParent()
                        throws SystemMessageException,
                               InterruptedException
Description copied from class: QSYSHostMember
This operation is not supported at the service layer. Use the service API directly instead. (non-Javadoc)

Specified by:
getParent in interface IQSYSResource
Overrides:
getParent in class QSYSHostMember
Throws:
SystemMessageException
InterruptedException
See Also:
IQSYSResource.getParent()

getConnection

public IBMiConnection getConnection()

hasBasicProperties

public boolean hasBasicProperties()
Set whether this object has basic details.

Returns:

hasAdvancedProperties

public boolean hasAdvancedProperties()
Set whether this object has advanced properties.

Returns:

getDateCreated

public Date getDateCreated()
Description copied from interface: IQSYSResource
Returns the date the resource was created.

Specified by:
getDateCreated in interface IISeriesHostObjectBasic
Specified by:
getDateCreated in interface IQSYSResource
Overrides:
getDateCreated in class ISeriesHostMemberBasic

getDateModified

public Date getDateModified()
Description copied from interface: IQSYSResource
Returns the date the resource was last modified.

Specified by:
getDateModified in interface IISeriesHostObjectBasic
Specified by:
getDateModified in interface IQSYSResource
Overrides:
getDateModified in class ISeriesHostMemberBasic

getSize

public long getSize()
Description copied from interface: IQSYSResource
Returns the size of the resource.

Specified by:
getSize in interface IISeriesHostObjectBasic
Specified by:
getSize in interface IQSYSResource
Overrides:
getSize in class ISeriesHostMemberBasic

setDateCreated

public void setDateCreated(Date date)
Specified by:
setDateCreated in interface IISeriesHostObjectBasic
Overrides:
setDateCreated in class ISeriesHostMemberBasic

getDateRestored

public Date getDateRestored()
Description copied from interface: IQSYSMember
Return the saved date

Specified by:
getDateRestored in interface IQSYSMember
Overrides:
getDateRestored in class QSYSHostMember

getDateSaved

public Date getDateSaved()
Description copied from interface: IQSYSMember
Return the saved date

Specified by:
getDateSaved in interface IQSYSMember
Overrides:
getDateSaved in class QSYSHostMember

getNumberOfDeletedRecords

public int getNumberOfDeletedRecords()
Description copied from interface: IQSYSMember
Return the number of deleted records

Specified by:
getNumberOfDeletedRecords in interface IQSYSMember
Overrides:
getNumberOfDeletedRecords in class QSYSHostMember

getNumberOfRecords

public int getNumberOfRecords()
Description copied from interface: IQSYSMember
Return the number of records

Specified by:
getNumberOfRecords in interface IQSYSMember
Overrides:
getNumberOfRecords in class QSYSHostMember

setNumberOfRecords

public void setNumberOfRecords(int records)
Description copied from interface: IQSYSMember
Set the number of records

Specified by:
setNumberOfRecords in interface IQSYSMember
Overrides:
setNumberOfRecords in class QSYSHostMember

clearCachedProperties

public void clearCachedProperties()
Description copied from interface: IQSYSMember
Clear cached properties, next access to the properties will refresh them from the server.

Specified by:
clearCachedProperties in interface IQSYSMember
Overrides:
clearCachedProperties in class QSYSHostMember

Rational Developer for Power Systems Software
V7.6

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.