public class ValidationMessage extends SchemaObject
internalId, internalName, log, TIMESTAMP_FORMATSERIALIZED_CLASS_NAME, TYPEXML_SERIALIZED_CLASS_NAME| Constructor and Description |
|---|
ValidationMessage() |
ValidationMessage(EntityDef entity,
String message) |
ValidationMessage(FieldDef field,
String message) |
ValidationMessage(Filter validation,
String message) |
| Modifier and Type | Method and Description |
|---|---|
ValidationMessage |
fromRecord(Record source)
Loads this instance's state from a record and returns
this (for fluid API call chaining). |
ValidationMessage |
fromXml(InputStream inputStream) |
ValidationMessage |
fromXml(String xml) |
ValidationMessage |
fromXmlElement(Element element) |
EntityDef |
getEntity() |
FieldDef |
getField() |
String |
getMessage() |
String |
getStacktrace() |
Filter |
getValidation() |
ValidationMessage |
setEntity(EntityDef entity) |
ValidationMessage |
setField(FieldDef field) |
ValidationMessage |
setMessage(String message) |
ValidationMessage |
setStacktrace(String stacktrace) |
ValidationMessage |
setValidation(Filter validation) |
Record |
toRecord() |
Element |
toXmlElement(Document document) |
addExceptionProperties, assertValid, assertValid, clone, exception, exception, exception, getInternalId, getInternalName, resetInternalIdequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgenerateJavaCodefromArrayValue, fromArrayValue, fromArrayValue, fromJson, fromJson, newInstanceFromRecord, newInstanceFromRecord, toArrayValue, toJson, toJson, toJson, toRecordnewInstanceFromJsonforEachGrandChildElement, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getChildElement, getChildElements, newInstanceFromXml, newInstanceFromXml, setAttribute, toXml, toXml, toXml, toXml, toXml, writeXml, writeXmladdExceptionProperties, contributeExceptionProperties, contributeExceptionPropertiespublic String getMessage()
public ValidationMessage setMessage(String message)
public EntityDef getEntity()
public ValidationMessage setEntity(EntityDef entity)
public FieldDef getField()
public ValidationMessage setField(FieldDef field)
public Filter getValidation()
public ValidationMessage setValidation(Filter validation)
public String getStacktrace()
public ValidationMessage setStacktrace(String stacktrace)
public Record toRecord()
toRecord in interface RecordSerializabletoRecord in class Beanpublic ValidationMessage fromRecord(Record source)
RecordSerializablethis (for fluid API call chaining).
For fluid API call chaining, the overridden method should change the declared return type to its class.fromRecord in interface RecordSerializablefromRecord in class Beanpublic ValidationMessage fromXmlElement(Element element)
public ValidationMessage fromXml(InputStream inputStream)
public ValidationMessage fromXml(String xml)
Copyright (c) 2006-2025 North Concepts Inc. All Rights Reserved.