|
Metadata |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface File
Represents a file in the file system.
Attributes of File are:
Associations of File are:
factory
create methods. // create a store to contain your objects for this change. If you do not have an existing object // or store to use. You may obtain the store from another object by using Object.getObjectStore(). MdFactory factory; //where "factory" is a valid MdFactory instance MdObjectStore objectStore = factory.createObjectStore(); File myObject = (File) factory.createComplexMetadataObject(objectStore, "File_Object", MetadataObjects.FILE, "AAAAAAAA"); myObject.updateMetadataAll(); // Write object to server objectStore.dispose(); // dispose of the object store if it is no longer needed
MdOMIUtil
.
updateMetadataAll
method.
delete
method can be used.
This will flag the object as being deleted on the client, and will require an update call to persist
the change to the server.
Field Summary | |
---|---|
static java.lang.String |
ASSOCIATION_ASSOCIATEDCUBE_NAME
Constant used for the name of the AssociatedCube association. |
static java.lang.String |
ASSOCIATION_ASSOCIATEDEXTERNALTABLE_NAME
Constant used for the name of the AssociatedExternalTable association. |
static java.lang.String |
ASSOCIATION_ASSOCIATEDOLAPSCHEMA_NAME
Constant used for the name of the AssociatedOLAPSchema association. |
static java.lang.String |
ASSOCIATION_DIRECTORIES_NAME
Constant used for the name of the Directories association. |
static java.lang.String |
ASSOCIATION_SCRIPTEDCONNECTIONS_NAME
Constant used for the name of the ScriptedConnections association. |
static java.lang.String |
ATTRIBUTE_FILEEXTENSION_NAME
Constant used for the name of the FileExtension attribute. |
static java.lang.String |
ATTRIBUTE_FILENAME_NAME
Constant used for the name of the FileName attribute. |
static java.lang.String |
ATTRIBUTE_ISARELATIVENAME_NAME
Constant used for the name of the IsARelativeName attribute. |
Fields inherited from interface com.sas.metadata.remote.Text |
---|
ASSOCIATION_ASSOCIATEDPROPERTY_NAME, ASSOCIATION_ASSOCIATEDQUERYCLAUSE_NAME, ASSOCIATION_ASSOCIATEDTRAINEDRESULT_NAME, ASSOCIATION_ASSOCIATEDTRANSFORMATION_NAME, ASSOCIATION_ASSOCIATEDTYPE_NAME, ASSOCIATION_TARGETS_NAME, ATTRIBUTE_TEXTROLE_NAME, ATTRIBUTE_TEXTTYPE_NAME |
Fields inherited from interface com.sas.metadata.remote.ContentLocation |
---|
ASSOCIATION_ASSOCIATEDCONTENTTYPE_NAME, ASSOCIATION_FILEREFS_NAME, ASSOCIATION_REPORTS_NAME, ASSOCIATION_TSASSOCIATEDNAMESPACE_NAME, ASSOCIATION_UNITOFTIMES_NAME |
Fields inherited from interface com.sas.metadata.remote.DeployedDataPackage |
---|
ASSOCIATION_ALIASES_NAME, ASSOCIATION_ALIASFOR_NAME, ASSOCIATION_DEPLOYEDCOMPONENTS_NAME, ASSOCIATION_TABLECOLLECTIONS_NAME, ASSOCIATION_USEDBYPACKAGES_NAME, ASSOCIATION_USINGPACKAGES_NAME |
Fields inherited from interface com.sas.metadata.remote.PrimaryType |
---|
ASSOCIATION_FAVORITESCONTAINERS_NAME, ATTRIBUTE_ISHIDDEN_NAME, ATTRIBUTE_PUBLICTYPE_NAME |
Fields inherited from interface com.sas.metadata.remote.MdObjectBase |
---|
ATTRIBUTE_DESC_NAME, ATTRIBUTE_ID_NAME, ATTRIBUTE_METADATACREATED_NAME, ATTRIBUTE_METADATAUPDATED_NAME, ATTRIBUTE_NAME_NAME |
Method Summary | |
---|---|
Cube |
getAssociatedCube()
Gets the Cube for AssociatedCube |
AssociationList |
getAssociatedCubes()
Gets the Association list of AssociatedCubes |
AssociationList |
getAssociatedCubes(boolean fGoToServer)
Gets the Associationlist of AssociatedCubes |
ExternalTable |
getAssociatedExternalTable()
Gets the ExternalTable for AssociatedExternalTable |
AssociationList |
getAssociatedExternalTables()
Gets the Association list of AssociatedExternalTables |
AssociationList |
getAssociatedExternalTables(boolean fGoToServer)
Gets the Associationlist of AssociatedExternalTables |
OLAPSchema |
getAssociatedOLAPSchema()
Gets the OLAPSchema for AssociatedOLAPSchema |
AssociationList |
getAssociatedOLAPSchemas()
Gets the Association list of AssociatedOLAPSchemas |
AssociationList |
getAssociatedOLAPSchemas(boolean fGoToServer)
Gets the Associationlist of AssociatedOLAPSchemas |
AssociationList |
getDirectories()
Gets the Association list of Directories |
AssociationList |
getDirectories(boolean fGoToServer)
Gets the Associationlist of Directories |
java.lang.String |
getFileExtension()
Gets the String value of FileExtension |
int |
getFileExtensionMaxLength()
Gets the maximum length of FileExtension |
int |
getFileExtensionState()
Gets the Metadata State of FileExtension |
java.lang.String |
getFileName()
Gets the String value of FileName |
int |
getFileNameMaxLength()
Gets the maximum length of FileName |
int |
getFileNameState()
Gets the Metadata State of FileName |
int |
getIsARelativeName()
Gets the int value of IsARelativeName |
int |
getIsARelativeNameState()
Gets the Metadata State of IsARelativeName |
AssociationList |
getScriptedConnections()
Gets the Association list of ScriptedConnections |
AssociationList |
getScriptedConnections(boolean fGoToServer)
Gets the Associationlist of ScriptedConnections |
void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: |
void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: |
void |
setAssociatedCube(Cube inObject)
Sets the AssociatedCubes list 0th element to be inObject . |
void |
setAssociatedCubes(AssociationList list)
Sets the AssociatedCubes list to be list . |
void |
setAssociatedCubes(AssociationList list,
int state)
Sets the AssociatedCubes list to be list . |
void |
setAssociatedExternalTable(ExternalTable inObject)
Sets the AssociatedExternalTables list 0th element to be inObject . |
void |
setAssociatedExternalTables(AssociationList list)
Sets the AssociatedExternalTables list to be list . |
void |
setAssociatedExternalTables(AssociationList list,
int state)
Sets the AssociatedExternalTables list to be list . |
void |
setAssociatedOLAPSchema(OLAPSchema inObject)
Sets the AssociatedOLAPSchemas list 0th element to be inObject . |
void |
setAssociatedOLAPSchemas(AssociationList list)
Sets the AssociatedOLAPSchemas list to be list . |
void |
setAssociatedOLAPSchemas(AssociationList list,
int state)
Sets the AssociatedOLAPSchemas list to be list . |
void |
setDirectories(AssociationList list)
Sets the Directories list to be list . |
void |
setDirectories(AssociationList inObjects,
int state)
Sets the entire Directories list to match the passed in AssociationList, sets the state of the Directories |
void |
setFileExtension(java.lang.String inFileExtension)
Sets the FileExtension value and sets the state to MetadataState.LOCAL. |
void |
setFileExtension(java.lang.String inFileExtension,
int state)
Sets the FileExtension Metadata State. |
void |
setFileExtensionState(int state)
Sets the Metadata State of FileExtension . |
void |
setFileName(java.lang.String inFileName)
Sets the FileName value and sets the state to MetadataState.LOCAL. |
void |
setFileName(java.lang.String inFileName,
int state)
Sets the FileName Metadata State. |
void |
setFileNameState(int state)
Sets the Metadata State of FileName . |
void |
setIsARelativeName(int inIsARelativeName)
Sets the IsARelativeName value and sets the state to MetadataState.LOCAL. |
void |
setIsARelativeName(int inIsARelativeName,
int state)
Sets the IsARelativeName Metadata State. |
void |
setIsARelativeName(java.lang.String inIsARelativeName)
Sets the IsARelativeName value and sets the state to MetadataState.LOCAL. |
void |
setIsARelativeName(java.lang.String inIsARelativeName,
int state)
Sets the IsARelativeName value and Metadata State. |
void |
setIsARelativeNameState(int state)
Sets the Metadata State of IsARelativeName . |
void |
setScriptedConnections(AssociationList list)
Sets the ScriptedConnections list to be list . |
void |
setScriptedConnections(AssociationList inObjects,
int state)
Sets the entire ScriptedConnections list to match the passed in AssociationList, sets the state of the ScriptedConnections |
Methods inherited from interface com.sas.metadata.remote.DeployedDataPackage |
---|
getAliases, getAliases, getAliasFor, getAliasFors, getAliasFors, getDeployedComponents, getDeployedComponents, getTableCollections, getTableCollections, getUsedByPackages, getUsedByPackages, getUsingPackages, getUsingPackages, setAliases, setAliases, setAliasFor, setAliasFors, setAliasFors, setDeployedComponents, setDeployedComponents, setTableCollections, setTableCollections, setUsedByPackages, setUsedByPackages, setUsingPackages, setUsingPackages |
Methods inherited from interface com.sas.metadata.remote.PrimaryType |
---|
getFavoritesContainers, getFavoritesContainers, getIsHidden, getIsHiddenState, getPublicType, getPublicTypeMaxLength, getPublicTypeState, setFavoritesContainers, setFavoritesContainers, setIsHidden, setIsHidden, setIsHidden, setIsHidden, setIsHiddenState, setPublicType, setPublicType, setPublicTypeState |
Methods inherited from interface com.sas.metadata.remote.MdObjectBaseXML |
---|
closeUpdateMetadataXML, createEmptyXML, createObjectRefreshXML, createObjectXML, createObjectXML, createUpdateAssociationXML, createUpdateAssociationXML, createUpdateSimpleXML, doCreateUpdateXML, getUpdateSimpleSubstring, updateMetadataAll |
Field Detail |
---|
static final java.lang.String ATTRIBUTE_ISARELATIVENAME_NAME
IsARelativeName: Does the FileName attribute include the full directory path information? If so, this attribute should be false.
static final java.lang.String ATTRIBUTE_FILENAME_NAME
FileName: The name of the file in the file system.
static final java.lang.String ATTRIBUTE_FILEEXTENSION_NAME
FileExtension: The type of the file, i.e. txt, html, bat.
static final java.lang.String ASSOCIATION_ASSOCIATEDCUBE_NAME
AssociatedCube: The cube described by this file.
static final java.lang.String ASSOCIATION_ASSOCIATEDEXTERNALTABLE_NAME
AssociatedExternalTable: *Unknown*
static final java.lang.String ASSOCIATION_ASSOCIATEDOLAPSCHEMA_NAME
AssociatedOLAPSchema: The schema that is monitored by this log file.
static final java.lang.String ASSOCIATION_DIRECTORIES_NAME
Directories: *Unknown*
static final java.lang.String ASSOCIATION_SCRIPTEDCONNECTIONS_NAME
ScriptedConnections: *Unknown*
Method Detail |
---|
void initializeRequiredObjects() throws java.rmi.RemoteException
initializeRequiredObjects
in interface ContentLocation
initializeRequiredObjects
in interface DeployedDataPackage
initializeRequiredObjects
in interface MdObjectBaseUtil
initializeRequiredObjects
in interface PrimaryType
initializeRequiredObjects
in interface Root
initializeRequiredObjects
in interface Text
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.void initializePredObjects() throws java.rmi.RemoteException
initializePredObjects
in interface ContentLocation
initializePredObjects
in interface DeployedDataPackage
initializePredObjects
in interface MdObjectBase
initializePredObjects
in interface PrimaryType
initializePredObjects
in interface Root
initializePredObjects
in interface Text
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getIsARelativeName() throws java.rmi.RemoteException
int
value of IsARelativeName
IsARelativeName
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getIsARelativeNameState() throws java.rmi.RemoteException
IsARelativeName
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.java.lang.String getFileName() throws java.rmi.RemoteException
String
value of FileName
FileName
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getFileNameState() throws java.rmi.RemoteException
FileName
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getFileNameMaxLength() throws java.rmi.RemoteException
FileName
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.java.lang.String getFileExtension() throws java.rmi.RemoteException
String
value of FileExtension
FileExtension
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getFileExtensionState() throws java.rmi.RemoteException
FileExtension
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getFileExtensionMaxLength() throws java.rmi.RemoteException
FileExtension
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.AssociationList getAssociatedCubes() throws java.rmi.RemoteException, MdException
AssociatedCubes
AssociatedCubes
which can be of type: java.rmi.RemoteException
- If error connecting/communicating to/with remote object.
MdException
- If error getting/setting part of the object.Cube getAssociatedCube() throws java.rmi.RemoteException, MdException
Cube
for AssociatedCube
Cube
( null
if not set ) of AssociatedCube
which can be of type: java.rmi.RemoteException
- If error connecting/communicating to/with remote object.
MdException
- If error getting/setting part of the object.AssociationList getAssociatedExternalTables() throws java.rmi.RemoteException, MdException
AssociatedExternalTables
AssociatedExternalTables
which can be of type: java.rmi.RemoteException
- If error connecting/communicating to/with remote object.
MdException
- If error getting/setting part of the object.ExternalTable getAssociatedExternalTable() throws java.rmi.RemoteException, MdException
ExternalTable
for AssociatedExternalTable
ExternalTable
( null
if not set ) of AssociatedExternalTable
which can be of type: java.rmi.RemoteException
- If error connecting/communicating to/with remote object.
MdException
- If error getting/setting part of the object.AssociationList getAssociatedOLAPSchemas() throws java.rmi.RemoteException, MdException
AssociatedOLAPSchemas
AssociatedOLAPSchemas
which can be of type: java.rmi.RemoteException
- If error connecting/communicating to/with remote object.
MdException
- If error getting/setting part of the object.OLAPSchema getAssociatedOLAPSchema() throws java.rmi.RemoteException, MdException
OLAPSchema
for AssociatedOLAPSchema
OLAPSchema
( null
if not set ) of AssociatedOLAPSchema
which can be of type: java.rmi.RemoteException
- If error connecting/communicating to/with remote object.
MdException
- If error getting/setting part of the object.AssociationList getDirectories() throws java.rmi.RemoteException, MdException
Directories
Directories
which can be of type: java.rmi.RemoteException
- If error connecting/communicating to/with remote object.
MdException
- If error getting/setting part of the object.AssociationList getScriptedConnections() throws java.rmi.RemoteException, MdException
ScriptedConnections
ScriptedConnections
which can be of type: java.rmi.RemoteException
- If error connecting/communicating to/with remote object.
MdException
- If error getting/setting part of the object.AssociationList getAssociatedCubes(boolean fGoToServer) throws java.rmi.RemoteException, MdException
AssociatedCubes
fGoToServer
- boolean Get the value from the server.
AssociatedCubes
which can be of type: java.rmi.RemoteException
- If error connecting/communicating to/with remote object.
MdException
- If error getting/setting part of the object.AssociationList getAssociatedExternalTables(boolean fGoToServer) throws java.rmi.RemoteException, MdException
AssociatedExternalTables
fGoToServer
- boolean Get the value from the server.
AssociatedExternalTables
which can be of type: java.rmi.RemoteException
- If error connecting/communicating to/with remote object.
MdException
- If error getting/setting part of the object.AssociationList getAssociatedOLAPSchemas(boolean fGoToServer) throws java.rmi.RemoteException, MdException
AssociatedOLAPSchemas
fGoToServer
- boolean Get the value from the server.
AssociatedOLAPSchemas
which can be of type: java.rmi.RemoteException
- If error connecting/communicating to/with remote object.
MdException
- If error getting/setting part of the object.AssociationList getDirectories(boolean fGoToServer) throws java.rmi.RemoteException, MdException
Directories
fGoToServer
- boolean Get the value from the server.
Directories
which can be of type: java.rmi.RemoteException
- If error connecting/communicating to/with remote object.
MdException
- If error getting/setting part of the object.AssociationList getScriptedConnections(boolean fGoToServer) throws java.rmi.RemoteException, MdException
ScriptedConnections
fGoToServer
- boolean Get the value from the server.
ScriptedConnections
which can be of type: java.rmi.RemoteException
- If error connecting/communicating to/with remote object.
MdException
- If error getting/setting part of the object.void setIsARelativeName(int inIsARelativeName) throws java.rmi.RemoteException
IsARelativeName
value and sets the state to MetadataState.LOCAL.
inIsARelativeName
- int
java.rmi.RemoteException
- If error communicating with remote object.void setIsARelativeName(int inIsARelativeName, int state) throws java.rmi.RemoteException
IsARelativeName
Metadata State.
inIsARelativeName
- intstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setIsARelativeName(java.lang.String inIsARelativeName) throws java.rmi.RemoteException
IsARelativeName
value and sets the state to MetadataState.LOCAL.
inIsARelativeName
- String
java.rmi.RemoteException
- If error communicating with remote object.void setIsARelativeName(java.lang.String inIsARelativeName, int state) throws java.rmi.RemoteException
IsARelativeName
value and Metadata State.
inIsARelativeName
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setIsARelativeNameState(int state) throws java.rmi.RemoteException
IsARelativeName
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setFileName(java.lang.String inFileName) throws java.rmi.RemoteException
FileName
value and sets the state to MetadataState.LOCAL.
inFileName
- String
java.rmi.RemoteException
- If error communicating with remote object.void setFileName(java.lang.String inFileName, int state) throws java.rmi.RemoteException
FileName
Metadata State.
inFileName
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setFileNameState(int state) throws java.rmi.RemoteException
FileName
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setFileExtension(java.lang.String inFileExtension) throws java.rmi.RemoteException
FileExtension
value and sets the state to MetadataState.LOCAL.
inFileExtension
- String
java.rmi.RemoteException
- If error communicating with remote object.void setFileExtension(java.lang.String inFileExtension, int state) throws java.rmi.RemoteException
FileExtension
Metadata State.
inFileExtension
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setFileExtensionState(int state) throws java.rmi.RemoteException
FileExtension
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setAssociatedCubes(AssociationList list) throws java.rmi.RemoteException
AssociatedCubes
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setAssociatedCubes(AssociationList list, int state) throws java.rmi.RemoteException
AssociatedCubes
list to be list
. Objects of which can be of type:
list
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setAssociatedCube(Cube inObject) throws java.rmi.RemoteException
AssociatedCubes
list 0th element to be inObject
.
inObject
- Cube
java.rmi.RemoteException
- If error communicating with remote object.void setAssociatedExternalTables(AssociationList list) throws java.rmi.RemoteException
AssociatedExternalTables
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setAssociatedExternalTables(AssociationList list, int state) throws java.rmi.RemoteException
AssociatedExternalTables
list to be list
. Objects of which can be of type:
list
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setAssociatedExternalTable(ExternalTable inObject) throws java.rmi.RemoteException
AssociatedExternalTables
list 0th element to be inObject
.
inObject
- ExternalTable
java.rmi.RemoteException
- If error communicating with remote object.void setAssociatedOLAPSchemas(AssociationList list) throws java.rmi.RemoteException
AssociatedOLAPSchemas
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setAssociatedOLAPSchemas(AssociationList list, int state) throws java.rmi.RemoteException
AssociatedOLAPSchemas
list to be list
. Objects of which can be of type:
list
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setAssociatedOLAPSchema(OLAPSchema inObject) throws java.rmi.RemoteException
AssociatedOLAPSchemas
list 0th element to be inObject
.
inObject
- OLAPSchema
java.rmi.RemoteException
- If error communicating with remote object.void setDirectories(AssociationList list) throws java.rmi.RemoteException
Directories
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setDirectories(AssociationList inObjects, int state) throws java.rmi.RemoteException
inObjects
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setScriptedConnections(AssociationList list) throws java.rmi.RemoteException
ScriptedConnections
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setScriptedConnections(AssociationList inObjects, int state) throws java.rmi.RemoteException
inObjects
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.
|
Metadata |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |