public class ValidationMessage extends SchemaObject
internalId, internalName, log, TIMESTAMP_FORMAT
SERIALIZED_CLASS_NAME, TYPE
XML_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, resetInternalId
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
generateJavaCode
fromArrayValue, fromArrayValue, fromArrayValue, fromJson, fromJson, newInstanceFromRecord, newInstanceFromRecord, toArrayValue, toJson, toJson, toJson, toRecord
newInstanceFromJson
forEachGrandChildElement, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getChildElement, getChildElements, newInstanceFromXml, newInstanceFromXml, setAttribute, toXml, toXml, toXml, toXml, toXml, writeXml, writeXml
addExceptionProperties, contributeExceptionProperties, contributeExceptionProperties
public 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 RecordSerializable
toRecord
in class Bean
public ValidationMessage fromRecord(Record source)
RecordSerializable
this
(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 RecordSerializable
fromRecord
in class Bean
public ValidationMessage fromXmlElement(Element element)
public ValidationMessage fromXml(InputStream inputStream)
public ValidationMessage fromXml(String xml)
Copyright (c) 2006-2024 North Concepts Inc. All Rights Reserved.