|
Alignment API and Server 4.6 (1875M) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.inrialpes.exmo.align.impl.edoal.Expression
fr.inrialpes.exmo.align.impl.edoal.ClassExpression
fr.inrialpes.exmo.align.impl.edoal.ClassId
public class ClassId
A simple Id to represent a Class.
Field Summary | |
---|---|
private String |
id
Holds the identifier. |
(package private) URI |
uri
|
Fields inherited from class fr.inrialpes.exmo.align.impl.edoal.Expression |
---|
variable |
Constructor Summary | |
---|---|
ClassId()
Creates an anonymous class pattern |
|
ClassId(String id)
|
|
ClassId(URI u)
|
Method Summary | |
---|---|
void |
accept(EDOALVisitor visitor)
|
TypeCheckingVisitor.TYPE |
accept(TypeCheckingVisitor visitor)
|
boolean |
equals(Object obj)
|
URI |
getURI()
Returns a plain representation of the value of this id. |
int |
hashCode()
|
String |
plainText()
Returns a plain representation of the value of this id. |
String |
toString()
Returns a simple description of this object. |
Methods inherited from class fr.inrialpes.exmo.align.impl.edoal.Expression |
---|
getVariable, setVariable |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private String id
URI uri
Constructor Detail |
---|
public ClassId()
public ClassId(String id) throws AlignmentException
AlignmentException
public ClassId(URI u)
Method Detail |
---|
public void accept(EDOALVisitor visitor) throws AlignmentException
accept
in class Expression
AlignmentException
public TypeCheckingVisitor.TYPE accept(TypeCheckingVisitor visitor) throws AlignmentException
accept
in class Expression
AlignmentException
public URI getURI()
Id
getURI
in interface Id
public String plainText()
Id
plainText
in interface Id
public String toString()
Returns a simple description of this object. The format of the returned String is undocumented and subject to change.
An expamle return String could be:
classId: http://my/super/class
toString
in class Object
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
Alignment API and Server 4.6 (1875M) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |