Oracle® Fusion Middleware Java API Reference for Oracle Metadata Service (MDS)
11g Release 2 (11.1.2.0.0)
E17496-01

oracle.mds.config
Class CustClassListMapping

java.lang.Object
  extended by oracle.mds.config.CustClassListMapping

public final class CustClassListMapping
extends java.lang.Object

Encapsulation of a customization class list mapping. An instance of this class is used to map metadata objects whose names match a given pattern and optionally match an XML type to a customization class list. A set of such mappings defines the configuration for the Customization layer. It enables that layer to determine which customization classes to use to determine the customization layers to apply to a given metadata object.


Constructor Summary
CustClassListMapping(java.lang.String namePattern, java.lang.String namespace, java.lang.String localName, CustClassList custClassList)
          Constructor.
 
Method Summary
 CustClassList getCustClassList()
          Get the CustClassList for this mapping.
 java.lang.String getLocalName()
          Get the localname of the document element for this mapping.
 java.lang.String getNamePattern()
          Get the name pattern for this mapping.
 java.lang.String getNamespace()
          Get the XML namespace of the document element for this mapping.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustClassListMapping

public CustClassListMapping(java.lang.String namePattern,
                            java.lang.String namespace,
                            java.lang.String localName,
                            CustClassList custClassList)
Constructor.

Parameters:
namePattern - path or pattern the metadata object (MO) name must match for the given customization class list to be used for it. This uses a subset of ANT pattern syntax. WARNING: full ANT syntax is not yet supported: a pattern containing "*" characters will never match anything.
Examples:
  • "/" - matches all MOs
  • "/foo/" - all MOS in or under package "/foo"
  • "/foo" - only matches the MO called "/foo"
namespace - the XML namespace of the top level element (optional)
localName - the local name of the top level element (optional)
custClassList - the list of customization classes to be applied if this mapping matches.
Method Detail

getNamePattern

public java.lang.String getNamePattern()
Get the name pattern for this mapping.

Returns:
Name pattern to match.

getLocalName

public java.lang.String getLocalName()
Get the localname of the document element for this mapping.

Returns:
Element name of the document element for the mapping.

getNamespace

public java.lang.String getNamespace()
Get the XML namespace of the document element for this mapping.

Returns:
XML namespace namespace of the document element for the mapping

getCustClassList

public CustClassList getCustClassList()
Get the CustClassList for this mapping.

Returns:
CustClassList for the mapping

Oracle® Fusion Middleware Java API Reference for Oracle Metadata Service (MDS)
11g Release 2 (11.1.2.0.0)
E17496-01

Copyright © 2011, Oracle. All rights reserved.