|
Metadata |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServiceType
The types of services available from a DeployedComponent. Examples of types are DBMS, FileSystem, OperatingSystem.
Attributes of ServiceType are:
Associations of ServiceType 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(); ServiceType myObject = (ServiceType) factory.createComplexMetadataObject(objectStore, "ServiceType_Object", MetadataObjects.SERVICETYPE, "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_DEPLOYEDCOMPONENTS_NAME
Constant used for the name of the DeployedComponents association. |
static java.lang.String |
ATTRIBUTE_CLASSIDENTIFIER_NAME
Constant used for the name of the ClassIdentifier attribute. |
static java.lang.String |
ATTRIBUTE_INTERFACENAME_NAME
Constant used for the name of the InterfaceName attribute. |
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 |
getClassIdentifier()
Gets the String value of ClassIdentifier |
int |
getClassIdentifierMaxLength()
Gets the maximum length of ClassIdentifier |
int |
getClassIdentifierState()
Gets the Metadata State of ClassIdentifier |
AssociationList |
getDeployedComponents()
Gets the Association list of DeployedComponents |
AssociationList |
getDeployedComponents(boolean fGoToServer)
Gets the Associationlist of DeployedComponents |
java.lang.String |
getInterfaceName()
Gets the String value of InterfaceName |
int |
getInterfaceNameMaxLength()
Gets the maximum length of InterfaceName |
int |
getInterfaceNameState()
Gets the Metadata State of InterfaceName |
void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: |
void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: |
void |
setClassIdentifier(java.lang.String inClassIdentifier)
Sets the ClassIdentifier value and sets the state to MetadataState.LOCAL. |
void |
setClassIdentifier(java.lang.String inClassIdentifier,
int state)
Sets the ClassIdentifier Metadata State. |
void |
setClassIdentifierState(int state)
Sets the Metadata State of ClassIdentifier . |
void |
setDeployedComponents(AssociationList list)
Sets the DeployedComponents list to be list . |
void |
setDeployedComponents(AssociationList inObjects,
int state)
Sets the entire DeployedComponents list to match the passed in AssociationList, sets the state of the DeployedComponents |
void |
setInterfaceName(java.lang.String inInterfaceName)
Sets the InterfaceName value and sets the state to MetadataState.LOCAL. |
void |
setInterfaceName(java.lang.String inInterfaceName,
int state)
Sets the InterfaceName Metadata State. |
void |
setInterfaceNameState(int state)
Sets the Metadata State of InterfaceName . |
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_INTERFACENAME_NAME
InterfaceName: Name of the interface of the component that provides this type of service.
static final java.lang.String ATTRIBUTE_CLASSIDENTIFIER_NAME
ClassIdentifier: The class identifier is a unique identifier for this component. If this is a Java component, it is the full name of the Java class.
static final java.lang.String ASSOCIATION_DEPLOYEDCOMPONENTS_NAME
DeployedComponents: The deployed components that provide this type of service.
Method Detail |
---|
void initializeRequiredObjects() throws java.rmi.RemoteException
initializeRequiredObjects
in interface MdObjectBaseUtil
initializeRequiredObjects
in interface Root
initializeRequiredObjects
in interface SecondaryType
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.void initializePredObjects() throws java.rmi.RemoteException
initializePredObjects
in interface MdObjectBase
initializePredObjects
in interface Root
initializePredObjects
in interface SecondaryType
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.java.lang.String getInterfaceName() throws java.rmi.RemoteException
String
value of InterfaceName
InterfaceName
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getInterfaceNameState() throws java.rmi.RemoteException
InterfaceName
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getInterfaceNameMaxLength() throws java.rmi.RemoteException
InterfaceName
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.java.lang.String getClassIdentifier() throws java.rmi.RemoteException
String
value of ClassIdentifier
ClassIdentifier
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getClassIdentifierState() throws java.rmi.RemoteException
ClassIdentifier
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getClassIdentifierMaxLength() throws java.rmi.RemoteException
ClassIdentifier
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.AssociationList getDeployedComponents() throws java.rmi.RemoteException, MdException
DeployedComponents
DeployedComponents
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 getDeployedComponents(boolean fGoToServer) throws java.rmi.RemoteException, MdException
DeployedComponents
fGoToServer
- boolean Get the value from the server.
DeployedComponents
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 setInterfaceName(java.lang.String inInterfaceName) throws java.rmi.RemoteException
InterfaceName
value and sets the state to MetadataState.LOCAL.
inInterfaceName
- String
java.rmi.RemoteException
- If error communicating with remote object.void setInterfaceName(java.lang.String inInterfaceName, int state) throws java.rmi.RemoteException
InterfaceName
Metadata State.
inInterfaceName
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setInterfaceNameState(int state) throws java.rmi.RemoteException
InterfaceName
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setClassIdentifier(java.lang.String inClassIdentifier) throws java.rmi.RemoteException
ClassIdentifier
value and sets the state to MetadataState.LOCAL.
inClassIdentifier
- String
java.rmi.RemoteException
- If error communicating with remote object.void setClassIdentifier(java.lang.String inClassIdentifier, int state) throws java.rmi.RemoteException
ClassIdentifier
Metadata State.
inClassIdentifier
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setClassIdentifierState(int state) throws java.rmi.RemoteException
ClassIdentifier
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setDeployedComponents(AssociationList list) throws java.rmi.RemoteException
DeployedComponents
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setDeployedComponents(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 |