|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TemplateContainer
This common interface that provides list of methods for managing of templates, such as registry, return, remove and etc.
| Method Summary | |
|---|---|
void |
addAll(java.util.List<Template> messageTemplates)
Adds the template list? |
void |
addTemplate(int templateID,
Template template)
Adds the template. |
void |
addTemplate(java.lang.String templateName,
Template template)
Adds the template. |
Type |
getField(Template template,
java.lang.String fieldName)
Gets field field. |
int |
getFieldIndex(Template template,
java.lang.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,
java.util.Collection<java.lang.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(java.lang.String name)
Gets template. |
Template[] |
getTemplates()
Gets the array of template. |
boolean |
hasField(Template template,
java.lang.String fieldName)
Checks if exist the fieldName field in template. |
void |
removeTemplate(int templateID)
Removes the template with template id. |
int |
size()
Returns the size of template container. |
| Methods inherited from interface java.lang.Iterable |
|---|
iterator |
| Method Detail |
|---|
Template getTemplateByName(java.lang.String name)
name - the name of templateTemplate getTemplateById(int templateID)
templateID - the id of templateint size()
Template getTemplateByFIXMessage(FIXFieldList message)
message - the FIX message
Template[] getTemplates()
void addTemplate(int templateID,
Template template)
templateID - the template idtemplate - the template
void addTemplate(java.lang.String templateName,
Template template)
templateName - the template nametemplate - the templatevoid addAll(java.util.List<Template> messageTemplates)
messageTemplates - the templatesvoid removeTemplate(int templateID)
templateID - the template id
boolean hasField(Template template,
java.lang.String fieldName)
fieldName field in template.
template - the templatefieldName - the field name
int getFieldIndex(Template template,
java.lang.String fieldName)
fieldName field in template.
template - the templatefieldName - the field name
int getFieldIndex(Template template,
Type field)
fieldName field in template.
template - the templatefield - the field
Type getField(Template template,
java.lang.String fieldName)
template - the templatefieldName - the field name
Type[] getFields(Template template,
java.util.Collection<java.lang.Integer> fieldsID)
template - the templatefieldsID - the collection of field id
FIXField[] getFIXField(Template template,
ITypeValue valueType)
template - the templatevalueType - the value type
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||