Interface FeatureMap

All Superinterfaces:
AbstractTransformation, CMetadata, MdObjectBase, MdObjectBaseUtil, MdObjectBaseXML, PrimaryType, Remote, Root
All Known Subinterfaces:
ColumnHierarchy

public interface FeatureMap extends AbstractTransformation
Used to map any number of Feature objects to any number of Feature objects.

Attributes of FeatureMap are:

Associations of FeatureMap are:

Usage

To create an instance of this FeatureMap, use the factory create methods.
Example: create a FeatureMap with name "FeatureMap_Object", in repository "AAAAAAAA".
 // 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();
 FeatureMap myObject = (FeatureMap) factory.createComplexMetadataObject(objectStore, "FeatureMap_Object", MetadataObjects.FEATUREMAP, "AAAAAAAA");
 myObject.updateMetadataAll();  // Write object to server
 objectStore.dispose();  // dispose of the object store if it is no longer needed
 

Behavior

  • Attributes and associations for this object can be retrieved by using the methods in MdOMIUtil.
  • When changes are made to the object, either by setting an attribute or adding objects to a particular association, they can be persisted to the metadata server with the updateMetadataAll method.
  • If an object needs to be deleted, the 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.

Dependencies

This class depends on objects being contained in an MdObjectStore. Object stores should be disposed of when they are no longer needed as this will help clean up memory. Disposing an object store will dispose of all objects contained within that store.

Since:
9.0
  • Field Details

    • ASSOCIATION_FEATURESOURCES_NAME

      static final String ASSOCIATION_FEATURESOURCES_NAME
      Constant used for the name of the FeatureSources association.

      FeatureSources: The features that are used as input to the feature map.  

      See Also:
    • ASSOCIATION_ASSOCIATEDCLASSIFIERMAP_NAME

      static final String ASSOCIATION_ASSOCIATEDCLASSIFIERMAP_NAME
      Constant used for the name of the AssociatedClassifierMap association.

      AssociatedClassifierMap: The classifier map associated with this feature map. 

      See Also:
    • ASSOCIATION_FEATURETARGETS_NAME

      static final String ASSOCIATION_FEATURETARGETS_NAME
      Constant used for the name of the FeatureTargets association.

      FeatureTargets: The target map that uses these features as a target. 

      See Also:
  • Method Details