|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.griphyn.common.classes.TCType
public class TCType
| Field Summary | |
|---|---|
static String |
_DYNAMIC_BINARY
|
static String |
_INSTALLED
|
static String |
_PACMAN_PACKAGE
|
static String |
_SCRIPT
|
static String |
_SOURCE
|
static String |
_STATIC_BINARY
|
private static HashMap |
_table_
|
private String |
_value_
|
static TCType |
DYNAMIC_BINARY
|
static String |
err
|
static TCType |
INSTALLED
|
static TCType |
PACMAN_PACKAGE
|
static TCType |
SCRIPT
|
static TCType |
SOURCE
|
static TCType |
STATIC_BINARY
|
| Constructor Summary | |
|---|---|
protected |
TCType(String value)
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Compares if a given TCType object equals this TCType object. |
static TCType |
fromString(String value)
Creates an object of TCType given a string. |
static TCType |
fromValue(String value)
Creates an objct of TCType given a string. |
String |
getValue()
Returns the string value of the type of transformation. |
int |
hashCode()
|
String |
toString()
Returns the string value of the type of transformation. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private String _value_
private static HashMap _table_
public static final String _STATIC_BINARY
public static final String _DYNAMIC_BINARY
public static final String _INSTALLED
public static final String _SOURCE
public static final String _PACMAN_PACKAGE
public static final String _SCRIPT
public static final TCType STATIC_BINARY
public static final TCType DYNAMIC_BINARY
public static final TCType INSTALLED
public static final TCType SOURCE
public static final TCType PACMAN_PACKAGE
public static final TCType SCRIPT
public static final String err
| Constructor Detail |
|---|
protected TCType(String value)
| Method Detail |
|---|
public String getValue()
public static TCType fromValue(String value)
throws IllegalStateException
value - String The type value as string
IllegalStateException - Throws Exception if the type is not defined in this class
public static TCType fromString(String value)
throws IllegalStateException
value - String The type value as string.
IllegalStateException - Throws Exception if the type is not defined in this class.public boolean equals(Object obj)
equals in class Objectobj - Object
public int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||