1 package org.simantics.spreadsheet.graph;
\r
3 import java.util.Collections;
\r
4 import java.util.Map;
\r
6 public class SpreadsheetCellContentExpression implements SheetNode {
\r
8 public final SpreadsheetCell cell;
\r
10 public SpreadsheetCellContentExpression(SpreadsheetCell cell) {
\r
15 public String getName() {
\r
16 return "expression";
\r
20 public Map getChildren() {
\r
21 return Collections.emptyMap();
\r
25 public Map getProperties() {
\r
26 return Collections.emptyMap();
\r
30 public int hashCode() {
\r
31 final int prime = 31;
\r
33 result = prime * result + ((cell == null) ? 0 : cell.hashCode());
\r
38 public boolean equals(Object obj) {
\r
43 if (getClass() != obj.getClass())
\r
45 SpreadsheetCellContentExpression other = (SpreadsheetCellContentExpression) obj;
\r
47 if (other.cell != null)
\r
49 } else if (!cell.equals(other.cell))
\r