|
Metadata |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SASClientConnection
Represents the information needed by SAS software to connect to other servers.
Attributes of SASClientConnection are:
Associations of SASClientConnection 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(); SASClientConnection myObject = (SASClientConnection) factory.createComplexMetadataObject(objectStore, "SASClientConnection_Object", MetadataObjects.SASCLIENTCONNECTION, "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_LIBRARIES_NAME
Constant used for the name of the Libraries association. |
static java.lang.String |
ASSOCIATION_SCRIPTFILES_NAME
Constant used for the name of the ScriptFiles association. |
static java.lang.String |
ATTRIBUTE_PORT_NAME
Constant used for the name of the Port attribute. |
static java.lang.String |
ATTRIBUTE_REMOTEADDRESS_NAME
Constant used for the name of the RemoteAddress attribute. |
static java.lang.String |
ATTRIBUTE_SERVERSHORTNAME_NAME
Constant used for the name of the ServerShortName attribute. |
static java.lang.String |
ATTRIBUTE_SERVICE_NAME
Constant used for the name of the Service attribute. |
Fields inherited from interface com.sas.metadata.remote.Connection |
---|
ASSOCIATION_DATASOURCES_NAME, ASSOCIATION_DOMAIN_NAME, ASSOCIATION_PASSTHRUPASSWORD_NAME, ASSOCIATION_PROVIDERS_NAME, ASSOCIATION_SAPW_NAME, ASSOCIATION_SOURCE_NAME, ATTRIBUTE_APPLICATIONPROTOCOL_NAME, ATTRIBUTE_AUTHENTICATIONTYPE_NAME, ATTRIBUTE_COMMUNICATIONPROTOCOL_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 | |
---|---|
AssociationList |
getLibraries()
Gets the Association list of Libraries |
AssociationList |
getLibraries(boolean fGoToServer)
Gets the Associationlist of Libraries |
int |
getPort()
Gets the int value of Port |
int |
getPortState()
Gets the Metadata State of Port |
java.lang.String |
getRemoteAddress()
Gets the String value of RemoteAddress |
int |
getRemoteAddressMaxLength()
Gets the maximum length of RemoteAddress |
int |
getRemoteAddressState()
Gets the Metadata State of RemoteAddress |
AssociationList |
getScriptFiles()
Gets the AssociationList of ScriptFiles |
AssociationList |
getScriptFiles(boolean fGoToServer)
Gets the Associationlist of ScriptFiles |
java.lang.String |
getServerShortName()
Gets the String value of ServerShortName |
int |
getServerShortNameMaxLength()
Gets the maximum length of ServerShortName |
int |
getServerShortNameState()
Gets the Metadata State of ServerShortName |
java.lang.String |
getService()
Gets the String value of Service |
int |
getServiceMaxLength()
Gets the maximum length of Service |
int |
getServiceState()
Gets the Metadata State of Service |
void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: ScriptFiles |
void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: |
void |
setLibraries(AssociationList list)
Sets the Libraries list to be list . |
void |
setLibraries(AssociationList inObjects,
int state)
Sets the entire Libraries list to match the passed in AssociationList, sets the state of the Libraries |
void |
setPort(int inPort)
Sets the Port value and sets the state to MetadataState.LOCAL. |
void |
setPort(int inPort,
int state)
Sets the Port Metadata State. |
void |
setPort(java.lang.String inPort)
Sets the Port value and sets the state to MetadataState.LOCAL. |
void |
setPort(java.lang.String inPort,
int state)
Sets the Port value and Metadata State. |
void |
setPortState(int state)
Sets the Metadata State of Port . |
void |
setRemoteAddress(java.lang.String inRemoteAddress)
Sets the RemoteAddress value and sets the state to MetadataState.LOCAL. |
void |
setRemoteAddress(java.lang.String inRemoteAddress,
int state)
Sets the RemoteAddress Metadata State. |
void |
setRemoteAddressState(int state)
Sets the Metadata State of RemoteAddress . |
void |
setScriptFiles(AssociationList list)
Sets the ScriptFiles list to be list . |
void |
setScriptFiles(AssociationList inObjects,
int state)
Sets the entire AssociationList to match the passed in Vector, sets the state of the AssociationList |
void |
setServerShortName(java.lang.String inServerShortName)
Sets the ServerShortName value and sets the state to MetadataState.LOCAL. |
void |
setServerShortName(java.lang.String inServerShortName,
int state)
Sets the ServerShortName Metadata State. |
void |
setServerShortNameState(int state)
Sets the Metadata State of ServerShortName . |
void |
setService(java.lang.String inService)
Sets the Service value and sets the state to MetadataState.LOCAL. |
void |
setService(java.lang.String inService,
int state)
Sets the Service Metadata State. |
void |
setServiceState(int state)
Sets the Metadata State of Service . |
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_SERVERSHORTNAME_NAME
ServerShortName: This is the short server name that is used by SAS software to access a server.
static final java.lang.String ATTRIBUTE_REMOTEADDRESS_NAME
RemoteAddress: This is the remote address to use to access the server. This can be an IP address, an IP name, or any other address acceptable to SAS software.
static final java.lang.String ATTRIBUTE_SERVICE_NAME
Service: This is the service name used to connect to this server.
static final java.lang.String ATTRIBUTE_PORT_NAME
Port: This is the port number to use when accessing this server.
static final java.lang.String ASSOCIATION_SCRIPTFILES_NAME
ScriptFiles: The list of files that contain connection scripts.
static final java.lang.String ASSOCIATION_LIBRARIES_NAME
Libraries: The list of SAS libraries that use this connection.
Method Detail |
---|
void initializeRequiredObjects() throws java.rmi.RemoteException
initializeRequiredObjects
in interface Connection
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
ScriptFiles
initializePredObjects
in interface Connection
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 getServerShortName() throws java.rmi.RemoteException
String
value of ServerShortName
ServerShortName
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getServerShortNameState() throws java.rmi.RemoteException
ServerShortName
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getServerShortNameMaxLength() throws java.rmi.RemoteException
ServerShortName
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.java.lang.String getRemoteAddress() throws java.rmi.RemoteException
String
value of RemoteAddress
RemoteAddress
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getRemoteAddressState() throws java.rmi.RemoteException
RemoteAddress
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getRemoteAddressMaxLength() throws java.rmi.RemoteException
RemoteAddress
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.java.lang.String getService() throws java.rmi.RemoteException
String
value of Service
Service
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getServiceState() throws java.rmi.RemoteException
Service
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getServiceMaxLength() throws java.rmi.RemoteException
Service
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getPort() throws java.rmi.RemoteException
int
value of Port
Port
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getPortState() throws java.rmi.RemoteException
Port
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.AssociationList getScriptFiles() throws java.rmi.RemoteException, MdException
ScriptFiles
ScriptFiles
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 getLibraries() throws java.rmi.RemoteException, MdException
Libraries
Libraries
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 getScriptFiles(boolean fGoToServer) throws java.rmi.RemoteException, MdException
ScriptFiles
fGoToServer
- boolean Get the value from the server.
ScriptFiles
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 getLibraries(boolean fGoToServer) throws java.rmi.RemoteException, MdException
Libraries
fGoToServer
- boolean Get the value from the server.
Libraries
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 setServerShortName(java.lang.String inServerShortName) throws java.rmi.RemoteException
ServerShortName
value and sets the state to MetadataState.LOCAL.
inServerShortName
- String
java.rmi.RemoteException
- If error communicating with remote object.void setServerShortName(java.lang.String inServerShortName, int state) throws java.rmi.RemoteException
ServerShortName
Metadata State.
inServerShortName
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setServerShortNameState(int state) throws java.rmi.RemoteException
ServerShortName
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setRemoteAddress(java.lang.String inRemoteAddress) throws java.rmi.RemoteException
RemoteAddress
value and sets the state to MetadataState.LOCAL.
inRemoteAddress
- String
java.rmi.RemoteException
- If error communicating with remote object.void setRemoteAddress(java.lang.String inRemoteAddress, int state) throws java.rmi.RemoteException
RemoteAddress
Metadata State.
inRemoteAddress
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setRemoteAddressState(int state) throws java.rmi.RemoteException
RemoteAddress
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setService(java.lang.String inService) throws java.rmi.RemoteException
Service
value and sets the state to MetadataState.LOCAL.
inService
- String
java.rmi.RemoteException
- If error communicating with remote object.void setService(java.lang.String inService, int state) throws java.rmi.RemoteException
Service
Metadata State.
inService
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setServiceState(int state) throws java.rmi.RemoteException
Service
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setPort(int inPort) throws java.rmi.RemoteException
Port
value and sets the state to MetadataState.LOCAL.
inPort
- int
java.rmi.RemoteException
- If error communicating with remote object.void setPort(int inPort, int state) throws java.rmi.RemoteException
Port
Metadata State.
inPort
- intstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setPort(java.lang.String inPort) throws java.rmi.RemoteException
Port
value and sets the state to MetadataState.LOCAL.
inPort
- String
java.rmi.RemoteException
- If error communicating with remote object.void setPort(java.lang.String inPort, int state) throws java.rmi.RemoteException
Port
value and Metadata State.
inPort
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setPortState(int state) throws java.rmi.RemoteException
Port
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setScriptFiles(AssociationList list) throws java.rmi.RemoteException
ScriptFiles
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setScriptFiles(AssociationList inObjects, int state) throws java.rmi.RemoteException
inObjects
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setLibraries(AssociationList list) throws java.rmi.RemoteException
Libraries
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setLibraries(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 |