com.atlassian.greenhopper.model.validation
Class ErrorCollection.ErrorItem

java.lang.Object
  extended by com.atlassian.greenhopper.model.validation.ErrorCollection.ErrorItem
Enclosing class:
ErrorCollection

public static class ErrorCollection.ErrorItem
extends java.lang.Object


Nested Class Summary
static class ErrorCollection.ErrorItem.Type
           
 
Constructor Summary
ErrorCollection.ErrorItem(ErrorCollection.ErrorItem.Type type, java.lang.String field, java.lang.String messageKey, java.lang.Object... params)
           
 
Method Summary
 java.lang.String getField()
           
 java.lang.String getMessageKey()
           
 java.lang.Object[] getParams()
           
 ErrorCollection.ErrorItem.Type getType()
           
 boolean isFieldError()
           
 void setField(java.lang.String field)
           
 void setMessageKey(java.lang.String messageKey)
           
 void setParams(java.lang.Object[] params)
           
 void setType(ErrorCollection.ErrorItem.Type type)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ErrorCollection.ErrorItem

public ErrorCollection.ErrorItem(ErrorCollection.ErrorItem.Type type,
                                 java.lang.String field,
                                 java.lang.String messageKey,
                                 java.lang.Object... params)
Method Detail

getType

public ErrorCollection.ErrorItem.Type getType()

setType

public void setType(ErrorCollection.ErrorItem.Type type)

getField

public java.lang.String getField()

setField

public void setField(java.lang.String field)

getMessageKey

public java.lang.String getMessageKey()

setMessageKey

public void setMessageKey(java.lang.String messageKey)

getParams

public java.lang.Object[] getParams()

setParams

public void setParams(java.lang.Object[] params)

isFieldError

public boolean isFieldError()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2007-2011 Atlassian. All Rights Reserved.