org.spase.parser200
Class Checksum

java.lang.Object
  extended by org.spase.parser200.Checksum

public class Checksum
extends java.lang.Object

A computed value that is dependent upon the contents of a digital data object. Primarily used to check whether errors or alterations have occurred during the transmission or storage of a data object.

Java class for Checksum complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="Checksum">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{http://www.spase-group.org/data/schema}HashValue"/>
         <element ref="{http://www.spase-group.org/data/schema}HashFunction"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  EnumHashFunction hashFunction
           
protected  java.lang.String hashValue
           
 
Constructor Summary
Checksum()
           
 
Method Summary
 EnumHashFunction getHashFunction()
          Gets the value of the hashFunction property.
 java.lang.String getHashValue()
          Gets the value of the hashValue property.
 void setHashFunction(EnumHashFunction value)
          Sets the value of the hashFunction property.
 void setHashValue(java.lang.String value)
          Sets the value of the hashValue property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

hashValue

protected java.lang.String hashValue

hashFunction

protected EnumHashFunction hashFunction
Constructor Detail

Checksum

public Checksum()
Method Detail

getHashValue

public java.lang.String getHashValue()
Gets the value of the hashValue property.

Returns:
possible object is String

setHashValue

public void setHashValue(java.lang.String value)
Sets the value of the hashValue property.

Parameters:
value - allowed object is String

getHashFunction

public EnumHashFunction getHashFunction()
Gets the value of the hashFunction property.

Returns:
possible object is EnumHashFunction

setHashFunction

public void setHashFunction(EnumHashFunction value)
Sets the value of the hashFunction property.

Parameters:
value - allowed object is EnumHashFunction