|
Metadata |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TCPIPConnection
Contains information for making a TCP/IP connection to a server.
Attributes of TCPIPConnection are:
Associations of TCPIPConnection 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(); TCPIPConnection myObject = (TCPIPConnection) factory.createComplexMetadataObject(objectStore, "TCPIPConnection_Object", MetadataObjects.TCPIPCONNECTION, "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 |
ATTRIBUTE_HOSTNAME_NAME
Constant used for the name of the HostName attribute. |
static java.lang.String |
ATTRIBUTE_PORT_NAME
Constant used for the name of the Port 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 | |
---|---|
java.lang.String |
getHostName()
Gets the String value of HostName |
int |
getHostNameMaxLength()
Gets the maximum length of HostName |
int |
getHostNameState()
Gets the Metadata State of HostName |
int |
getPort()
Gets the int value of Port |
int |
getPortState()
Gets the Metadata State of Port |
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: |
void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: |
void |
setHostName(java.lang.String inHostName)
Sets the HostName value and sets the state to MetadataState.LOCAL. |
void |
setHostName(java.lang.String inHostName,
int state)
Sets the HostName Metadata State. |
void |
setHostNameState(int state)
Sets the Metadata State of HostName . |
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 |
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_HOSTNAME_NAME
HostName: This is the IP name or IP address used to connect to a deployed component.
static final java.lang.String ATTRIBUTE_SERVICE_NAME
Service: The name of the service to use when connecting to a server.
static final java.lang.String ATTRIBUTE_PORT_NAME
Port: The port number to use to connect to the server.
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 OpenClientConnection
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 Connection
initializePredObjects
in interface ContentLocation
initializePredObjects
in interface DeployedDataPackage
initializePredObjects
in interface MdObjectBase
initializePredObjects
in interface OpenClientConnection
initializePredObjects
in interface PrimaryType
initializePredObjects
in interface Root
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.java.lang.String getHostName() throws java.rmi.RemoteException
String
value of HostName
HostName
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getHostNameState() throws java.rmi.RemoteException
HostName
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getHostNameMaxLength() throws java.rmi.RemoteException
HostName
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.void setHostName(java.lang.String inHostName) throws java.rmi.RemoteException
HostName
value and sets the state to MetadataState.LOCAL.
inHostName
- String
java.rmi.RemoteException
- If error communicating with remote object.void setHostName(java.lang.String inHostName, int state) throws java.rmi.RemoteException
HostName
Metadata State.
inHostName
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setHostNameState(int state) throws java.rmi.RemoteException
HostName
.
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.
|
Metadata |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |