|
|||||||||
| 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.ServiceType
public class ServiceType
Contains service type data.
| Field Summary | |
|---|---|
static DataType[] |
ALL_TYPES
all types |
static ServiceType |
PERSONAL
personal service type |
static ServiceType |
PRIVATE
private service type |
private static long |
serialVersionUID
serial version UID |
| Fields inherited from class edu.vt.middleware.ed.AbstractDataType |
|---|
HASH_CODE_SEED |
| Constructor Summary | |
|---|---|
protected |
ServiceType()
Default constructor. |
protected |
ServiceType(String code,
String name)
This creates a ServiceType with the supplied
code and name. |
| Method Summary | |
|---|---|
static ServiceType |
getDataType(String typeCode)
This returns the service 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 ServiceType PRIVATE
public static final ServiceType PERSONAL
public static final DataType[] ALL_TYPES
private static final long serialVersionUID
| Constructor Detail |
|---|
protected ServiceType()
protected ServiceType(String code,
String name)
ServiceType with the supplied
code and name.
code - Stringname - String| Method Detail |
|---|
public static ServiceType getDataType(String typeCode)
typeCode - String
ServiceTypepublic 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 | ||||||||