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 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()
-
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 classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-