public interface FileDescriptor extends AWMIdentifiableObject
The following features are supported:
TaurusPackage.getFileDescriptor()| Modifier and Type | Method and Description |
|---|---|
FileDescriptor |
clone()
Creates a clone of the file descriptor.
|
java.lang.Object |
getData()
Gets file data previously set by
setData(Object). |
IStructure |
getFileStructure()
Gets the
IStructure of the file descriptor, if available. |
org.eclipse.emf.common.util.EList<RFileAction> |
getHasAction()
Returns the value of the 'Has Action' containment
reference list.
|
org.eclipse.emf.common.util.EList<RFileAttribute> |
getHasFileAttribute()
Returns the value of the 'Has File Attribute' reference
list.
|
org.eclipse.emf.common.util.EList<RFileElement> |
getHasFileElement()
Returns the value of the 'Has File Element' reference
list.
|
org.eclipse.emf.common.util.EList<RFileProperty> |
getHasProperty()
Returns the value of the 'Has Property' containment
reference list.
|
java.io.InputStream |
getInputStream()
Deprecated.
Should not be used by clients, since it was only intended for
the internal
EFileTypes.INPUT_STREAM
IFileDescriptorReader. Other
IFileDescriptorReaders should use
getData() instead. |
java.lang.String |
getNamePhysical()
Returns the value of the 'Name Physical' attribute.
|
java.lang.String |
getPropDelimiter()
Returns the value of the 'Prop Delimiter' attribute.
|
java.lang.String |
getPropDelimiterWithoutQuotes()
Returns the PropDelimiter value of the FileDescriptor without the quotes.
|
EFileStructures |
getStructure()
Returns the value of the 'Structure' attribute.
|
EFileTypes |
getType()
Returns the value of the 'Type' attribute.
|
boolean |
isModelInstance()
Whether this instance belongs to a loaded model
(
TAURUSConfiguration). |
boolean |
isSetPropDelimiter()
Returns whether the value of the
'
Prop Delimiter' attribute is set. |
boolean |
isSetStructure()
Returns whether the value of the
'
Structure' attribute is set. |
boolean |
isSetType()
Returns whether the value of the
'
Type' attribute is set. |
void |
setData(java.lang.Object pData)
Allows storing file type specific data which can be used by an
appropriate
IFileDescriptorReader implementation. |
void |
setInputStream(java.io.InputStream pIs)
Deprecated.
Should not be used by clients anymore to store the data of an
EFileTypes.INPUT_STREAM. Instead clients should
return file data through an IToolResult by
implementing IToolExecutor2. |
void |
setNamePhysical(java.lang.String value)
Sets the value of the
'
Name Physical' attribute. |
void |
setPropDelimiter(java.lang.String value)
Sets the value of the
'
Prop Delimiter' attribute. |
void |
setProperties(org.eclipse.emf.common.util.EList<RFileProperty> pFileProps)
Sets the Properties of the FileDescriptor
|
void |
setStructure(EFileStructures value)
Sets the value of the
'
Structure' attribute. |
void |
setType(EFileTypes value)
Sets the value of the
'
Type' attribute. |
void |
unsetPropDelimiter()
Unsets the value of the
'
Prop Delimiter' attribute. |
void |
unsetStructure()
Unsets the value of the
'
Structure' attribute. |
void |
unsetType()
Unsets the value of the
'
Type' attribute. |
getID, getModelEditorGroup, isSetModelEditorGroup, setID, setModelEditorGroup, unsetModelEditorGroupgetComment, isSetComment, setComment, unsetCommentgetExtensionID, setExtensionIDorg.eclipse.emf.common.util.EList<RFileProperty> getHasProperty()
RFileProperty. The
relationship to a property is used to define the structure of a file if
the file's content is structured. TaurusPackage.getFileDescriptor_HasProperty()org.eclipse.emf.common.util.EList<RFileAction> getHasAction()
RFileAction. The
relation between the file descriptor and an action descriptor can be used
to define actions to appear in the table's context menu if the file
descriptor is defined as a structured table and the table is part of a
modeled dialog or an ISPF dialog. TaurusPackage.getFileDescriptor_HasAction()org.eclipse.emf.common.util.EList<RFileAttribute> getHasFileAttribute()
RFileAttribute.
If the meaning of the 'Has File Attribute' reference list isn't clear, there really should be more of a description here...
TaurusPackage.getFileDescriptor_HasFileAttribute()org.eclipse.emf.common.util.EList<RFileElement> getHasFileElement()
RFileElement.
If the meaning of the 'Has File Element' reference list isn't clear, there really should be more of a description here...
TaurusPackage.getFileDescriptor_HasFileElement()java.lang.String getNamePhysical()
setNamePhysical(String),
TaurusPackage.getFileDescriptor_NamePhysical()void setNamePhysical(java.lang.String value)
Name Physical' attribute. value - the new value of the 'Name Physical' attribute.getNamePhysical()java.lang.String getPropDelimiter()
"\" \"". isSetPropDelimiter(),
unsetPropDelimiter(),
setPropDelimiter(String),
TaurusPackage.getFileDescriptor_PropDelimiter()void setPropDelimiter(java.lang.String value)
Prop Delimiter' attribute. value - the new value of the 'Prop Delimiter' attribute.isSetPropDelimiter(),
unsetPropDelimiter(),
getPropDelimiter()void unsetPropDelimiter()
Prop Delimiter' attribute. boolean isSetPropDelimiter()
Prop Delimiter' attribute is set. unsetPropDelimiter(),
getPropDelimiter(),
setPropDelimiter(String)EFileStructures getStructure()
"Unstructured". The literals are from the
enumeration EFileStructures.
EFileStructures,
isSetStructure(),
unsetStructure(),
setStructure(EFileStructures),
TaurusPackage.getFileDescriptor_Structure()void setStructure(EFileStructures value)
Structure' attribute. value - the new value of the 'Structure' attribute.EFileStructures,
isSetStructure(),
unsetStructure(),
getStructure()void unsetStructure()
Structure' attribute. boolean isSetStructure()
Structure' attribute is set. unsetStructure(),
getStructure(),
setStructure(EFileStructures)EFileTypes getType()
"Workspace_File". The literals are from the
enumeration EFileTypes. Allowed values:
The following values can only be used at run time if EDc, EDz or IDz is installed:
EFileTypes,
isSetType(),
unsetType(),
setType(EFileTypes),
TaurusPackage.getFileDescriptor_Type()void setType(EFileTypes value)
Type' attribute. value - the new value of the 'Type' attribute.EFileTypes,
isSetType(),
unsetType(),
getType()void unsetType()
Type' attribute. isSetType(),
getType(),
setType(EFileTypes)boolean isSetType()
Type' attribute is set. unsetType(),
getType(),
setType(EFileTypes)java.lang.String getPropDelimiterWithoutQuotes()
null if no value was set for the PropDelimiter.void setProperties(org.eclipse.emf.common.util.EList<RFileProperty> pFileProps)
pFileProps - the properties to setFileDescriptor clone()
@Deprecated void setInputStream(java.io.InputStream pIs)
EFileTypes.INPUT_STREAM. Instead clients should
return file data through an IToolResult by
implementing IToolExecutor2.pIs - the input stream to be setgetType()@Deprecated java.io.InputStream getInputStream()
EFileTypes.INPUT_STREAM
IFileDescriptorReader. Other
IFileDescriptorReaders should use
getData() instead.null. Used for file descriptors from the type
InputStream).void setData(java.lang.Object pData)
IFileDescriptorReader implementation.
Clients should not call this method unless they're implementing an
IFileDescriptorReader.
It is not allowed to set file descriptor data on FileDescriptor
instances of a loaded TAURUSConfiguration.
pData - the data to setjava.lang.RuntimeException - if the method is invoked on an original (non-cloned) file
descriptor of a loaded AWM modelclone(),
isModelInstance()java.lang.Object getData()
setData(Object). Clients should
not use this method, unless they're implementing an
IFileDescriptorReader.IStructure getFileStructure()
IStructure of the file descriptor, if available.IStructure or null if the file
descriptor does not have oneboolean isModelInstance()
TAURUSConfiguration). These instances should not be modified
e.g. by tool executors but should rather be cloned.clone()Copyright © 2015 Micro Focus GmbH. All rights reserved.