|
Metadata |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Device
Describes location information for SAS Filerefs.
Attributes of Device are:
Associations of Device 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(); Device myObject = (Device) factory.createComplexMetadataObject(objectStore, "Device_Object", MetadataObjects.DEVICE, "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_ASSOCIATEDDEVICETYPE_NAME
Constant used for the name of the AssociatedDeviceType association. |
static java.lang.String |
ATTRIBUTE_DEVICENAME_NAME
Constant used for the name of the DeviceName attribute. |
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 | |
---|---|
DeviceType |
getAssociatedDeviceType()
Gets the DeviceType for AssociatedDeviceType |
AssociationList |
getAssociatedDeviceTypes()
Gets the Association list of AssociatedDeviceTypes |
AssociationList |
getAssociatedDeviceTypes(boolean fGoToServer)
Gets the Associationlist of AssociatedDeviceTypes |
java.lang.String |
getDeviceName()
Gets the String value of DeviceName |
int |
getDeviceNameMaxLength()
Gets the maximum length of DeviceName |
int |
getDeviceNameState()
Gets the Metadata State of DeviceName |
void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: |
void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: |
void |
setAssociatedDeviceType(DeviceType inObject)
Sets the AssociatedDeviceTypes list 0th element to be inObject . |
void |
setAssociatedDeviceTypes(AssociationList list)
Sets the AssociatedDeviceTypes list to be list . |
void |
setAssociatedDeviceTypes(AssociationList list,
int state)
Sets the AssociatedDeviceTypes list to be list . |
void |
setDeviceName(java.lang.String inDeviceName)
Sets the DeviceName value and sets the state to MetadataState.LOCAL. |
void |
setDeviceName(java.lang.String inDeviceName,
int state)
Sets the DeviceName Metadata State. |
void |
setDeviceNameState(int state)
Sets the Metadata State of DeviceName . |
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_DEVICENAME_NAME
DeviceName: This attribute is used to describe location information for SAS Filerefs using the following engines; PIPE, PLOTTER, PRINTER, TAPE, TERMINAL and XPRINTER
static final java.lang.String ASSOCIATION_ASSOCIATEDDEVICETYPE_NAME
AssociatedDeviceType: Description of the device.
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
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
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.java.lang.String getDeviceName() throws java.rmi.RemoteException
String
value of DeviceName
DeviceName
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getDeviceNameState() throws java.rmi.RemoteException
DeviceName
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getDeviceNameMaxLength() throws java.rmi.RemoteException
DeviceName
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.AssociationList getAssociatedDeviceTypes() throws java.rmi.RemoteException, MdException
AssociatedDeviceTypes
AssociatedDeviceTypes
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.DeviceType getAssociatedDeviceType() throws java.rmi.RemoteException, MdException
DeviceType
for AssociatedDeviceType
DeviceType
( null
if not set ) of AssociatedDeviceType
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 getAssociatedDeviceTypes(boolean fGoToServer) throws java.rmi.RemoteException, MdException
AssociatedDeviceTypes
fGoToServer
- boolean Get the value from the server.
AssociatedDeviceTypes
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 setDeviceName(java.lang.String inDeviceName) throws java.rmi.RemoteException
DeviceName
value and sets the state to MetadataState.LOCAL.
inDeviceName
- String
java.rmi.RemoteException
- If error communicating with remote object.void setDeviceName(java.lang.String inDeviceName, int state) throws java.rmi.RemoteException
DeviceName
Metadata State.
inDeviceName
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setDeviceNameState(int state) throws java.rmi.RemoteException
DeviceName
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setAssociatedDeviceTypes(AssociationList list) throws java.rmi.RemoteException
AssociatedDeviceTypes
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setAssociatedDeviceTypes(AssociationList list, int state) throws java.rmi.RemoteException
AssociatedDeviceTypes
list to be list
. Objects of which can be of type:
list
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setAssociatedDeviceType(DeviceType inObject) throws java.rmi.RemoteException
AssociatedDeviceTypes
list 0th element to be inObject
.
inObject
- DeviceType
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 |