at.knowcenter.wag.egov.egiz.sig
Class SignatureEntry

java.lang.Object
  extended by at.knowcenter.wag.egov.egiz.sig.SignatureEntry
All Implemented Interfaces:
Serializable

public class SignatureEntry
extends Object
implements Serializable

This class is to store a signature entry. The signature entry is 3-tupel. A key that is defined or declarated in the settings file, an optional caption or a value.
An additional helper value is a marker for the start index of the key, if the key is found in an analysing process extracting captions and values from a raw signature text.

Author:
wlackner
See Also:
SignatureObject, Serialized Form

Constructor Summary
SignatureEntry()
          The empty constructor.
SignatureEntry(String key)
          A new SignatureEntry init with the key.
 
Method Summary
 String getCaption()
          Returns the caption off the current key.
 String getKey()
          Return the current key.
 int getStartIndex()
          Return the start position of the key that caption is found in the signature text.
 String getValue()
          Return the value of the current key.
 void setCaption(String caption)
          Set the caption of the current key.
 void setKey(String key)
          Set the current key.
 void setStartIndex(int startIndex)
          Set the start position of the current key.
 void setValue(String value)
          Set the value of the current key.
 String toString()
          The toString method, used for tests or debugging.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SignatureEntry

public SignatureEntry()
The empty constructor.


SignatureEntry

public SignatureEntry(String key)
A new SignatureEntry init with the key.

Parameters:
key -
Method Detail

getCaption

public String getCaption()
Returns the caption off the current key.

Returns:
Returns the caption.

setCaption

public void setCaption(String caption)
Set the caption of the current key.

Parameters:
caption - The caption to set.

getKey

public String getKey()
Return the current key.

Returns:
Returns the key.

setKey

public void setKey(String key)
Set the current key.

Parameters:
key - The key to set.

getStartIndex

public int getStartIndex()
Return the start position of the key that caption is found in the signature text.

Returns:
Returns the startIndex.

setStartIndex

public void setStartIndex(int startIndex)
Set the start position of the current key.

Parameters:
startIndex - The startIndex to set.

getValue

public String getValue()
Return the value of the current key.

Returns:
Returns the value.

setValue

public void setValue(String value)
Set the value of the current key.

Parameters:
value - The value to set.

toString

public String toString()
The toString method, used for tests or debugging.

Overrides:
toString in class Object


Copyright © 2006-2007 EGIZ - E-Government Innovationszentrum. All Rights Reserved.