|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FileRecord
This record represents any file in the vdb
Nested Class Summary | |
---|---|
static interface |
FileRecord.MetadataFieldNames
Constants for names of accessor methods that map to fields stored on the FileRecords. |
static interface |
FileRecord.MetadataMethodNames
Constants for names of accessor methods on the FileRecords. |
Nested classes/interfaces inherited from interface com.metamatrix.modeler.core.metadata.runtime.MetadataRecord |
---|
MetadataRecord.MetadataRecordProperties |
Method Summary | |
---|---|
boolean |
getBinary()
Return true if this is a binary file else false. |
FileRecord |
getFileRecord()
Get the instance of this class back |
java.lang.String |
getModelName()
Return the name of the model this file represents |
java.lang.String[] |
getTokenReplacements()
The strings used to replace tokens in the file in the vdb |
java.lang.String[] |
getTokens()
The strings representing tokens in the file in the vdb |
boolean |
isIndexFile()
Check if the record represents a index file record. |
boolean |
isModelFile()
Check if the record represents a model file record. |
void |
setIndexSelector(IndexSelector selector)
Set the indexSelector on this record. |
void |
setTokenReplacements(java.lang.String[] replacements)
Set the strings used to replace a tokens in the file in the vdb |
void |
setTokens(java.lang.String[] tokens)
Set the strings that tokens in the file that need to be replaced. |
Methods inherited from interface com.metamatrix.modeler.core.metadata.runtime.MetadataRecord |
---|
getEObject, getFullName, getName, getNameInSource, getParentFullName, getParentPathString, getParentUUID, getPath, getPathString, getPropertyValue, getRecordType, getResourcePath, getUUID, setPropertyValue |
Methods inherited from interface com.metamatrix.common.vdb.api.VDBFile |
---|
getContent, getFileLength, getPathInVdb |
Method Detail |
---|
boolean getBinary()
java.lang.String[] getTokens()
void setTokens(java.lang.String[] tokens)
tokens
- The tokens in the file that need to be replacedjava.lang.String[] getTokenReplacements()
void setTokenReplacements(java.lang.String[] replacements)
replacements
- The token replacement stringsFileRecord getFileRecord()
boolean isModelFile()
boolean isIndexFile()
java.lang.String getModelName()
getModelName
in interface MetadataRecord
void setIndexSelector(IndexSelector selector)
selector
- The indexSelector used to look up file contents
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |