Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.comm.interfaces
Class ISeriesHostObjectBasic

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.ISeriesHostObjectBasic
All Implemented Interfaces:
IISeriesHostObjectBasic, IISeriesHostObjectBrief, IISeriesHostObjectNameOnly
Direct Known Subclasses:
ISeriesHostObjectExhaustive

public class ISeriesHostObjectBasic
extends ISeriesHostObjectBrief
implements IISeriesHostObjectBasic

This class represents a single object on the AS/400. It holds basic commonly-needed information about that object.


Field Summary
protected  Date changeDate
           
static String Copyright
           
protected  Date createDate
           
protected  long size
           
 
Fields inherited from class com.ibm.etools.iseries.comm.interfaces.ISeriesHostObjectBrief
file, 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
ISeriesHostObjectBasic()
           
 
Method Summary
 boolean equals(Object obj)
          Two QSYSHostObjects objects are equal if they have the same name and library name.
 String getAbsoluteName()
           
 Date getDateCreated()
           
 Date getDateModified()
           
 String getFullName()
           
 long getSize()
           
 int hashCode()
           
 void setDateCreated(Date date)
           
 void setDateModified(Date date)
           
 void setSize(long size)
           
 void writeObjectInfo(PrintWriter writer)
          For debugging purposes
 
Methods inherited from class com.ibm.etools.iseries.comm.interfaces.ISeriesHostObjectBrief
getDescription, getFile, getInformationStatus, getSubType, getType, setDescription, setFile, setInformationStatus, setSubType, setType, toString
 
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.IISeriesHostObjectBrief
getDescription, getFile, getInformationStatus, getSubType, getType, setDescription, setFile, setInformationStatus, setSubType, setType
 
Methods inherited from interface com.ibm.etools.iseries.comm.interfaces.IISeriesHostObjectNameOnly
getLibrary, getName, setLibrary, setName, toString
 

Field Detail

Copyright

public static final String Copyright
See Also:
Constant Field Values

createDate

protected Date createDate

changeDate

protected Date changeDate

size

protected long size
Constructor Detail

ISeriesHostObjectBasic

public ISeriesHostObjectBasic()
Method Detail

setDateCreated

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

setDateModified

public void setDateModified(Date date)
Specified by:
setDateModified in interface IISeriesHostObjectBasic

setSize

public void setSize(long size)
Specified by:
setSize in interface IISeriesHostObjectBasic

getDateCreated

public Date getDateCreated()
Specified by:
getDateCreated in interface IISeriesHostObjectBasic

getDateModified

public Date getDateModified()
Specified by:
getDateModified in interface IISeriesHostObjectBasic

getSize

public long getSize()
Specified by:
getSize in interface IISeriesHostObjectBasic

writeObjectInfo

public void writeObjectInfo(PrintWriter writer)
For debugging purposes

Specified by:
writeObjectInfo in interface IISeriesHostObjectNameOnly
Overrides:
writeObjectInfo in class ISeriesHostObjectBrief

equals

public boolean equals(Object obj)
Two QSYSHostObjects objects are equal if they have the same name and library name.

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getAbsoluteName

public String getAbsoluteName()

getFullName

public String getFullName()

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.