|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Specifies a nomenclature constraint that may be contextual and dynamic.
Note: The enumeration constraint
(see ConstraintEnumeration
)
is more appropriate than this interface when display must be localized or when
there are many values in the enumeration.
The constraint must be declared under the element
xs:annotation/xs:appinfo/mdm:otherFacets
:
where<mdm:constraintNomenclature class="com.foo.MyConstraintNomenclature" />
com.foo.MyConstraintNomenclature
is
the fully qualified name of the class implementing this interface.
It is also possible to set additional JavaBean properties:
where<mdm:constraintNomenclature class="com.foo.MyConstraintNomenclature"> <param1>...</param1> <param2>...</param2> </mdm:constraintNomenclature>
param1
and param2
are JavaBean properties of the class specified.
For more information, read JavaBeans specification.
See Constraint
life-cycle.
Nomenclature
,
ConstraintEnumeration
,
ConstraintOnNull
Method Summary | |
Nomenclature |
getNomenclature(ValueContext aContext)
Returns a sequence of value-label pairs. |
Methods inherited from interface com.softwareag.mdm.schema.Constraint |
checkOccurrence, setup, toUserDocumentation |
Method Detail |
public Nomenclature getNomenclature(ValueContext aContext) throws InvalidSchemaException
InvalidSchemaException
- if some schema's dynamic condition prevents the execution of this method.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
(report a bug)
webMethods MDM 4.2.8 [0558]
Copyright Software AG 2000-2007. All rights reserved.