|
Metadata |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SASFileRef
Represents a name temporarily assigned to an external file or to an aggregate storage location that identifies it to SAS. The associated ContentLocations (and this should be a single object except for concatenated files) represent the location used by the fileref.
Attributes of SASFileRef are:
Associations of SASFileRef 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(); SASFileRef myObject = (SASFileRef) factory.createComplexMetadataObject(objectStore, "SASFileRef_Object", MetadataObjects.SASFILEREF, "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_FILEREFLOCATIONS_NAME
Constant used for the name of the FileRefLocations association. |
static java.lang.String |
ASSOCIATION_REPORTS_NAME
Constant used for the name of the Reports association. |
static java.lang.String |
ATTRIBUTE_ACCESSMETHOD_NAME
Constant used for the name of the AccessMethod attribute. |
static java.lang.String |
ATTRIBUTE_FILEREF_NAME
Constant used for the name of the Fileref attribute. |
static java.lang.String |
ATTRIBUTE_ISPREASSIGNED_NAME
Constant used for the name of the IsPreassigned attribute. |
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 | |
---|---|
java.lang.String |
getAccessMethod()
Gets the String value of AccessMethod |
int |
getAccessMethodMaxLength()
Gets the maximum length of AccessMethod |
int |
getAccessMethodState()
Gets the Metadata State of AccessMethod |
java.lang.String |
getFileref()
Gets the String value of Fileref |
AssociationList |
getFileRefLocations()
Gets the AssociationList of FileRefLocations |
AssociationList |
getFileRefLocations(boolean fGoToServer)
Gets the Associationlist of FileRefLocations |
int |
getFilerefMaxLength()
Gets the maximum length of Fileref |
int |
getFilerefState()
Gets the Metadata State of Fileref |
int |
getIsPreassigned()
Gets the int value of IsPreassigned |
int |
getIsPreassignedState()
Gets the Metadata State of IsPreassigned |
AssociationList |
getReports()
Gets the AssociationList of Reports |
AssociationList |
getReports(boolean fGoToServer)
Gets the Associationlist of Reports |
void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: FileRefLocations Reports |
void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: |
void |
setAccessMethod(java.lang.String inAccessMethod)
Sets the AccessMethod value and sets the state to MetadataState.LOCAL. |
void |
setAccessMethod(java.lang.String inAccessMethod,
int state)
Sets the AccessMethod Metadata State. |
void |
setAccessMethodState(int state)
Sets the Metadata State of AccessMethod . |
void |
setFileref(java.lang.String inFileref)
Sets the Fileref value and sets the state to MetadataState.LOCAL. |
void |
setFileref(java.lang.String inFileref,
int state)
Sets the Fileref Metadata State. |
void |
setFileRefLocations(AssociationList list)
Sets the FileRefLocations list to be list . |
void |
setFileRefLocations(AssociationList inObjects,
int state)
Sets the entire AssociationList to match the passed in Vector, sets the state of the AssociationList |
void |
setFilerefState(int state)
Sets the Metadata State of Fileref . |
void |
setIsPreassigned(int inIsPreassigned)
Sets the IsPreassigned value and sets the state to MetadataState.LOCAL. |
void |
setIsPreassigned(int inIsPreassigned,
int state)
Sets the IsPreassigned Metadata State. |
void |
setIsPreassigned(java.lang.String inIsPreassigned)
Sets the IsPreassigned value and sets the state to MetadataState.LOCAL. |
void |
setIsPreassigned(java.lang.String inIsPreassigned,
int state)
Sets the IsPreassigned value and Metadata State. |
void |
setIsPreassignedState(int state)
Sets the Metadata State of IsPreassigned . |
void |
setReports(AssociationList list)
Sets the Reports list to be list . |
void |
setReports(AssociationList inObjects,
int state)
Sets the entire AssociationList to match the passed in Vector, sets the state of the AssociationList |
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_FILEREF_NAME
Fileref: The fileref used by SAS software.
static final java.lang.String ATTRIBUTE_ACCESSMETHOD_NAME
AccessMethod: The access method SAS software uses to access the file.
static final java.lang.String ATTRIBUTE_ISPREASSIGNED_NAME
IsPreassigned: If true, the other attributes of this object that contain information used by a FILENAME statement may be provided for documentation purposes only but is not required to access the file, because it has been assigned via some other mechanism.
static final java.lang.String ASSOCIATION_FILEREFLOCATIONS_NAME
FileRefLocations: The location used by this fileref. This should be at most a single object except for concatenated files.
static final java.lang.String ASSOCIATION_REPORTS_NAME
Reports: The reports that use this fileref for location.
Method Detail |
---|
void initializeRequiredObjects() throws java.rmi.RemoteException
initializeRequiredObjects
in interface DeployedDataPackage
initializeRequiredObjects
in interface MdObjectBaseUtil
initializeRequiredObjects
in interface PrimaryType
initializeRequiredObjects
in interface Root
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.void initializePredObjects() throws java.rmi.RemoteException
FileRefLocations
Reports
initializePredObjects
in interface DeployedDataPackage
initializePredObjects
in interface MdObjectBase
initializePredObjects
in interface PrimaryType
initializePredObjects
in interface Root
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.java.lang.String getFileref() throws java.rmi.RemoteException
String
value of Fileref
Fileref
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getFilerefState() throws java.rmi.RemoteException
Fileref
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getFilerefMaxLength() throws java.rmi.RemoteException
Fileref
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.java.lang.String getAccessMethod() throws java.rmi.RemoteException
String
value of AccessMethod
AccessMethod
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getAccessMethodState() throws java.rmi.RemoteException
AccessMethod
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getAccessMethodMaxLength() throws java.rmi.RemoteException
AccessMethod
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getIsPreassigned() throws java.rmi.RemoteException
int
value of IsPreassigned
IsPreassigned
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getIsPreassignedState() throws java.rmi.RemoteException
IsPreassigned
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.AssociationList getFileRefLocations() throws java.rmi.RemoteException, MdException
FileRefLocations
FileRefLocations
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 getReports() throws java.rmi.RemoteException, MdException
Reports
Reports
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 getFileRefLocations(boolean fGoToServer) throws java.rmi.RemoteException, MdException
FileRefLocations
fGoToServer
- boolean Get the value from the server.
FileRefLocations
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 getReports(boolean fGoToServer) throws java.rmi.RemoteException, MdException
Reports
fGoToServer
- boolean Get the value from the server.
Reports
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 setFileref(java.lang.String inFileref) throws java.rmi.RemoteException
Fileref
value and sets the state to MetadataState.LOCAL.
inFileref
- String
java.rmi.RemoteException
- If error communicating with remote object.void setFileref(java.lang.String inFileref, int state) throws java.rmi.RemoteException
Fileref
Metadata State.
inFileref
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setFilerefState(int state) throws java.rmi.RemoteException
Fileref
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setAccessMethod(java.lang.String inAccessMethod) throws java.rmi.RemoteException
AccessMethod
value and sets the state to MetadataState.LOCAL.
inAccessMethod
- String
java.rmi.RemoteException
- If error communicating with remote object.void setAccessMethod(java.lang.String inAccessMethod, int state) throws java.rmi.RemoteException
AccessMethod
Metadata State.
inAccessMethod
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setAccessMethodState(int state) throws java.rmi.RemoteException
AccessMethod
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setIsPreassigned(int inIsPreassigned) throws java.rmi.RemoteException
IsPreassigned
value and sets the state to MetadataState.LOCAL.
inIsPreassigned
- int
java.rmi.RemoteException
- If error communicating with remote object.void setIsPreassigned(int inIsPreassigned, int state) throws java.rmi.RemoteException
IsPreassigned
Metadata State.
inIsPreassigned
- intstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setIsPreassigned(java.lang.String inIsPreassigned) throws java.rmi.RemoteException
IsPreassigned
value and sets the state to MetadataState.LOCAL.
inIsPreassigned
- String
java.rmi.RemoteException
- If error communicating with remote object.void setIsPreassigned(java.lang.String inIsPreassigned, int state) throws java.rmi.RemoteException
IsPreassigned
value and Metadata State.
inIsPreassigned
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setIsPreassignedState(int state) throws java.rmi.RemoteException
IsPreassigned
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setFileRefLocations(AssociationList list) throws java.rmi.RemoteException
FileRefLocations
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setFileRefLocations(AssociationList inObjects, int state) throws java.rmi.RemoteException
inObjects
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setReports(AssociationList list) throws java.rmi.RemoteException
Reports
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setReports(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 |