public class MappingNode extends Object implements Serializable
Constructor and Description |
---|
MappingNode(String node)
Creates a new mapping node given a string representation.
|
MappingNode(String aList,
String anOntologyID,
String aClassID)
Creates a new mapping node given its members
|
Modifier and Type | Method and Description |
---|---|
String |
getClassID()
Gets the class id
|
String |
getList()
Gets the list of the node
|
String |
getOntologyID()
Gets the ontology id
|
void |
setClassID(String theClassID)
Sets the class ID
|
void |
setList(String aList)
Sets gaz list for the node
|
void |
setOntologyID(String id)
Sets the ontology id
|
String |
toString()
Gets the string representation of the node
|
public MappingNode(String node) throws InvalidFormatException
node
- a node from the mapping definitionInvalidFormatException
- if the node is misformattedpublic MappingNode(String aList, String anOntologyID, String aClassID)
aList
- the gaz list file nameanOntologyID
- the ontologyaClassID
- the classpublic void setList(String aList)
aList
- a gazetteer list file namepublic void setClassID(String theClassID)
theClassID
- the class idpublic String getClassID()
public void setOntologyID(String id)
id
- the ontology idpublic String getOntologyID()