java.lang.Object
com.dassault_systemes.modeler.sysml.model.Exposes

@OpenApiAll public class Exposes extends Object
Utility methods for retrieving Expose imports owned by a Namespace.

An Expose is a specialized form of import. These helpers provide convenient access to all expose imports owned directly by a namespace.

  • Constructor Details

    • Exposes

      public Exposes()
  • Method Details

    • streamOfOwnedExpose

      public static Stream<Expose> streamOfOwnedExpose(Namespace namespace)
      Returns a stream of all Expose imports owned by the given namespace.
      Parameters:
      namespace - the namespace whose expose imports are requested
      Returns:
      a stream of owned expose imports
    • getOwnedExpose

      public static List<Expose> getOwnedExpose(Namespace namespace)
      Returns a list of all Expose imports owned by the given namespace.
      Parameters:
      namespace - the namespace whose expose imports are requested
      Returns:
      a list of owned expose imports