Class Enterprise

java.lang.Object
com.structurizr.model.Enterprise

public final class Enterprise extends Object
Represents an "enterprise" (e.g. an organisation, a department, etc).
  • Constructor Details

    • Enterprise

      public Enterprise(String name)
      Creates a new enterprise with the specified name.
      Parameters:
      name - the name, as a String
      Throws:
      IllegalArgumentException - if the name is not specified
  • Method Details

    • getName

      public String getName()
      Gets the name of this enterprise.
      Returns:
      the name, as a String