|
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.preprocessor.symbol.Symbol
public class Symbol
The model of preprocess symbol. The instance of this class contains the name and value of a preprocess symbol.
| Field Summary | |
|---|---|
static int |
TYPE_ABILITY
|
static int |
TYPE_CONFIG
|
| Constructor Summary | |
|---|---|
Symbol(String name,
String value)
The constructor. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
If name equals, then symbol equals. |
String |
getName()
|
String |
getSafeValue()
Get value in safe format for preprocessor. |
int |
getType()
|
String |
getValue()
|
int |
hashCode()
|
void |
setName(String identifier)
|
void |
setType(int type)
|
void |
setValue(String value)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int TYPE_ABILITY
public static final int TYPE_CONFIG
| Constructor Detail |
|---|
public Symbol(String name,
String value)
name - - The name of the symbol, should be unique in a SymbolSet.value - - The value of the symbol.| Method Detail |
|---|
public boolean equals(Object obj)
equals in class Objectpublic String getName()
public String getSafeValue()
public int getType()
public String getValue()
public int hashCode()
hashCode in class Objectpublic void setName(String identifier)
public void setType(int type)
public void setValue(String value)
public String toString()
toString in class Object
|
Mobile Tools for Java Release 1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||