Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.services.qsys.objects
Class QSYSHostMember

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
All Implemented Interfaces:
IISeriesHostMemberBasic, IISeriesHostMemberBrief, IISeriesHostMemberNameOnly, IISeriesHostObjectBasic, IISeriesHostObjectBrief, IISeriesHostObjectNameOnly, IQSYSMember, IQSYSResource
Direct Known Subclasses:
QSYSHostDataMember, QSYSHostSourceMember, QSYSRemoteMember

public class QSYSHostMember
extends ISeriesHostMemberBasic
implements IQSYSMember

Class representing an IBM i member.


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
QSYSHostMember()
           
 
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 exists()
          This operation is not supported at the service layer.
 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.
 void setDateRestored(Date date)
          Set the saved date
 void setDateSaved(Date date)
          Set the saved date
 void setNumberOfDeletedRecords(int records)
          Set the number of deleted records
 void setNumberOfRecords(int records)
          Set the number of records
 
Methods inherited from class com.ibm.etools.iseries.comm.interfaces.ISeriesHostMemberBasic
equals, getAbsoluteName, getDateCreated, getDateModified, getFullName, getSize, hashCode, setDateCreated, 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
getDateCreated, getDateModified, getSize, setDateCreated, 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, getDateCreated, getDateModified, getDescription, getFullName, getLibrary, getName, getSize, getSubType, getType, setDescription, setLibrary, setName, setSubType, setType
 

Field Detail

copyright

public static String copyright
Constructor Detail

QSYSHostMember

public QSYSHostMember()
Method Detail

exists

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

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

getParent

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

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

getDateRestored

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

Specified by:
getDateRestored in interface IQSYSMember

getDateSaved

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

Specified by:
getDateSaved in interface IQSYSMember

getNumberOfDeletedRecords

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

Specified by:
getNumberOfDeletedRecords in interface IQSYSMember

getNumberOfRecords

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

Specified by:
getNumberOfRecords in interface IQSYSMember

setDateRestored

public void setDateRestored(Date date)
Description copied from interface: IQSYSMember
Set the saved date

Specified by:
setDateRestored in interface IQSYSMember

setDateSaved

public void setDateSaved(Date date)
Description copied from interface: IQSYSMember
Set the saved date

Specified by:
setDateSaved in interface IQSYSMember

setNumberOfDeletedRecords

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

Specified by:
setNumberOfDeletedRecords in interface IQSYSMember

setNumberOfRecords

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

Specified by:
setNumberOfRecords in interface IQSYSMember

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
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
Throws:
SystemMessageException

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

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.