|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IField
An element of an EAI Message.
Field Summary | |
---|---|
static java.lang.String |
FIELD_DATA_NOT_NULL
Error message indication a non null field data is compulsory. |
static java.lang.String |
FIELD_NAME_NOT_NULL
Error message indication a non null field name is compulsory. |
Method Summary | |
---|---|
java.lang.Object |
getData()
Retrieves the data associated to this field instance. |
int |
getId()
Retrieves the id of this field. |
java.lang.String |
getName()
Retrieves the name of this field. |
int |
getType()
Returns the type of the object. |
void |
setData(java.lang.Object pData)
Defines the data associated to this field instance. |
void |
setId(int pId)
Defines the id of this field. |
void |
setName(java.lang.String pFieldName)
Defines the name of this field. |
void |
setType(int pType)
Defines the type of the object. |
Field Detail |
---|
static final java.lang.String FIELD_NAME_NOT_NULL
static final java.lang.String FIELD_DATA_NOT_NULL
Method Detail |
---|
void setName(java.lang.String pFieldName) throws java.lang.IllegalArgumentException
pFieldName
- the name of this field
java.lang.IllegalArgumentException
- if pFieldName
is null
java.lang.String getName()
void setData(java.lang.Object pData) throws java.lang.IllegalArgumentException
pData
- the payload of this field.
java.lang.IllegalArgumentException
- if pData
is null
java.lang.Object getData()
void setId(int pId) throws java.lang.IllegalArgumentException
0
, meaning that this field isn't indexed.
pId
- the id of this field, should be unique per message if different from zero.
java.lang.IllegalArgumentException
- if the ID is invalid.int getId()
void setType(int pType) throws java.lang.IllegalArgumentException
pType
- the object type.
java.lang.IllegalArgumentException
- if the type is invalid.int getType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |