|
Alignment API and Server 4.1.${version.update} | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.inrialpes.exmo.align.impl.edoal.Datatype
public class Datatype
Id to represent a datatype
$Id: Datatype.java 1523 2010-10-11 14:06:03Z euzenat $
Field Summary | |
---|---|
private String |
type
Holds the type |
Constructor Summary | |
---|---|
Datatype(String type)
Constructs an object with the given type. |
Method Summary | |
---|---|
void |
accept(AlignmentVisitor visitor)
|
boolean |
equals(Object o)
|
int |
hashCode()
|
String |
plainText()
|
String |
toString()
Returns a short description about this object. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private String type
Constructor Detail |
---|
public Datatype(String type)
type
- the type for this object.
NullPointerException
- if the type is null
IllegalArgumentException
- if the type isn't longer than 0Method Detail |
---|
public void accept(AlignmentVisitor visitor) throws AlignmentException
accept
in interface Visitable
AlignmentException
public String plainText()
public int hashCode()
hashCode
in class Object
public boolean equals(Object o)
equals
in class Object
public String toString()
Returns a short description about this object. The format of the returned string is undocumentd and subject to change.
An example return string could be: 15
toString
in class Object
|
Alignment API and Server 4.1.${version.update} | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |