com.morpho.morphosmart.sdk
Class Template

java.lang.Object
  extended by com.morpho.morphosmart.sdk.Template

public class Template
extends java.lang.Object

This class represent the finger template used or generated during a Capture/Enroll/Verify/Identify operation.


Constructor Summary
Template()
           
 
Method Summary
 byte[] getData()
          Retrieve data of the current template object.
 int getDataIndex()
          Retrieve data index of the current template object.
 TemplateFVPType getTemplateFVPType()
          Retrieve type of the current TemplateFVP.
 int getTemplateQuality()
          Retrieve quality of the current template object.
 TemplateType getTemplateType()
          Retrieve type of the current Template object.
 void setData(byte[] data)
          Set data of the current template object.
 void setDataIndex(int dataIndex)
          Set data index of the current template object.
 void setTemplateFVPType(int id)
          Set the type of the current TemplateFVP object.
 void setTemplateFVPType(TemplateFVPType templateFVPType)
          Set the type of the current TemplateFVP object.
 void setTemplateQuality(int templateQuality)
          Set quality of the current template object.
 void setTemplateType(int id)
          Set the type of the current Template object
 void setTemplateType(TemplateType templateType)
          Set the type of the current Template object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Template

public Template()
Method Detail

getData

public byte[] getData()
Retrieve data of the current template object.

Returns:
Data of the current template object

setData

public void setData(byte[] data)
Set data of the current template object.

Parameters:
data - input data

getDataIndex

public int getDataIndex()
Retrieve data index of the current template object.

Returns:
index of the current template object

setDataIndex

public void setDataIndex(int dataIndex)
Set data index of the current template object.

Parameters:
dataIndex - input data index

getTemplateQuality

public int getTemplateQuality()
Retrieve quality of the current template object.

Returns:
Quality of the current template object

setTemplateQuality

public void setTemplateQuality(int templateQuality)
Set quality of the current template object.

Parameters:
templateQuality - input quality

getTemplateType

public TemplateType getTemplateType()
Retrieve type of the current Template object.

Returns:
Type of the current Template object

getTemplateFVPType

public TemplateFVPType getTemplateFVPType()
Retrieve type of the current TemplateFVP.

Returns:
TemplateFVPType of the current TemplateFVP object

setTemplateType

public void setTemplateType(TemplateType templateType)
Set the type of the current Template object.

Parameters:
templateType - the TemplateType to set

setTemplateFVPType

public void setTemplateFVPType(TemplateFVPType templateFVPType)
Set the type of the current TemplateFVP object.

Parameters:
templateFVPType - the TemplateFVPType to set

setTemplateType

public void setTemplateType(int id)
Set the type of the current Template object

Parameters:
id - identifier of a TemplateType

setTemplateFVPType

public void setTemplateFVPType(int id)
Set the type of the current TemplateFVP object.

Parameters:
id - identifier of a TemplateFVPType