public class ImportResult
extends java.lang.Object
Constructor and Description |
---|
ImportResult(Datatype[] topLevelDatatypes,
Datatype[] newDatatypes,
ImportDiagnostic[] diagnostics)
Creates an instance.
|
ImportResult(Datatype[] topLevelDatatypes,
Datatype[] newDatatypes,
ImportDiagnostic[] diagnostics,
org.eclipse.emf.ecore.EPackage.Registry registry)
Creates an instance.
|
Modifier and Type | Method and Description |
---|---|
ImportDiagnostic[] |
getDiagnostics()
Gets the diagnostics that were generated during the import.
|
Datatype[] |
getNewDatatypes()
Gets the
Datatype objects that represent all types that were newly
created during the import. |
org.eclipse.emf.ecore.EPackage.Registry |
getRegistry()
Returns an Ecore registry populated with all imported types.
|
Datatype[] |
getTopLevelDatatypes()
Gets the
Datatype objects that represent the
types that were created during the import. |
java.lang.String |
toString() |
public ImportResult(Datatype[] topLevelDatatypes, Datatype[] newDatatypes, ImportDiagnostic[] diagnostics)
topLevelDatatypes
- the top-level datatypes that were created during the import.newDatatypes
- all datatypes that were newly created during the import.diagnostics
- contains warning and errors information collected during the import.public ImportResult(Datatype[] topLevelDatatypes, Datatype[] newDatatypes, ImportDiagnostic[] diagnostics, org.eclipse.emf.ecore.EPackage.Registry registry)
topLevelDatatypes
- the top-level datatypes that were created during the import.newDatatypes
- all datatypes that were newly created during the import.diagnostics
- contains warning and errors information collected during the import.registry
- an Ecore registry populated with all imported types.public Datatype[] getTopLevelDatatypes()
Datatype
objects that represent the
types that were created during the import.public Datatype[] getNewDatatypes()
Datatype
objects that represent all types that were newly
created during the import.public ImportDiagnostic[] getDiagnostics()
public org.eclipse.emf.ecore.EPackage.Registry getRegistry()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2003-2024 Appian Corporation. All Rights Reserved.