Skip to content

Commit

Permalink
Added a key property, so specific views can easily be referenced.
Browse files Browse the repository at this point in the history
  • Loading branch information
simonbrowndotje committed May 12, 2015
1 parent 4f531c5 commit 7942cb3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions structurizr-core/src/com/structurizr/view/View.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ public abstract class View implements Comparable<View> {
private SoftwareSystem softwareSystem;
private String softwareSystemId;
private String description = "";
private String key;
private PaperSize paperSize = PaperSize.A4_Portrait;

private Set<ElementView> elementViews = new LinkedHashSet<>();
Expand Down Expand Up @@ -67,6 +68,14 @@ public void setDescription(String description) {
}
}

public String getKey() {
return key;
}

public void setKey(String key) {
this.key = key;
}

public PaperSize getPaperSize() {
return paperSize;
}
Expand Down

0 comments on commit 7942cb3

Please sign in to comment.