Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.rse.ui
Class ResourceTypeUtil

java.lang.Object
  extended by com.ibm.etools.iseries.rse.ui.ResourceTypeUtil

public class ResourceTypeUtil
extends Object

Utility used to determine the type of Resources


Field Summary
static String copyright
           
 
Constructor Summary
ResourceTypeUtil()
           
 
Method Summary
static QSYSObjectSubSystem getObjectSubSystem(Object element)
          Return the QSYSObjectSubSystem if available from an IQSYSResource.
static boolean isDataFile(Object object)
          Return true for a database file object, of type *FILE and attribute PF or LF or DDMF.
static boolean isDataMember(Object element)
          Return true if the given object is a data file member, otherwise false.
static boolean isDDMFile(Object element)
          Return true if the given object is a DDM file, otherwise false.
static boolean isFile(Object object)
          Returns true if the given object is a file, otherwise false.
static boolean isLibrary(Object object)
          Returns true if the given object is a library, otherwise false.
static boolean isLogicalFile(Object object)
          Returns true if the given object is a logical (data) file (LF) , otherwise false.
static boolean isMember(Object object)
          Returns true if the given object is a member, otherwise false.
static boolean isMemberFile(Object object)
          Return true for a file which may contain members, which are PF files.
static boolean isMessageFile(Object object)
          Returns true if the given object is a message file, otherwise false.
static boolean isObject(Object object)
          Returns true if the given object is an object, otherwise false.
static boolean isPFDataFile(Object object)
          Returns true if the given object is a physical data file (PF-DTA) , otherwise false.
static boolean isSourceFile(Object object)
          Returns true if the given object is a source file, otherwise false.
static boolean isSrcMember(Object element)
          Return true if the given object is a source file member, otherwise false.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

copyright

public static String copyright
Constructor Detail

ResourceTypeUtil

public ResourceTypeUtil()
Method Detail

isLibrary

public static boolean isLibrary(Object object)
Returns true if the given object is a library, otherwise false.


isFile

public static boolean isFile(Object object)
Returns true if the given object is a file, otherwise false.


isMessageFile

public static boolean isMessageFile(Object object)
Returns true if the given object is a message file, otherwise false.


isObject

public static boolean isObject(Object object)
Returns true if the given object is an object, otherwise false.


isMember

public static boolean isMember(Object object)
Returns true if the given object is a member, otherwise false.


isSourceFile

public static boolean isSourceFile(Object object)
Returns true if the given object is a source file, otherwise false.


isDataFile

public static boolean isDataFile(Object object)
Return true for a database file object, of type *FILE and attribute PF or LF or DDMF.


isMemberFile

public static boolean isMemberFile(Object object)
Return true for a file which may contain members, which are PF files. (Source or Data)


isPFDataFile

public static boolean isPFDataFile(Object object)
Returns true if the given object is a physical data file (PF-DTA) , otherwise false.


isLogicalFile

public static boolean isLogicalFile(Object object)
Returns true if the given object is a logical (data) file (LF) , otherwise false.


isSrcMember

public static boolean isSrcMember(Object element)
Return true if the given object is a source file member, otherwise false.


isDataMember

public static boolean isDataMember(Object element)
Return true if the given object is a data file member, otherwise false.


isDDMFile

public static boolean isDDMFile(Object element)
Return true if the given object is a DDM file, otherwise false.


getObjectSubSystem

public static QSYSObjectSubSystem getObjectSubSystem(Object element)
Return the QSYSObjectSubSystem if available from an IQSYSResource.


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.