Package bbd.jportal2
Class Enum
- java.lang.Object
-
- bbd.jportal2.Enum
-
- All Implemented Interfaces:
Serializable
public class Enum extends Object implements Serializable
This holds the field definition. It also supplies methods for the Java format and various SQL formats.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Enum()constructor ensures fields have correct default values
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()intgetValue()voidreader(DataInputStream ids)voidwriter(DataOutputStream ods)
-
-
-
Field Detail
-
name
public String name
-
value
public int value
-
-
Method Detail
-
reader
public void reader(DataInputStream ids) throws IOException
- Throws:
IOException
-
writer
public void writer(DataOutputStream ods) throws IOException
- Throws:
IOException
-
getName
public String getName()
-
getValue
public int getValue()
-
-