Package com.softwareag.mdm.schema

Represents XML Schema concepts and provides schema extensions capabilities.

See:
          Description

Interface Summary
Constraint Specifies a constraint that may be contextual and dynamic.
ConstraintContext Provides methods for setting up a constraint in the context of its schema.
ConstraintEnumeration Specifies an enumeration constraint that may be contextual and dynamic.
ConstraintNomenclature Specifies a nomenclature constraint that may be contextual and dynamic.
ConstraintOnNull Defines a check for values that become mandatory under certain circumstances.
SchemaExtensions Defines extensions to a schema.
SchemaExtensionsContext Context for specifying extensions to a schema.
SchemaNode Represents an element declaration in the resolved schema.
SchemaNodeContext This interface defines common services for setting up a schema component.
SchemaTypeName Identifies a named type definition.
ValueFunction Computes an adaptation value when this value is not persisted by webMethods MDM.
ValueFunctionContext Provides methods for setting up a value function in the context of its schema.
 

Class Summary
Path A path is used for locating a node in a tree structure.
SchemaLocation Identifies a schema location, which can be either based on a URL (standard notation) or based on a webMethods MDM module.
Step A path is a sequence of steps.
 

Exception Summary
InvalidSchemaException Thrown to indicate that a schema is not valid regarding some dynamic conditions.
PathAccessException Thrown when a path cannot be resolved against a s.
 

Package com.softwareag.mdm.schema Description

Represents XML Schema concepts and provides schema extensions capabilities.

Specification of JavaBeans

Some webMethods MDM extensions rely on specific Java classes. This is the case for :

The declaration syntax of all those extensions allow to specify JavaBeans properties within the schema. For example :

 <mdm:XXX class="com.test.MyXXX">
 	 <param1>value of param1</param1>
 	 <param2>value of param2</param2>
 </mdm:XXX>

Here param1 and param2 are JavaBean properties. It implies that :

  1. The class com.test.MyXXX is public and its constructor com.test.MyXXX() is defined and public.
  2. The property setters setParam1(...) and setParam2(...)) are defined and public.

Type conversion

The conversion of the string specified for each property is done according to the type of the JavaBean property. The following types are supported :

Localized properties

webMethods MDM adds the possibility to localize a property, by means of attribute xml:lang. For example :

 <mdm:XXX class="com.test.MyXXX">
 	 <param1 xml:lang="en" >value of param1</param1>
 	 <param1 xml:lang="fr" >valeur de param1</param1>
 </mdm:XXX>

Here param1 is a localized JavaBean property. It implies that the method setParam1(Locale, aType) is defined and public.

 

 

 

 

 

 



(report a bug)
webMethods MDM 4.2.8 [0558]
Copyright Software AG 2000-2007. All rights reserved.