Overview Schemas Index

SHAPE_PROPERTY_ASSIGNMENT_XIM (jsdai.SShape_property_assignment_xim)


FUNCTION spa_get_definition
          (input : contextual_item_shape) : product_view_definition;

IF ('PRODUCT_VIEW_DEFINITION_RELATIONSHIP_XIM.PRODUCT_DEFINITION_USAGE'
      IN TYPEOF(input\Item_shape.described_element))
      THEN
        RETURN(input\Item_shape.described_element\product_definition_relationship.related_product_definition);
    END_IF;
    IF ('ASSEMBLY_STRUCTURE_XIM.PRODUCT_OCCURRENCE_DEFINITION_RELATIONSHIP_ARMX' IN
        TYPEOF(input\Item_shape.described_element))
      THEN
        RETURN(input\Item_shape.described_element\Product_occurrence_definition_relationship_armx.related_view);
    END_IF;    
    RETURN(?);

END_FUNCTION; -- spa_get_definition

public class FSpa_get_definition
          public static Value run(SdaiContext _context, Value input)