public abstract class MessageFieldType
extends java.lang.Object
Constructor and Description |
---|
MessageFieldType() |
Modifier and Type | Method and Description |
---|---|
protected abstract java.lang.String |
generateNullContent()
Null content depending on the type of objet is represented differently
in the OLc Message manguage.
|
abstract java.lang.String |
getMessageFieldAcronym() |
static MessageFieldType |
getType(java.lang.String code)
will return the type for the code, or an exception if the code is not existing
|
protected abstract void |
validatePayload(java.lang.String objectcontext,
java.lang.Object payload)
each message field type should be able to validate is the payload is correct.
|
public abstract java.lang.String getMessageFieldAcronym()
public static MessageFieldType getType(java.lang.String code)
code
- the code for the typeprotected abstract void validatePayload(java.lang.String objectcontext, java.lang.Object payload)
objectcontext
- context of call (used for exception messages for traceability)payload
- the payload to test.protected abstract java.lang.String generateNullContent()