|
|||||||||
| 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.AddressType
public class AddressType
Contains address type data.
| Field Summary | |
|---|---|
static DataType[] |
ALL_TYPES
all types |
static AddressType |
HOME
home phone type |
static AddressType |
LOCAL
local phone type |
static AddressType |
OFFICE
office phone type |
private static long |
serialVersionUID
serial version UID |
| Fields inherited from class edu.vt.middleware.ed.AbstractDataType |
|---|
HASH_CODE_SEED |
| Constructor Summary | |
|---|---|
protected |
AddressType()
Default constructor. |
protected |
AddressType(String code,
String name)
This creates a AddressType with the supplied
code and name. |
| Method Summary | |
|---|---|
static AddressType |
getDataType(String typeCode)
This returns the address type for the supplied type code. |
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 AddressType HOME
public static final AddressType LOCAL
public static final AddressType OFFICE
public static final DataType[] ALL_TYPES
private static final long serialVersionUID
| Constructor Detail |
|---|
protected AddressType()
protected AddressType(String code,
String name)
AddressType with the supplied
code and name.
code - Stringname - String| Method Detail |
|---|
public static AddressType getDataType(String typeCode)
typeCode - String
AddressTypepublic 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 | ||||||||