Guvnor - Services API 6.2.0.CR2

org.guvnor.common.services.shared.validation.model
Class ValidationMessage

java.lang.Object
  extended by org.guvnor.common.services.shared.validation.model.ValidationMessage

@Portable
public class ValidationMessage
extends Object


Nested Class Summary
static class ValidationMessage.Level
           
 
Constructor Summary
ValidationMessage()
           
 
Method Summary
 boolean equals(Object o)
          Check whether two Messages are equivalent.
 int getColumn()
           
 long getId()
           
 ValidationMessage.Level getLevel()
           
 int getLine()
           
 org.uberfire.backend.vfs.Path getPath()
           
 String getText()
           
 int hashCode()
          HashCode implementation fo Messages.
 void setColumn(int column)
           
 void setId(long id)
           
 void setLevel(ValidationMessage.Level level)
           
 void setLine(int line)
           
 void setPath(org.uberfire.backend.vfs.Path path)
           
 void setText(String text)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidationMessage

public ValidationMessage()
Method Detail

setId

public void setId(long id)

setLevel

public void setLevel(ValidationMessage.Level level)

setPath

public void setPath(org.uberfire.backend.vfs.Path path)

setLine

public void setLine(int line)

setColumn

public void setColumn(int column)

setText

public void setText(String text)

getId

public long getId()

getLevel

public ValidationMessage.Level getLevel()

getPath

public org.uberfire.backend.vfs.Path getPath()

getLine

public int getLine()

getColumn

public int getColumn()

getText

public String getText()

equals

public boolean equals(Object o)
Check whether two Messages are equivalent. Property "id" is not used in the comparison as it is inconsistent for identical error messages generated in a different sequence during validation by the underlying KieBuilder.

Overrides:
equals in class Object

hashCode

public int hashCode()
HashCode implementation fo Messages. Property "id" is not used in the generation as it is inconsistent for identical error messages generated in a different sequence during validation by the underlying KieBuilder.

Overrides:
hashCode in class Object

Guvnor - Services API 6.2.0.CR2

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.