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) |