|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectestamp.Estamp
Title: Estamp.java
Description: Represents an estamp. The detailed information contains:
Copyright: Copyright (c) 2003
Company: segy
| Field Summary | |
static int |
ACTIVE
|
static int |
ENCRYPTED_STRING
|
static int |
EXPIRE_DATE
|
static java.lang.String[] |
FIELDS
Fields' name |
static int |
FROM_EMAIL
|
static int |
ISSUE_DATE
|
static int |
REUSABLE
|
static int |
TO_EMAIL
|
static int |
VENDOR_ID
|
| Constructor Summary | |
Estamp()
Default constructor |
|
Estamp(java.lang.Object[] fields)
Constructor with specific estamp fields |
|
Estamp(java.util.Vector fields)
Constructor with specific estamp fields |
|
| Method Summary | |
static Estamp |
decryptEstamp(java.lang.String theItem)
|
void |
encryptEstamp()
Encrypt the estamp using key-pairs |
boolean |
equals(Estamp estamp)
Indicates whether some other estamp is "equal to" this one |
java.lang.Object |
get(int index)
Gets one estamp field |
java.lang.Object[] |
getFields()
Get all estamp fields |
void |
init()
Initialize estamp fields |
boolean |
isValid()
Determin whether the estamp of an email is a valid estamp. |
void |
set(int index,
java.lang.Object field)
Sets one estamp fields |
void |
setFields(java.lang.Object[] fields)
Resets all the estamp fields |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int FROM_EMAIL
public static final int TO_EMAIL
public static final int ISSUE_DATE
public static final int EXPIRE_DATE
public static final int ACTIVE
public static final int REUSABLE
public static final int VENDOR_ID
public static final int ENCRYPTED_STRING
public static final java.lang.String[] FIELDS
| Constructor Detail |
public Estamp()
public Estamp(java.lang.Object[] fields)
fields - estamp fieldspublic Estamp(java.util.Vector fields)
fields - estamp fields| Method Detail |
public static Estamp decryptEstamp(java.lang.String theItem)
public void encryptEstamp()
throws java.lang.Exception
java.lang.Exceptionpublic boolean equals(Estamp estamp)
estamp - the reference esta,p with which to compare.
public java.lang.Object get(int index)
index - the index of the field
public java.lang.Object[] getFields()
public void init()
public boolean isValid()
public void set(int index,
java.lang.Object field)
index - the index of the fieldfield - the value of the fieldpublic void setFields(java.lang.Object[] fields)
fields -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||