|
Mobile Tools for Java Release 1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.mtj.core.model.library.api.APIType
public class APIType
An enumeration type that represents the type of an API.
| Field Summary | |
|---|---|
static APIType |
CONFIGURATION
An API that acts as a configuration |
static int |
CONFIGURATION_CODE
Static constant representing a API that acts as a configuration |
static APIType |
OPTIONAL
An API that is optional |
static int |
OPTIONAL_CODE
Static constant representing an API that offers optional functionality |
static APIType |
PROFILE
An API that acts as a profile |
static int |
PROFILE_CODE
Static constant representing an API that acts as a profile |
static String[] |
TYPE_STRINGS
|
static APIType |
UNKNOWN
An API that is an unknown type |
static int |
UNKNOWN_CODE
Static constant representing an API that is of an unknown type |
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
int |
getTypeCode()
Return the type code for this particular type. |
int |
hashCode()
|
String |
toString()
|
static APIType |
typeForCode(int typeCode)
Return the type associated with the specified code. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int CONFIGURATION_CODE
public static final APIType CONFIGURATION
public static final int PROFILE_CODE
public static final APIType PROFILE
public static final int OPTIONAL_CODE
public static final APIType OPTIONAL
public static final int UNKNOWN_CODE
public static final APIType UNKNOWN
public static final String[] TYPE_STRINGS
| Method Detail |
|---|
public static APIType typeForCode(int typeCode)
typeCode -
public boolean equals(Object obj)
equals in class ObjectObject.equals(java.lang.Object)public int getTypeCode()
public int hashCode()
hashCode in class ObjectObject.hashCode()public String toString()
toString in class ObjectObject.toString()
|
Mobile Tools for Java Release 1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||