Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.remotebuild
Class RBQSYSResource

java.lang.Object
  extended by com.ibm.etools.iseries.remotebuild.RBResource
      extended by com.ibm.etools.iseries.remotebuild.RBQSYSResource
Direct Known Subclasses:
RBFile, RBLibrary, RBMember

public abstract class RBQSYSResource
extends RBResource

This class provides the common behavior for all objects in the QSYS name space -- libraries and their contents. The primary purpose is to abstract items that have to do with name resolution and library structure. The name is dependent on the concrete resource type. The base resource is dependent on the concrete resource type. The model resource is dependent on the concrete resource type.


Field Summary
static String Copyright
           
 
Fields inherited from class com.ibm.etools.iseries.remotebuild.RBResource
G_BINARYOBJECT, G_LIBRARY, G_MEMBER, G_PROJECT, G_SAVEFILE, G_SOURCEFILE, G_UNKNOWN, NS_LOCAL, NS_NETWORK, NS_QSYS, NS_UNKNOWN, RB_QUALIFIER
 
Constructor Summary
RBQSYSResource(AbstractISeriesResource resource)
          Constructs an RBResource from a model resource.
RBQSYSResource(String name, long localStamp, long targetStamp)
          Constructs an RBResource from its properties.
 
Method Summary
 String getLibraryName()
          Returns the library name of this object.
 int getNameSpace()
          Returns the name space for this resource.
 String getObjectType()
          Returns the object type from the path.
abstract  CLQualifiedName getQualifiedName()
          Returns the fully-qualified system-relative object name for a resource in the QSYS namespace.
 String getShortKey()
          Returns a value that may be used as a key for this resource.
abstract  String getSimpleObjectType()
          Returns the simple object type for this resource.
 
Methods inherited from class com.ibm.etools.iseries.remotebuild.RBResource
accept, addChild, attach, checkAuthorities, checkContentsOn, checkExistence, checkName, checkPropertiesOn, checkProperty, clearMark, clearMarks, copy, createOn, existsOn, findResource, getAdapter, getAllProperties, getAncestors, getBaseResource, getCCSID, getChild, getChildren, getCompanion, getContext, getDBCS, getDescendents, getDescription, getGender, getHome, getHome, getIFSName, getKeyPath, getLocalStamp, getLocation, getLongKey, getModelChildren, getModelParent, getModelProject, getModelProperty, getModelResource, getModifiedProperties, getName, getNumberOfChildren, getParent, getPersistentProperty, getProject, getProjectProperty, getProjectRelativePath, getPropertiesModel, getQSYSName, getRecordLength, getRemoteName, getResourcePath, getSessionProperty, getSnapshotType, getSourceType, getSystem, getSystemName, getTargetStamp, hasChildren, hasContents, hasContext, hashCode, hasMark, isEquivalentTo, isHome, isLocal, isMarked, isProject, isRemote, isSnapshot, makeFrom, makeFrom, makeFrom, pushContentsTo, pushPropertiesTo, pushPropertiesTo, pushSourceTypeTo, qualify, removeChild, saveModelProperties, setCompanion, setContext, setLocalStamp, setMark, setModelProperty, setName, setPersistentProperty, setProjectProperty, setSessionProperty, setSourceType, setTargetStamp, synchronize, toString, updateFrom, wasCreated, wasDeleted, wasModified
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

Copyright

public static final String Copyright
See Also:
Constant Field Values
Constructor Detail

RBQSYSResource

public RBQSYSResource(AbstractISeriesResource resource)
Constructs an RBResource from a model resource.


RBQSYSResource

public RBQSYSResource(String name,
                      long localStamp,
                      long targetStamp)
Constructs an RBResource from its properties. Used during the construction of a snapshot resource.

Method Detail

getNameSpace

public final int getNameSpace()
Returns the name space for this resource.

Specified by:
getNameSpace in class RBResource

getLibraryName

public String getLibraryName()
Returns the library name of this object. This will be null if the object has no parent library.


getObjectType

public String getObjectType()
Returns the object type from the path.


getShortKey

public String getShortKey()
Returns a value that may be used as a key for this resource.

Overrides:
getShortKey in class RBResource

getQualifiedName

public abstract CLQualifiedName getQualifiedName()
Returns the fully-qualified system-relative object name for a resource in the QSYS namespace. This may be null.


getSimpleObjectType

public abstract String getSimpleObjectType()
Returns the simple object type for this resource. This may be null.


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.