public class SbvrRuleLoader extends Object implements MessageSource
Modifier and Type | Field and Description |
---|---|
static String |
UNSPECIFIED_SCHEMA_PACKAGE_NAME |
Constructor and Description |
---|
SbvrRuleLoader(String sbvrFileLocation,
Options options,
ShapeChangeResult result,
Model model) |
Modifier and Type | Method and Description |
---|---|
void |
loadSBVRRulesAsConstraints(PackageInfo schemaPackage)
Enriches the model by adding SBVR constraints to the classes in the given
schema.
|
String |
message(int mnr)
Return a message for a message number.
|
public static final String UNSPECIFIED_SCHEMA_PACKAGE_NAME
public SbvrRuleLoader(String sbvrFileLocation, Options options, ShapeChangeResult result, Model model)
public void loadSBVRRulesAsConstraints(PackageInfo schemaPackage)
schemaPackage
- a schema package (NOT any of the child packages that are in
the same target namespace)public String message(int mnr)
MessageSource
message
in interface MessageSource
Copyright © 2017. All rights reserved.