mirror of
http://172.16.200.102/MOISE/Pattern-Instanciation-On-System-Engineering-Model.git
synced 2025-12-18 13:13:57 +01:00
Added mapping metamodel and generated code.
This commit is contained in:
@@ -142,7 +142,7 @@ public class SeimValidator extends EObjectValidator {
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
* @generated NOT
|
||||
*/
|
||||
public boolean validateComponent(Component component, DiagnosticChain diagnostics, Map<Object, Object> context) {
|
||||
if (!validate_NoCircularContainment(component, diagnostics, context))
|
||||
@@ -168,13 +168,15 @@ public class SeimValidator extends EObjectValidator {
|
||||
result &= validateNamedElement_nameNotEmpty(component, diagnostics, context);
|
||||
if (result || diagnostics != null)
|
||||
result &= validatePropertyHolder_uniqueKeys(component, diagnostics, context);
|
||||
if (result || diagnostics != null)
|
||||
result &= (component.getName() != null);
|
||||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
* @generated NOT
|
||||
*/
|
||||
public boolean validatePort(Port port, DiagnosticChain diagnostics, Map<Object, Object> context) {
|
||||
if (!validate_NoCircularContainment(port, diagnostics, context))
|
||||
@@ -200,6 +202,8 @@ public class SeimValidator extends EObjectValidator {
|
||||
result &= validateNamedElement_nameNotEmpty(port, diagnostics, context);
|
||||
if (result || diagnostics != null)
|
||||
result &= validatePropertyHolder_uniqueKeys(port, diagnostics, context);
|
||||
if (result || diagnostics != null)
|
||||
result &= (port.getName() != null);
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -633,7 +637,7 @@ public class SeimValidator extends EObjectValidator {
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
* @generated NOT
|
||||
*/
|
||||
public boolean validateModel(Model model, DiagnosticChain diagnostics, Map<Object, Object> context) {
|
||||
if (!validate_NoCircularContainment(model, diagnostics, context))
|
||||
@@ -659,6 +663,8 @@ public class SeimValidator extends EObjectValidator {
|
||||
result &= validateNamedElement_nameNotEmpty(model, diagnostics, context);
|
||||
if (result || diagnostics != null)
|
||||
result &= validatePropertyHolder_uniqueKeys(model, diagnostics, context);
|
||||
if (result || diagnostics != null)
|
||||
result &= (model.getName() != null);
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user