All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface semper.certificate.Situation

public interface Situation
extends Serializable, Cloneable
Situation is an interface describing the situation that can be linked with a certificate. Classes implementing this interface must provide an empty constructor.


Method Index

 o clone()
Making clone public
 o equals(Object)
Override equals as Situation is going to be used as a key in HashTable.
 o get(String)
Get the value of a field name
 o hashCode()
Override hashCode as Situation is going to be used as a key in HashTable.
 o initialise()
Initialise a situation to "Unspecified"

Methods

 o initialise
 public abstract void initialise()
Initialise a situation to "Unspecified"

 o get
 public abstract String get(String fieldName)
Get the value of a field name

Parameters:
fieldName - the name of the field
Returns:
the value of the field name
 o equals
 public abstract boolean equals(Object obj)
Override equals as Situation is going to be used as a key in HashTable.

Parameters:
the - object to compare with
Returns:
true if the two objects are equal
Overrides:
equals in class Object
 o hashCode
 public abstract int hashCode()
Override hashCode as Situation is going to be used as a key in HashTable.

Returns:
the hashCode
Overrides:
hashCode in class Object
 o clone
 public abstract Object clone()
Making clone public

Returns:
a clone of myself
Overrides:
clone in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index