eu.planets_project.services.fixity
Class FixityResult

java.lang.Object
  extended by eu.planets_project.services.fixity.FixityResult

public class FixityResult
extends java.lang.Object


Constructor Summary
FixityResult(java.util.List<Property> properties, ServiceReport report)
           
FixityResult(ServiceReport report)
           
FixityResult(java.lang.String algorithmId, java.lang.String algorithmProvider, byte[] digestValue, java.util.List<Property> properties, ServiceReport report)
           
FixityResult(java.lang.String algorithmId, java.lang.String algorithmProvider, java.util.List<Property> properties, ServiceReport report)
           
 
Method Summary
 java.lang.String getAlgorithmId()
           
 java.lang.String getAlgorithmProvider()
           
 byte[] getDigestValue()
           
 java.lang.String getHexDigestValue()
           
 java.util.List<Property> getProperties()
           
 ServiceReport getReport()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FixityResult

public FixityResult(java.lang.String algorithmId,
                    java.lang.String algorithmProvider,
                    byte[] digestValue,
                    java.util.List<Property> properties,
                    ServiceReport report)
Parameters:
algorithmId - the java.lang.String identifier of the digest algorithm used
algorithmProvider - the java.lang.String name of the digest algorithm provider
digestValue - the byte[] digest value
properties - any service properties to add to the report
report - the service report

FixityResult

public FixityResult(java.lang.String algorithmId,
                    java.lang.String algorithmProvider,
                    java.util.List<Property> properties,
                    ServiceReport report)
Parameters:
algorithmId - the java.lang.String identifier of the digest algorithm used
algorithmProvider - the java.lang.String name of the digest algorithm provider
properties - any service properties to add to the report
report - the service report

FixityResult

public FixityResult(java.util.List<Property> properties,
                    ServiceReport report)
Parameters:
properties - any service properties to add to the report
report - the service report

FixityResult

public FixityResult(ServiceReport report)
Parameters:
report - the service report
Method Detail

getAlgorithmId

public java.lang.String getAlgorithmId()
Returns:
the java.lang.String algorithm ID

getAlgorithmProvider

public java.lang.String getAlgorithmProvider()
Returns:
the algorithm provider

getHexDigestValue

public java.lang.String getHexDigestValue()
Returns:
the digest value as a java.lang.String

getDigestValue

public byte[] getDigestValue()
Returns:
the digest values as a byte array

getProperties

public java.util.List<Property> getProperties()
Returns:
the an unmodifiable java.util.List of properties associated with the FixityResult

getReport

public ServiceReport getReport()
Returns:
the eu.planets_project.services.datatypes.ServiceReport report


Copyright © 2007-2010 The Planets Consortium. All Rights Reserved.