at.gv.egiz.pdfas.impl.api.commons
Class SignatureProfileImpl

java.lang.Object
  extended by at.gv.egiz.pdfas.impl.api.commons.SignatureProfileImpl
All Implemented Interfaces:
SignatureProfile

public class SignatureProfileImpl
extends Object
implements SignatureProfile

Holds the data of a signature profile.

Author:
wprinz

Field Summary
protected  boolean defaultProfile
          true if this is the default profile, false otherwise.
protected  String moaKeyIdentifier
          The MOA key identifiert of this profile.
protected  String profileDescription
          Short description of the profile.
protected  String profileId
          The profile identifier.
protected  Properties signatureBlockEntries
          Properties containing the layout settings relevant to the search algorithm for signature blocks.
 
Constructor Summary
SignatureProfileImpl(String profileId, String moaKeyIdentifier)
          Constructor.
SignatureProfileImpl(String profileId, String profileDescription, String moaKeyIdentifier, boolean isDefault)
          Constructor.
 
Method Summary
 String getMOAKeyIdentifier()
          Returns the MOA KeyIdentifier.
 String getProfileDescription()
          Returns the profile description.
 String getProfileId()
          Returns the profile id.
 Properties getSignatureBlockEntries()
          Returns the entries relevant to the search algorithm for signature blocks.
 boolean isDefault()
          True only if this is the default profile according to config.
 void setSignatureBlockEntries(Properties signatureBlockEntries)
          Sets the entries relevant to the search algorithm for signature blocks.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

profileId

protected String profileId
The profile identifier.


moaKeyIdentifier

protected String moaKeyIdentifier
The MOA key identifiert of this profile.


signatureBlockEntries

protected Properties signatureBlockEntries
Properties containing the layout settings relevant to the search algorithm for signature blocks.


profileDescription

protected String profileDescription
Short description of the profile.


defaultProfile

protected boolean defaultProfile
true if this is the default profile, false otherwise.

Constructor Detail

SignatureProfileImpl

public SignatureProfileImpl(String profileId,
                            String moaKeyIdentifier)
Constructor.

Parameters:
profileId - The profile identifier.
moaKeyIdentifier - The MOA key identifier of this profile.

SignatureProfileImpl

public SignatureProfileImpl(String profileId,
                            String profileDescription,
                            String moaKeyIdentifier,
                            boolean isDefault)
Constructor.

Parameters:
profileId - The profile identifier.
profileDescription - The profile description.
moaKeyIdentifier - The MOA key identifier of this profile.
isDefault -
Method Detail

getProfileId

public String getProfileId()
Description copied from interface: SignatureProfile
Returns the profile id.

Specified by:
getProfileId in interface SignatureProfile
Returns:
Returns the profile id.
See Also:
SignatureProfile.getProfileId()

getMOAKeyIdentifier

public String getMOAKeyIdentifier()
Description copied from interface: SignatureProfile
Returns the MOA KeyIdentifier.

Specified by:
getMOAKeyIdentifier in interface SignatureProfile
Returns:
Returns the MOA KeyIdentifier.
See Also:
SignatureProfile.getMOAKeyIdentifier()

getSignatureBlockEntries

public Properties getSignatureBlockEntries()
Description copied from interface: SignatureProfile
Returns the entries relevant to the search algorithm for signature blocks.
e.g. properties starting with sig_obj.PROFILE.key. and properties of the form sig_obj.PROFILE.table.TABLENAME.NUMBER where PROFILE is the name of the current profile, TABLENAME is the name of a table and NUMBER is the number of the specific row within the table TABLENAME.

Specified by:
getSignatureBlockEntries in interface SignatureProfile
Returns:
The entries relevant to the signature block search algorithm as Java properties.
See Also:
SignatureProfile.getSignatureBlockEntries()

setSignatureBlockEntries

public void setSignatureBlockEntries(Properties signatureBlockEntries)
Sets the entries relevant to the search algorithm for signature blocks.
e.g. properties starting with sig_obj.PROFILE.key. and properties of the form sig_obj.PROFILE.table.TABLENAME.NUMBER where PROFILE is the name of the current profile, TABLENAME is the name of a table and NUMBER is the number of the specific row within the table TABLENAME.

Parameters:
signatureBlockEntries - The entries relevant to the signature block search algorithm as Java properties.

getProfileDescription

public String getProfileDescription()
Returns the profile description.

Specified by:
getProfileDescription in interface SignatureProfile
Returns:
The profile description.

toString

public String toString()
Overrides:
toString in class Object

isDefault

public boolean isDefault()
Description copied from interface: SignatureProfile
True only if this is the default profile according to config.

Specified by:
isDefault in interface SignatureProfile
Returns:


Copyright © 2006-2011. All Rights Reserved.