Package com.structurizr.model
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 booleanequals(java.lang.Object o)java.lang.StringgetDescription()Gets the description of this perspective.java.lang.StringgetName()Gets the name of this perspective (e.g.inthashCode()
-
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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-