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