Overview Schemas Index

Shape_property_assignment_arm (jsdai.SShape_property_assignment_arm)


FUNCTION spa_get_definition
          (input : Contextual_item_shape) : Product_view_definition;

IF ('PRODUCT_VIEW_DEFINITION_RELATIONSHIP_ARM.VIEW_DEFINITION_USAGE'
      IN TYPEOF(input\Item_shape.described_element))
      THEN
        RETURN(input\Item_shape.described_element\View_definition_relationship.related_view);
    END_IF;
    IF ('ASSEMBLY_STRUCTURE_ARM.PRODUCT_OCCURRENCE_DEFINITION_RELATIONSHIP' IN
        TYPEOF(input\Item_shape.described_element))
      THEN
        RETURN(input\Item_shape.described_element\Product_occurrence_definition_relationship.related_view);
    END_IF;    
    RETURN(?);

END_FUNCTION; -- spa_get_definition

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