|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LZOSResource
A logical zOS resource.
| Field Summary | |
|---|---|
static String |
COPY_RIGHT
|
| Method Summary | |
|---|---|
String |
getCharset()
|
com.ibm.ftt.resources.zos.mapping.MVSFileMapping |
getMVSFileMapping()
Returns a new MVS file mapping object representing the mapping attributes actually applied to this resource. |
com.ibm.ftt.resources.zos.mapping.MVSFileMapping |
getMVSFileMappingOverride()
Returns a copy of MVS file mapping object representing the mapping override for this specific resource. |
LZOSProject |
getProject()
Returns the project associated with this logical resource. |
String |
getReference()
Returns the name of the data set for which this resource is an alias if this is a data set alias. |
LZOSSubProject |
getSubProject()
Returns the subproject associated with this logical resource. |
boolean |
isAlias()
Determines whether this data set is an alias or not. |
boolean |
isMigrated()
Determines whether this data set or the data set to which this resource belongs is migrated or not. |
boolean |
isOfflineVolume()
Returns true if the volume this resource is on is
currently offline. |
void |
setMVSFileMappingOverride(com.ibm.ftt.resources.zos.mapping.MVSFileMapping mapping)
Sets a mapping override to this resource. |
| Methods inherited from interface com.ibm.ftt.projects.core.logical.IRemoteResource |
|---|
exists, getSystem, goOffline, goOnline, refersTo |
| Methods inherited from interface com.ibm.ftt.projects.core.logical.ILogicalResource |
|---|
delete, deleteOverriddenPropertiesInCategory, deleteOverride, getCurrentPropertyGroup, getFullPath, getLogicalParent, getName, getOverriddenProperties, getPersistentProperty, getPhysicalResource, getResourcePublisher, getSessionProperty, refresh, remove, rename, setCurrentPropertyGroup, setOverride, setPersistentProperty, setSessionProperty |
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
|---|
getAdapter |
| Field Detail |
|---|
static final String COPY_RIGHT
| Method Detail |
|---|
LZOSSubProject getSubProject()
getSubProject in interface ILogicalResourceLZOSSubProject associated with this logical resourceLZOSProject getProject()
LZOSProject associated with this logical resourceboolean isMigrated()
true if this data set is migrated;
false otherwiseLZOSDataSet.migrate(boolean,
IProgressMonitor),
LZOSDataSet.recall(boolean,
IProgressMonitor),
LZOSDataSet.hdelete(boolean,
IProgressMonitor)boolean isAlias()
true if the data set is an alias;
false otherwise.String getReference()
If this is a member of a data set alias, it returns the name of the data set for which the resource's parent is an alias.
Returns an empty string if the resource is not a data set alias (or a member of a data set alias) or the reference name could not be obtained
boolean isOfflineVolume()
true if the volume this resource is on is
currently offline.
true if the volume is offline, false
if it is online
String getCharset()
throws OperationFailedException
OperationFailedException#getContents(), {@link IPhysicalFile#getCharset()}com.ibm.ftt.resources.zos.mapping.MVSFileMapping getMVSFileMappingOverride()
The returned mapping contains value for overridden attributes, or
null for attributes to be inherited. Changing the mapping
object itself does not affects this resource. To apply any changes, it
must be set by calling LZOSResource.setMVSFileMappingOverride(MVSFileMapping).
LZOSResource.setMVSFileMappingOverride(MVSFileMapping),
LZOSResource.getMVSFileMapping()com.ibm.ftt.resources.zos.mapping.MVSFileMapping getMVSFileMapping()
The returned mapping contains values determined by merging all the
inherited values and overridden values defined through z/OS File System
Mapping view and resource property pages. Changing the mapping object
itself does not affects this resource. If any mapping attributes need to
be changed for this specific resource, mapping override can be set by
calling LZOSResource.setMVSFileMappingOverride(MVSFileMapping).
LZOSResource.getMVSFileMappingOverride(),
LZOSResource.setMVSFileMappingOverride(MVSFileMapping)void setMVSFileMappingOverride(com.ibm.ftt.resources.zos.mapping.MVSFileMapping mapping)
The mapping can contain values to override inherited attributes, or
null for attributes to be inherited.
When this method is called, UI refresh may occur according to the setting, for example, file extension change, etc.
mapping - the mapping object to set. If null is
specified, mapping override will be cleaned from this resourceLZOSResource.getMVSFileMappingOverride(),
S
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||