All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.ztemplates.message.ZWarningMessage Maven / Gradle / Ivy

Go to download

java web framework - annotations - pojo - NO XML - state-free - clean, technology agnostic urls - REST - invisible to the web-client - JSP, Velocity, FreeMarker (others pluggable) - annotations for JavaScript/CSS dependencies - create reusable components

The newest version!
package org.ztemplates.message;

import org.ztemplates.property.ZProperty;

public class ZWarningMessage extends ZMessage
{

  public ZWarningMessage(String text, String... propertyNameArr)
  {
    super(ZMessage.WARNING, text, propertyNameArr);
  }


  public static ZWarningMessage create(String text, ZProperty... propertyArr)
  {
    ZWarningMessage ret = new ZWarningMessage(text);
    for (ZProperty prop : propertyArr)
    {
      ret.getPropertyNames().add(prop.getName());
    }
    return ret;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy