public class ProductInstanceOperations
extends org.eclipse.mdht.uml.cda.operations.ParticipantRoleOperations
The following operations are supported:
Modifier | Constructor and Description |
---|---|
protected |
ProductInstanceOperations() |
Modifier and Type | Method and Description |
---|---|
static boolean |
validateProductInstanceClassCode(ProductInstance productInstance,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
Map<Object,Object> context) |
static boolean |
validateProductInstanceHasScopingEntity(ProductInstance productInstance,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
Map<Object,Object> context) |
static boolean |
validateProductInstanceTemplateId(ProductInstance productInstance,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
Map<Object,Object> context) |
validatePlayingEntityChoice
getClassCode, getInboundLinks, getOutboundLinks, getParticipations, getPlayer, getScoper, isClassCodeDefined
protected static final ThreadLocal<org.eclipse.ocl.ecore.OCL> EOCL_ENV
protected static final String VALIDATE_PRODUCT_INSTANCE_HAS_SCOPING_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP
Validate Product Instance Has Scoping Entity
' operation.
validateProductInstanceHasScopingEntity(ProductInstance, org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
,
Constant Field Valuesprotected static ThreadLocal<org.eclipse.ocl.ecore.Constraint> VALIDATE_PRODUCT_INSTANCE_HAS_SCOPING_ENTITY__DIAGNOSTIC_CHAIN_MAP__EOCL_INV
Validate Product Instance Has Scoping Entity
' invariant operation.
validateProductInstanceHasScopingEntity(ProductInstance, org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
protected static final String VALIDATE_PRODUCT_INSTANCE_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP
Validate Product Instance Template Id
' operation.
validateProductInstanceTemplateId(ProductInstance, org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
,
Constant Field Valuesprotected static ThreadLocal<org.eclipse.ocl.ecore.Constraint> VALIDATE_PRODUCT_INSTANCE_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_INV
Validate Product Instance Template Id
' invariant operation.
validateProductInstanceTemplateId(ProductInstance, org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
protected static final String VALIDATE_PRODUCT_INSTANCE_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP
Validate Product Instance Class Code
' operation.
validateProductInstanceClassCode(ProductInstance, org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
,
Constant Field Valuesprotected static ThreadLocal<org.eclipse.ocl.ecore.Constraint> VALIDATE_PRODUCT_INSTANCE_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV
Validate Product Instance Class Code
' invariant operation.
validateProductInstanceClassCode(ProductInstance, org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
public static boolean validateProductInstanceHasScopingEntity(ProductInstance productInstance, org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map<Object,Object> context)
productInstance
- The receiving 'Product Instance' model object.diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.
public static boolean validateProductInstanceTemplateId(ProductInstance productInstance, org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map<Object,Object> context)
productInstance
- The receiving 'Product Instance' model object.diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.
public static boolean validateProductInstanceClassCode(ProductInstance productInstance, org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map<Object,Object> context)
productInstance
- The receiving 'Product Instance' model object.diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.
Copyright © 2019. All rights reserved.