1 2 package org.state4j.sm; 3 4 5 public abstract class SmActionBaseImpl implements SmAction { 6 private String subtype; 7 private String name; 8 public boolean hasSubtype() { 9 return this.subtype != null; 10 } 11 12 public String getSubtype() { 13 return subtype; 14 } 15 16 public void setSubtype(String subtype) { 17 this.subtype = subtype; 18 } 19 20 public String getName() { 21 return name; 22 } 23 24 public void setName(String name) { 25 this.name = name; 26 } 27 28 public boolean hasName() { 29 return this.name != null; 30 } 31 }