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.
-
clone()
- Making clone public
-
equals(Object)
- Override equals as Situation is going to be used as a key in HashTable.
-
get(String)
- Get the value of a field name
-
hashCode()
- Override hashCode as Situation is going to be used as a key in HashTable.
-
initialise()
- Initialise a situation to "Unspecified"
initialise
public abstract void initialise()
- Initialise a situation to "Unspecified"
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
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
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
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