com.componio.jlicensure.shared
Interface LicenseeData

All Superinterfaces:
java.io.Serializable

public interface LicenseeData
extends java.io.Serializable

Generic interface holding licensee data. A licensee is simply described by a set of properties.


Method Summary
 java.util.Properties getProperties()
          Get the licensee's properties.
 java.lang.String getProperty(java.lang.String property)
          Get a specific property value.
 void setProperty(java.lang.String property, java.lang.String value)
          Set a specific property value.
 byte[] toHashBytes()
          Create a unique hash calculated from the licensee data contained in this class
 java.lang.String toHashString()
          Create a unique hash string calculated from the licensee data contained in this class
 

Method Detail

getProperties

java.util.Properties getProperties()
Get the licensee's properties.


getProperty

java.lang.String getProperty(java.lang.String property)
Get a specific property value.

Parameters:
property - the property name
Returns:
the property's value

setProperty

void setProperty(java.lang.String property,
                 java.lang.String value)
Set a specific property value.

Parameters:
property - the property name
value - the property's value

toHashBytes

byte[] toHashBytes()
Create a unique hash calculated from the licensee data contained in this class


toHashString

java.lang.String toHashString()
Create a unique hash string calculated from the licensee data contained in this class