|
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
public abstract class AbstractISeriesResource
Abstract base class for all iSeries Objects in the iSeries Navigator.
Clients are not expected to implement/subclass this class, or any of its
subclasses.
Field Summary | |
---|---|
static int |
CONTAINER
Type constant (bit mask value 16) which identifies the AbstractISeriesContainer resource. |
static String |
Copyright
|
static int |
IFS_CONTAINER
Type constant (bit mask value 512) which identifies the AbstractISeriesIFSContainer resource. |
static int |
IFS_MEMBER
Type constant (bit mask value 1024) which identifies the AbstractISeriesIFSMember resource. |
static int |
IFS_ROOT
Type constant (bit mask value 8) which identifies the AbstractISeriesIFSRoot resource. |
static int |
LOCAL
Type constant (bit mask value 1) which identifies that this resource exists on locally. |
static int |
LOCAL_AND_REMOTE
Type constant (bit mask value 2) which identifies that this resource exists both locally and on the remote host. |
static int |
MEMBER
Type constant (bit mask value 32) which identifies the AbstractISeriesMember resource. |
static int |
NATIVE_LIBRARY
Type constant (bit mask value 64) which identifies the AbstractISeriesNativeLibrary resource. |
static int |
NATIVE_MEMBER
Type constant (bit mask value 256) which identifies the AbstractISeriesNativeMember resource. |
static int |
NATIVE_OBJECT
Type constant (bit mask value 128) which identifies the AbstractISeriesNativeObject resource. |
static int |
NATIVE_ROOT
Type constant (bit mask value 4) which identifies the AbstractISeriesNativeRoot resource. |
static int |
PROJECT
Type constant (bit mask value 2) which identifies the AbstractISeriesProject resource. |
static int |
PROJECT_ROOT
Type constant (bit mask value 1) which identifies the AbstractISeriesProjectRoot resource. |
static int |
REMOTE
Type constant (bit mask value 4) which identifies that this resource exists only on the remote host. |
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 | |
---|---|
AbstractISeriesResource()
|
Method Summary | |
---|---|
void |
accept(IISeriesResourceVisitor visitor)
Accepts a visitor at this resource. |
Object |
getAdapter(Class adapter)
This contains the default implementation for all AbstractiSeriesResource objects. |
abstract IResource |
getBaseIResource()
Returns the Eclipse IResource associated with this iSeries object. |
abstract AbstractISeriesProject |
getISeriesProject()
Returns the iSeries Project which contains this resource. |
boolean |
getIsLocal()
Determines if the isLocal property is true. |
boolean |
getIsNative()
Determines if the isNative property is true. |
boolean |
getIsSynchronized()
Determines if the isSynchronized property is true. |
abstract int |
getLocationMask()
Returns the location of this resource. The returned int value will be one of the following three static constants defined in this class: LOCAL LOCAL_AND_REMOTE REMOTE |
int |
getMarkerSeverity()
Get the maximum severity of all IMarkers on this resource and all of its descendants. |
abstract AbstractISeriesResource |
getParent()
Returns the direct parent of the given resource. |
IISeriesPropertiesModel |
getPropertiesModel()
Returns the properties model for this resource. |
abstract int |
getType()
Returns the type of this resource. The returned value will be one of static constants defined in this class. |
void |
refreshPropertiesModel()
Causes the resource to refresh properties from its persistent form. |
void |
setIsLocal(boolean aIsLocal)
Sets the value of the isLocal property. |
void |
setIsNative(boolean aIsNative)
Sets the value of the isNative property. |
void |
setIsSynchronized(boolean aIsSynchronized)
Sets the value of the isSynchronized property. |
abstract void |
synchronize()
Synchronizing at a given level synchronized all the hierarchy below it! |
boolean |
testAttribute(Object target,
String name,
String value)
Returns whether the specific attribute matches the state of the target object. This method contains a base implementation for all AbstractiSeriesResource objects. |
abstract String |
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
public static final int PROJECT_ROOT
getType()
,
Constant Field Valuespublic static final int PROJECT
getType()
,
Constant Field Valuespublic static final int NATIVE_ROOT
getType()
,
Constant Field Valuespublic static final int IFS_ROOT
getType()
,
Constant Field Valuespublic static final int CONTAINER
getType()
,
Constant Field Valuespublic static final int MEMBER
getType()
,
Constant Field Valuespublic static final int NATIVE_LIBRARY
getType()
,
Constant Field Valuespublic static final int NATIVE_OBJECT
getType()
,
Constant Field Valuespublic static final int NATIVE_MEMBER
getType()
,
Constant Field Valuespublic static final int IFS_CONTAINER
getType()
,
Constant Field Valuespublic static final int IFS_MEMBER
getType()
,
Constant Field Valuespublic static final int LOCAL
getLocationMask()
,
Constant Field Valuespublic static final int LOCAL_AND_REMOTE
getLocationMask()
,
Constant Field Valuespublic static final int REMOTE
getLocationMask()
,
Constant Field ValuesConstructor Detail |
---|
public AbstractISeriesResource()
Method Detail |
---|
public abstract void synchronize()
public abstract AbstractISeriesResource getParent()
public abstract AbstractISeriesProject getISeriesProject()
public abstract String toString()
toString
in class Object
public abstract IResource getBaseIResource()
public Object getAdapter(Class adapter)
public boolean testAttribute(Object target, String name, String value)
target
- the target objectname
- the attribute namevalue
- the attriute value
true
if the attribute matches; false
otherwisepublic abstract int getType()
public abstract int getLocationMask()
public boolean getIsLocal()
true if the isLocal property is true
public void setIsLocal(boolean aIsLocal)
aIsLocal
- the new value of the isLocal propertypublic boolean getIsNative()
true if the isNative property is true
public void setIsNative(boolean aIsNative)
aIsNative
- the new value of the isNative propertypublic boolean getIsSynchronized()
true if the isSynchronized property is true
public void setIsSynchronized(boolean aIsSynchronized)
aIsSynchronized
- the new value of the isSynchronized propertypublic void accept(IISeriesResourceVisitor visitor)
visitor
- the visitor that will visit this resource.public IISeriesPropertiesModel getPropertiesModel()
public void refreshPropertiesModel()
public int getMarkerSeverity()
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |