|
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 com.ibm.etools.iseries.perspective.model.AbstractISeriesNativeObject
public abstract class AbstractISeriesNativeObject
This represents a native container. It can be any iSeries object that has members (e.g. SRCPF, or a data file). OR it can be an LEAF object that does not have any children, e.g. save file, or program file. This means that we can either have an IContainer or an IFile associated with a native object. AND we can have either an AS400Object or an AS400File associated with this object also.
Field Summary | |
---|---|
protected IFile |
baseIFile
|
protected IQSYSObject |
baseISeriesObject
|
static String |
Copyright
|
protected TreeMap<String,AbstractISeriesNativeMember> |
nativeMembers
|
Fields inherited from class com.ibm.etools.iseries.perspective.model.AbstractISeriesContainer |
---|
baseIContainer, cachedRemoteObjects |
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 | |
---|---|
AbstractISeriesNativeObject()
|
Method Summary | |
---|---|
void |
addNativeMember(AbstractISeriesNativeMember member)
Add a new member for the nativeMembers collection. |
boolean |
findMatchingMember(String targetName,
boolean getExactMatch,
boolean includeRemote,
List<AbstractISeriesNativeMember> resultCollector)
Find the AbstractISeriesNativeMember that has a name
that matches the given target name. |
IFile |
getBaseIFile()
Access method for the baseIFile property. |
IQSYSObject |
getBaseISeriesObject()
Access method for the baseISeriesObject property. |
AbstractISeriesNativeMember[] |
getNativeMemberArray()
Return the native members as a read-only sorted array This is not intended to be updated |
Iterator<AbstractISeriesNativeMember> |
getNativeMembers()
A read-only iterator of the native members in this object |
AbstractISeriesNativeLibrary |
getParentLibrary()
Access method for the parentLibrary property. |
AbstractISeriesNativeRoot |
getParentRoot()
Access method for the parentRoot property. |
String |
getResourceName()
Return the name of the IResource or IQSYSResource that this is wrappering |
abstract boolean |
isBinaryObject()
Returns whether or not this object represents a Binary Object File. |
abstract boolean |
isLeafObject()
Returns whether or not this object represents a leaf object. |
abstract boolean |
isSourceFile()
Returns whether or not this object represents an iSeries Source Physical File. |
void |
removeNativeMember(AbstractISeriesNativeMember member)
Remove a member from the nativeMembers collection |
void |
setBaseIFile(IFile aBaseIFile)
Sets the value of the baseIFile property. |
void |
setBaseISeriesObject(IQSYSObject aBaseISeriesObject)
Sets the value of the baseISeriesObject property. |
void |
setParentLibrary(AbstractISeriesNativeLibrary aParentLibrary)
Sets the value of the parentLibrary property. |
void |
setParentRoot(AbstractISeriesNativeRoot aParentRoot)
Sets the value of the parentRoot property. |
Methods inherited from class com.ibm.etools.iseries.perspective.model.AbstractISeriesContainer |
---|
clearRemoteObjectsCache, getBaseIContainer, getCachedRemoteObjects, getChildren, getRemoteIncluded, getType, hasChildren, setBaseIContainer, setRemoteIncluded |
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 TreeMap<String,AbstractISeriesNativeMember> nativeMembers
protected IFile baseIFile
protected IQSYSObject baseISeriesObject
Constructor Detail |
---|
public AbstractISeriesNativeObject()
Method Detail |
---|
public abstract boolean isLeafObject()
public abstract boolean isSourceFile()
public abstract boolean isBinaryObject()
public AbstractISeriesNativeRoot getParentRoot()
public void setParentRoot(AbstractISeriesNativeRoot aParentRoot)
aParentRoot
- the new value of the parentRoot propertypublic AbstractISeriesNativeLibrary getParentLibrary()
public void setParentLibrary(AbstractISeriesNativeLibrary aParentLibrary)
aParentLibrary
- the new value of the parentLibrary propertypublic Iterator<AbstractISeriesNativeMember> getNativeMembers()
public void addNativeMember(AbstractISeriesNativeMember member)
public void removeNativeMember(AbstractISeriesNativeMember member)
public IFile getBaseIFile()
public void setBaseIFile(IFile aBaseIFile)
aBaseIFile
- the new value of the baseIFile propertypublic IQSYSObject getBaseISeriesObject()
public void setBaseISeriesObject(IQSYSObject aBaseISeriesObject)
aBaseISeriesObject
- the new value of the baseISeriesObject propertypublic boolean findMatchingMember(String targetName, boolean getExactMatch, boolean includeRemote, List<AbstractISeriesNativeMember> resultCollector)
AbstractISeriesNativeMember
that has a name
that matches the given target name.
targetName
- - the name of the member we are looking forgetExactMatch
- - if this is true, search on both the name and extension, if it is false then ignore the extension when looking
for a match.skipThisMember
- - skip this member when searching for a match, if it is null, that do not skip anyincludeRemote
- - if true that include remote members in the search
public AbstractISeriesNativeMember[] getNativeMemberArray()
public String getResourceName()
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |