Class Perspective

java.lang.Object
com.structurizr.model.Perspective

public final class Perspective
extends java.lang.Object
Represents an architectural perspective, that can be applied to elements and relationships. See https://www.viewpoints-and-perspectives.info/home/perspectives/ for more details of this concept.
  • Method Summary

    Modifier and Type Method Description
    boolean equals​(java.lang.Object o)  
    java.lang.String getDescription()
    Gets the description of this perspective.
    java.lang.String getName()
    Gets the name of this perspective (e.g.
    int hashCode()  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • getName

      public java.lang.String getName()
      Gets the name of this perspective (e.g. "Security").
      Returns:
      the name of this perspective, as a String
    • getDescription

      public java.lang.String getDescription()
      Gets the description of this perspective.
      Returns:
      the description of this perspective, as a String
    • equals

      public boolean equals​(java.lang.Object o)
      Overrides:
      equals in class java.lang.Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object