|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.nrl.parser.type.TypeMappingEntry
public class TypeMappingEntry
An entry for the TypeMapping class.
A triplet that maps a package name (can be * for any) and a
model element name to an internal type. See the mapping class for more
details.
| Constructor Summary | |
|---|---|
TypeMappingEntry(String packageName,
String modelElementName,
NRLDataType type)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getModelElementName()
Return the model element name we're mapping. |
String |
getPackageName()
Return the package name. |
NRLDataType |
getType()
Return the internal data type this maps to. |
int |
hashCode()
|
void |
setModelElementName(String modelElementName)
Set the model element name |
void |
setPackageName(String packageName)
Set the package name |
void |
setType(NRLDataType type)
Set the internal type |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TypeMappingEntry(String packageName,
String modelElementName,
NRLDataType type)
| Method Detail |
|---|
public String getPackageName()
* for "any" package.
public NRLDataType getType()
NRLDataType.
public String getModelElementName()
public void setModelElementName(String modelElementName)
modelElementName - the new namepublic void setPackageName(String packageName)
packageName - the new namepublic void setType(NRLDataType type)
type - the typepublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||