|
ENTITY configured_effectivity_assignment SUBTYPE OF (effectivity_assignment); items : SET [1:?] OF configured_effectivity_item; WHERE wr1: ( SIZEOF ( [ 'effectivity_schema.effectivity' ] * TYPEOF ( SELF . assigned_effectivity ) ) = 1 ) AND ( SELF . assigned_effectivity . id = 'configuration validity' ) ; wr2: SIZEOF ( SELF . items ) = 1 ; wr3: SIZEOF ( QUERY ( i <* SELF . items | NOT ( 'product_definition_schema.product_definition' IN TYPEOF ( i ) ) OR NOT ( i \ product_definition . frame_of_reference . name IN [ 'conceptual definition' , 'part occurrence' , 'functional definition' , 'alternative definition' ] ) ) ) = 0 ; wr4: SELF . role . name IN [ 'design' , 'usage' ] ; wr5: ( SELF . role . name <> 'design' ) OR ( SIZEOF ( QUERY ( i <* SELF . items | ( 'product_definition_schema.product_definition' IN TYPEOF ( i ) ) AND ( i \ product_definition . frame_of_reference . name = 'part occurrence' ) ) ) = 0 ) ; wr6: ( SELF . role . name <> 'usage' ) OR ( SIZEOF ( QUERY ( i <* SELF . items | ( 'product_definition_schema.product_definition' IN TYPEOF ( i ) ) AND ( i \ product_definition . frame_of_reference . name = 'conceptual definition' ) ) ) = 0 ) ; wr7: SELF . role . description IN [ 'exception' , 'inherited' , 'local' ] ; wr8: SIZEOF ( QUERY ( x <* USEDIN ( SELF , 'management_resources_schema.' + 'effectivity_context_assignment.assigned_effectivity_assignment' ) | 'specification_based_configuration_mim.configured_effectivity_context_assignment' IN TYPEOF ( x ) ) ) = 1 ; END_ENTITY; -- configured_effectivity_assignment |
Entity data types and their attributeseffectivity_assignmentassigned_effectivity: effectivity; (DER) role: object_role; configured_effectivity_assignment items: SET [1:?] OF configured_effectivity_item; |
| configuration (SPECIFICATION_BASED_CONFIGURATION_XIM) |
Global rules for this entity data typerestrict_effectivity_usage (AUTOMOTIVE_DESIGN) |
public interface EConfigured_effectivity_assignment extends EEffectivity_assignmentitems (explicit attribute)boolean testItems(EConfigured_effectivity_assignment type)AConfigured_effectivity_item getItems(EConfigured_effectivity_assignment type) AConfigured_effectivity_item createItems(EConfigured_effectivity_assignment type) void unsetItems(EConfigured_effectivity_assignment type) |
public class CConfigured_effectivity_assignment implements EConfigured_effectivity_assignmentstatic EAttribute attributeItems(EConfigured_effectivity_assignment type)static int usedinItems(EConfigured_effectivity_assignment type, EEntity instance, ASdaiModel domain, AConfigured_effectivity_assignment result) |
public class AConfigured_effectivity_assignment extends AEntitypublic EConfigured_effectivity_assignment getByIndex(int index)public EConfigured_effectivity_assignment getCurrentMember(SdaiIterator it) |