Class Enterprise

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

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

    Constructors 
    Constructor Description
    Enterprise​(java.lang.String name)
    Creates a new enterprise with the specified name.
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getName()
    Gets the name of this enterprise.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Enterprise

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

    • getName

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