com.ibm.j2ca.extension.emd.discovery
Class WBIMetadataTreeImpl
java.lang.Object
com.ibm.j2ca.extension.emd.discovery.WBIMetadataTreeImpl
- All Implemented Interfaces:
- commonj.connector.metadata.discovery.MetadataTree
- public abstract class WBIMetadataTreeImpl
- extends java.lang.Object
- implements commonj.connector.metadata.discovery.MetadataTree
Implementation for MetadataTree interface. This represents the tree structure
shown on the tool. It holds the MetadataObjects that represents nodes of the
tree.
- See Also:
commonj.connector.metadata.discovery.MetadataTree.
Fields inherited from interface commonj.connector.metadata.discovery.MetadataTree |
MULTI_SELECT, SINGLE_SELECT |
Constructor Summary |
WBIMetadataTreeImpl(commonj.connector.metadata.discovery.connection.MetadataConnection connection)
|
Method Summary |
abstract commonj.connector.metadata.discovery.MetadataSelection |
createMetaDataSelection()
This method has to be implemented by the discovery service. |
commonj.connector.metadata.discovery.mutable.ObjectWizard |
createObjectWizard(commonj.connector.metadata.discovery.MetadataObject metaDataObject,
commonj.connector.metadata.discovery.mutable.Operation op)
|
commonj.connector.metadata.discovery.connection.MetadataConnection |
getMetadataConnection()
|
abstract commonj.connector.metadata.discovery.MetadataObject |
getMetadataObject(java.lang.String locationId)
Implement this method to return the MetadataObject for a given location. |
int |
getSelectionStyle()
|
abstract commonj.connector.metadata.discovery.MetadataObjectResponse |
listMetadataObjects(commonj.connector.metadata.discovery.properties.PropertyGroup filterParameters)
Return the MetadataObjectResponse object for a filer criteria. |
void |
setSelectionStyle(int childSelection)
Set the selection pattern for the tree. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface commonj.connector.metadata.discovery.MetadataTree |
createFilterProperties |
WBIMetadataTreeImpl
public WBIMetadataTreeImpl(commonj.connector.metadata.discovery.connection.MetadataConnection connection)
getMetadataConnection
public commonj.connector.metadata.discovery.connection.MetadataConnection getMetadataConnection()
- Specified by:
getMetadataConnection
in interface commonj.connector.metadata.discovery.MetadataTree
- See Also:
MetadataTree.getMetadataConnection()
setSelectionStyle
public void setSelectionStyle(int childSelection)
- Set the selection pattern for the tree.
- Parameters:
childSelection
-
createMetaDataSelection
public abstract commonj.connector.metadata.discovery.MetadataSelection createMetaDataSelection()
- This method has to be implemented by the discovery service. The
WBIMetadataSelection object should also be initialized with selection
properties in this method.
- Specified by:
createMetaDataSelection
in interface commonj.connector.metadata.discovery.MetadataTree
- See Also:
MetadataTree.createMetaDataSelection()
listMetadataObjects
public abstract commonj.connector.metadata.discovery.MetadataObjectResponse listMetadataObjects(commonj.connector.metadata.discovery.properties.PropertyGroup filterParameters)
throws commonj.connector.metadata.MetadataException
- Return the MetadataObjectResponse object for a filer criteria. This
methoid has to be implemented by the disovery service.
- Specified by:
listMetadataObjects
in interface commonj.connector.metadata.discovery.MetadataTree
- Throws:
commonj.connector.metadata.MetadataException
- See Also:
commonj.connector.metadata.discovery.MetadataTree#listMetadataObjects(commonj.connector.metadata.discovery.properties.PropertyGroup,
commonj.connector.metadata.discovery.ToolEnvironmentContext)
getMetadataObject
public abstract commonj.connector.metadata.discovery.MetadataObject getMetadataObject(java.lang.String locationId)
- Implement this method to return the MetadataObject for a given location.
This method has to be implemented by the discovery service.
- Specified by:
getMetadataObject
in interface commonj.connector.metadata.discovery.MetadataTree
createObjectWizard
public commonj.connector.metadata.discovery.mutable.ObjectWizard createObjectWizard(commonj.connector.metadata.discovery.MetadataObject metaDataObject,
commonj.connector.metadata.discovery.mutable.Operation op)
throws commonj.connector.metadata.MetadataException
- Throws:
commonj.connector.metadata.MetadataException
- See Also:
commonj.connector.metadata.discovery.MetadataTree#createObjectWizard(commonj.connector.metadata.discovery.MetadataObject,
commonj.connector.metadata.discovery.mutable.Operation)
getSelectionStyle
public int getSelectionStyle()
- Specified by:
getSelectionStyle
in interface commonj.connector.metadata.discovery.MetadataTree
- See Also:
MetadataTree.getSelectionStyle()