java.lang.Object
dev.metaschema.model.testing.testsuite.GenerationCase
- All Implemented Interfaces:
dev.metaschema.core.model.IBoundObject
@MetaschemaAssembly(formalName="Generation Case",
description="A schema generation comparison test case.",
name="generation-case",
moduleClass=MetaschemaTestSuiteModule.class)
public class GenerationCase
extends Object
implements dev.metaschema.core.model.IBoundObject
A schema generation comparison test case.
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newdev.metaschema.model.testing.testsuite.GenerationCaseinstance with no metadata.GenerationCase(dev.metaschema.core.model.IMetaschemaData data) Constructs a newdev.metaschema.model.testing.testsuite.GenerationCaseinstance with the specified metadata. -
Method Summary
Modifier and TypeMethodDescriptionGet the location.Get the match Result.dev.metaschema.core.model.IMetaschemaDataGet the source Format.voidsetLocation(URI value) Set the location.voidsetMatchResult(String value) Set the match Result.voidsetSourceFormat(String value) Set the source Format.toString()
-
Constructor Details
-
GenerationCase
public GenerationCase()Constructs a newdev.metaschema.model.testing.testsuite.GenerationCaseinstance with no metadata. -
GenerationCase
Constructs a newdev.metaschema.model.testing.testsuite.GenerationCaseinstance with the specified metadata.- Parameters:
data- the metaschema data, ornullif none
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacedev.metaschema.core.model.IBoundObject
-
getSourceFormat
Get the source Format.The format of the source content.
- Returns:
- the source-format value, or
nullif not set
-
setSourceFormat
Set the source Format.The format of the source content.
- Parameters:
value- the source-format value to set, ornullto clear
-
getLocation
Get the location.A URI reference to the expected schema file location.
- Returns:
- the location value
-
setLocation
Set the location.A URI reference to the expected schema file location.
- Parameters:
value- the location value to set
-
getMatchResult
Get the match Result.The expected result of content comparison.
- Returns:
- the match-result value, or
nullif not set
-
setMatchResult
Set the match Result.The expected result of content comparison.
- Parameters:
value- the match-result value to set, ornullto clear
-
toString
-