public class ValidationError extends ValidationItem
| Constructor and Description |
|---|
ValidationError(java.lang.String msgID,
DBObject targetObject,
DBField field,
java.lang.Object... args)
Creates new ValidationError
|
| Modifier and Type | Method and Description |
|---|---|
DBField |
getField() |
java.lang.String |
getFieldName()
A short hand method to get the field name for which this error was for
|
java.lang.String |
getFullMessage(DataSource ds) |
void |
setFullMessage(java.lang.String msg) |
java.lang.String |
toString() |
getArg, getHTMLMessage, getMessage, getMsgID, getObjectKey, getTargetObjectpublic ValidationError(@Nonnull
java.lang.String msgID,
@Nullable
DBObject targetObject,
@Nullable
DBField field,
@Nullable
java.lang.Object... args)
msgID - the message ID @see com.aspc.message.DBMessagetargetObject - field - The fieldargs - @CheckReturnValue @Nonnull public java.lang.String getFieldName()
@CheckReturnValue @Nullable public DBField getField()
public void setFullMessage(@Nullable
java.lang.String msg)
msg - the message@CheckReturnValue
@Nonnull
public java.lang.String getFullMessage(@Nonnull
DataSource ds)
ds - the data source@CheckReturnValue @Nonnull public java.lang.String toString()
toString in class ValidationItemstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.