java.lang.Object
dev.metaschema.model.testing.testsuite.GenerationCase
- All Implemented Interfaces:
IBoundObject
@MetaschemaAssembly(formalName="Generation Case",
description="A schema generation comparison test case.",
name="generation-case",
moduleClass=MetaschemaTestSuiteModule.class)
public class GenerationCase
extends Object
implements IBoundObject
A schema generation comparison test case.
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newdev.metaschema.model.testing.testsuite.GenerationCaseinstance with no metadata.Constructs a newdev.metaschema.model.testing.testsuite.GenerationCaseinstance with the specified metadata. -
Method Summary
Modifier and TypeMethodDescriptionGet the location.Get the match Result.Get additional Metaschema-related information for the object (i.e., resource location).Get 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
Description copied from interface:IBoundObjectGet additional Metaschema-related information for the object (i.e., resource location).- Specified by:
getMetaschemaDatain interfaceIBoundObject- Returns:
- the Metaschema-related information
-
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
-