|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.vt.middleware.ed.AbstractDataType
edu.vt.middleware.ed.Major
public class Major
Contains major data.
| Field Summary | |
|---|---|
static String |
FIND_ALL
Constant for named query |
private static long |
serialVersionUID
serial version UID |
| Fields inherited from class edu.vt.middleware.ed.AbstractDataType |
|---|
HASH_CODE_SEED |
| Constructor Summary | |
|---|---|
Major()
Default constructor. |
|
Major(String code,
String name)
This creates a Major with the supplied
code and name. |
|
| Method Summary | |
|---|---|
String |
getTypeCode()
This returns the type code. |
String |
getTypeName()
This returns the type name. |
| Methods inherited from class edu.vt.middleware.ed.AbstractDataType |
|---|
compareTo, equals, getDataType, hashCode, setTypeCode, setTypeName, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String FIND_ALL
private static final long serialVersionUID
| Constructor Detail |
|---|
public Major()
public Major(String code,
String name)
Major with the supplied
code and name.
code - Stringname - String| Method Detail |
|---|
public String getTypeCode()
getTypeCode in interface DataTypegetTypeCode in class AbstractDataTypeString - codepublic String getTypeName()
getTypeName in interface DataTypegetTypeName in class AbstractDataTypeString - name
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||