org.ztemplates.message
Class ZMessage

java.lang.Object
  extended by org.ztemplates.message.ZMessage
Direct Known Subclasses:
ZErrorMessage, ZInfoMessage, ZWarningMessage

public class ZMessage
extends Object


Field Summary
static String ERROR
           
static String INFO
           
static String WARNING
           
 
Constructor Summary
ZMessage(String type, String text, String... propertyNameArr)
           
 
Method Summary
static ZMessage create(String type, String text, ZProperty... propertyArr)
           
 List<String> getPropertyNames()
           
 String getText()
           
 String getType()
           
 boolean isError()
           
 boolean isInfo()
           
 boolean isType(String type)
           
 boolean isWarning()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INFO

public static final String INFO
See Also:
Constant Field Values

WARNING

public static final String WARNING
See Also:
Constant Field Values

ERROR

public static final String ERROR
See Also:
Constant Field Values
Constructor Detail

ZMessage

public ZMessage(String type,
                String text,
                String... propertyNameArr)
Method Detail

create

public static ZMessage create(String type,
                              String text,
                              ZProperty... propertyArr)

getText

public String getText()

getType

public String getType()

isType

public boolean isType(String type)

isError

public boolean isError()

isWarning

public boolean isWarning()

isInfo

public boolean isInfo()

getPropertyNames

public List<String> getPropertyNames()


Copyright © 2011. All Rights Reserved.