Modifier and Type | Method and Description |
---|---|
void |
addAll(List<Template> messageTemplates)
Adds the template list?
|
void |
addTemplate(int templateID,
Template template)
Adds the template.
|
void |
addTemplate(String templateName,
Template template)
Adds the template.
|
Type |
getField(Template template,
String fieldName)
Gets field field.
|
int |
getFieldIndex(Template template,
String fieldName)
Gets index of
fieldName field in template . |
int |
getFieldIndex(Template template,
Type field)
Gets index of
fieldName field in template . |
Type[] |
getFields(Template template,
Collection<Integer> fieldsID)
Gets the array of field.
|
FIXField[] |
getFIXField(Template template,
ITypeValue valueType)
Gets field field.
|
Template |
getTemplateByFIXMessage(FIXFieldList message)
Returns MessageTemplate for FIX message.
|
Template |
getTemplateById(int templateID)
Gets template.
|
Template |
getTemplateByName(String name)
Gets template.
|
Template[] |
getTemplates()
Gets the array of template.
|
boolean |
hasField(Template template,
String fieldName)
Checks if exist the
fieldName field in template . |
void |
removeTemplate(String templateName)
Removes the template with template id.
|
int |
size()
Returns the size of template container.
|
Template getTemplateByName(String name)
name
- the name of templateTemplate getTemplateById(int templateID)
templateID
- the id of templateint size()
Template getTemplateByFIXMessage(FIXFieldList message)
message
- the FIX messageTemplate[] getTemplates()
void addTemplate(int templateID, Template template)
templateID
- the template idtemplate
- the templatevoid addTemplate(String templateName, Template template)
templateName
- the template nametemplate
- the templatevoid addAll(List<Template> messageTemplates)
messageTemplates
- the templatesvoid removeTemplate(String templateName)
templateName
- the unique template nameboolean hasField(Template template, String fieldName)
fieldName
field in template
.template
- the templatefieldName
- the field nameint getFieldIndex(Template template, String fieldName)
fieldName
field in template
.
template
- the templatefieldName
- the field nameint getFieldIndex(Template template, Type field)
fieldName
field in template
.
template
- the templatefield
- the fieldType getField(Template template, String fieldName)
template
- the templatefieldName
- the field nameType[] getFields(Template template, Collection<Integer> fieldsID)
template
- the templatefieldsID
- the collection of field idFIXField[] getFIXField(Template template, ITypeValue valueType)
template
- the templatevalueType
- the value typeCopyright © 2000-2017 EPAM Systems. All Rights Reserved.