|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.etools.iseries.perspective.model.AbstractISeriesResource com.ibm.etools.iseries.perspective.model.AbstractISeriesParent com.ibm.etools.iseries.perspective.model.AbstractISeriesContainer
public abstract class AbstractISeriesContainer
The only special case where baseIContainer is associated with a Project instead of and IFolder is in the subclass AbstractiSeriesNativeFolder( REVISIT ).
In that class, if the root is collapsed up to the project, then baseIContainer references that project, otherwise baseIContainer references the IFolder with the "native root name" as it's name.
Also, we needed an extra flag here to cache at runtime whether or not a container inludes remote objects. This flag is false by default.
This flag is set back to false if no remote objects are retrieved. This can be used for error checking.
We also needed to cache remote objects for performance.
if the cache Vector is null; it means that remote objects have not been retrieved, and so if remoteIncluded is true, a synchronize will retieve the remote objects.
Field Summary | |
---|---|
protected IContainer |
baseIContainer
|
protected Vector<IQSYSResource> |
cachedRemoteObjects
|
static String |
Copyright
|
Fields inherited from class com.ibm.etools.iseries.perspective.model.AbstractISeriesResource |
---|
CONTAINER, IFS_CONTAINER, IFS_MEMBER, IFS_ROOT, LOCAL, LOCAL_AND_REMOTE, MEMBER, NATIVE_LIBRARY, NATIVE_MEMBER, NATIVE_OBJECT, NATIVE_ROOT, PROJECT, PROJECT_ROOT, REMOTE |
Fields inherited from interface com.ibm.etools.iseries.perspective.model.IISeriesResourceActionFilter |
---|
IS_LEAF_OBJECT, IS_LOCAL, IS_NATIVE, IS_SOURCE_FILE, IS_SYNCHRONIZED, METADATA_LEVEL |
Constructor Summary | |
---|---|
AbstractISeriesContainer()
|
Method Summary | |
---|---|
void |
clearRemoteObjectsCache()
Sets the value of the cachedRemoteObjects property. |
IContainer |
getBaseIContainer()
Access method for the baseIContainer property. |
Vector<IQSYSResource> |
getCachedRemoteObjects()
Access method for the cachedRemoteObjects property. |
abstract AbstractISeriesResource[] |
getChildren()
|
boolean |
getRemoteIncluded()
Determines if the remoteIncluded property is true. |
int |
getType()
Returns the type of this resource. The returned value will be one of static constants defined in this class. |
abstract boolean |
hasChildren()
|
void |
setBaseIContainer(IContainer aBaseIContainer)
Sets the value of the baseIContainer property. |
void |
setRemoteIncluded(boolean aRemoteIncluded)
Sets the value of the remoteIncluded property. |
Methods inherited from class com.ibm.etools.iseries.perspective.model.AbstractISeriesParent |
---|
collectAllChildren, findiSeriesResource |
Methods inherited from class com.ibm.etools.iseries.perspective.model.AbstractISeriesResource |
---|
accept, getAdapter, getBaseIResource, getISeriesProject, getIsLocal, getIsNative, getIsSynchronized, getLocationMask, getMarkerSeverity, getParent, getPropertiesModel, refreshPropertiesModel, setIsLocal, setIsNative, setIsSynchronized, synchronize, testAttribute, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String Copyright
protected Vector<IQSYSResource> cachedRemoteObjects
protected IContainer baseIContainer
Constructor Detail |
---|
public AbstractISeriesContainer()
Method Detail |
---|
public abstract AbstractISeriesResource[] getChildren()
getChildren
in class AbstractISeriesParent
public abstract boolean hasChildren()
public int getType()
AbstractISeriesResource
getType
in class AbstractISeriesResource
public boolean getRemoteIncluded()
true if the remoteIncluded property is true
public void setRemoteIncluded(boolean aRemoteIncluded)
aRemoteIncluded
- the new value of the remoteIncluded propertypublic Vector<IQSYSResource> getCachedRemoteObjects()
public void clearRemoteObjectsCache()
public IContainer getBaseIContainer()
public void setBaseIContainer(IContainer aBaseIContainer)
aBaseIContainer
- the new value of the baseIContainer property
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |