All Packages Class Hierarchy This Package Previous Next Index
Class semper.commerce.Statement
java.lang.Object
|
+----semper.commerce.Statement
- public final class Statement
- extends Object
- implements Serializable
This class encapsulates information about a specific statement. A
statement is some information signed by a signer.
Currently only statements represented as plain text are supported.
The core statement service of SEMPER also supports other data
types as statements, but it is still unclear whether this is necessary.
We will add this later if necessary.
Note: Objects of this type must be immutable.
- Version:
- $Id: Statement.java,v 1.3 1998/04/30 07:10:16 semper Exp $
- Author:
- Rolf Michelsen, Stig Mj�lsnes
- See Also:
- StatementTransaction
-
Statement(String, String)
- Creates a statement.
-
equals(Object)
- Compares two statement objects for equality.
-
getSignerName()
- Returns the distinguished name of the signer of the statement.
-
getStatementText()
- Returns the text of the statement.
Statement
public Statement(String statementText,
String signerName)
- Creates a statement.
- Parameters:
- statementText - The text of the statement.
- signerName - The distinguished name of the signer.
getSignerName
public String getSignerName()
- Returns the distinguished name of the signer of the statement.
- Returns:
- The distinguished name of the signer.
getStatementText
public String getStatementText()
- Returns the text of the statement. Currently only statements represented
as plain text are supported.
- Returns:
- The text of the statement.
equals
public boolean equals(Object obj)
- Compares two statement objects for equality. If the parameter object is not
of type
Statement
then the test will always fail.
- Parameters:
- obj - The candidate object.
- Returns:
-
true
if the statements are equal.
- Overrides:
- equals in class Object
All Packages Class Hierarchy This Package Previous Next Index