org.grinvin.invariants.computers
Class AbstractInvariantComputer
java.lang.Object
org.grinvin.invariants.computers.AbstractInvariantComputer
- InvariantComputer
public abstract class AbstractInvariantComputer
extends java.lang.Object
Abstract superclass used by most invariant computers. Provides a standard
identifier and version.
String | getId() - The id of an invariant computer is usually the same as its fully qualified class name.
|
String | getVersion() -
This implementation returns the string
1.0 .
|
AbstractInvariantComputer
protected AbstractInvariantComputer()
getId
public String getId()
The id of an invariant computer is usually the same as its fully qualified class name.
For reasons of backwards compatibility however, ids of a class in one of the subpackages
of org.grinvin.invariants.computers
are given an id as if they resided
in the package org.grinvin.invariants
.
- getId in interface InvariantComputer