ENTITY document_product_equivalence SUBTYPE OF (document_product_association); WHERE wr1: SELF\document_product_association.name = 'equivalence'; wr2: NOT('DOCUMENT_ASSIGNMENT_MIM.PRODUCT' IN TYPEOF(SELF\document_product_association.related_product)) OR ((SELF\document_product_association.relating_document.kind. product_data_type = 'configuration controlled document') AND (SIZEOF( QUERY( prpc <* USEDIN(SELF\document_product_association.related_product,'PRODUCT_DEFINITION_SCHEMA.' + 'PRODUCT_RELATED_PRODUCT_CATEGORY.PRODUCTS') | prpc.name = 'document' )) = 1)); wr3: NOT('DOCUMENT_ASSIGNMENT_MIM.PRODUCT_DEFINITION_FORMATION' IN TYPEOF(SELF.related_product)) OR ((SELF\document_product_association.relating_document.kind.product_data_type = 'configuration controlled document version') AND (SIZEOF( QUERY( prpc <* USEDIN(SELF.related_product\product_definition_formation.of_product, 'PRODUCT_DEFINITION_SCHEMA.PRODUCT_RELATED_PRODUCT_CATEGORY.PRODUCTS') | prpc.name = 'document')) = 1)); wr4: NOT('DOCUMENT_ASSIGNMENT_MIM.PRODUCT_DEFINITION' IN TYPEOF(SELF.related_product)) OR ((SELF\document_product_association.relating_document.kind.product_data_type = 'configuration controlled document definition') AND (SIZEOF( QUERY( prpc <* USEDIN(SELF\document_product_association.related_product\product_definition.formation.of_product, 'PRODUCT_DEFINITION_SCHEMA.PRODUCT_RELATED_PRODUCT_CATEGORY.PRODUCTS') | prpc.name = 'document' )) = 1)); END_ENTITY; -- document_product_equivalence |
Entity data types and their attributesdocument_product_associationname: label; (OPT) description: text; relating_document: document; related_product: product_or_formation_or_definition; document_product_equivalence - |
Usersdocument_product_associationdocument_product_equivalence |
Global rules for this entity data type- |
public interface EDocument_product_equivalence extends EDocument_product_association |
public class CDocument_product_equivalence implements EDocument_product_equivalence |
public class ADocument_product_equivalence extends AEntitypublic EDocument_product_equivalence getByIndex(int index)public EDocument_product_equivalence getCurrentMember(SdaiIterator it) |