class ExpirationAction implements Serializable {

  public String toXmlString() {
    switch (this.name) {
      case "INVALIDATE":
        return "invalidate";
      case "DESTROY":
        return "destroy";
      case "LOCAL_DESTROY":
        return "local-destroy";
      case "LOCAL_INVALIDATE":
        return "local-invalidate";
      default:
        return null;
    }
  }

  private  ExpirationAction(String name);

}