|
Alignment API and Server 4.0 | |||||||||
| 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 | |
|---|---|
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 |
|---|
accept, accept, 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
AlignmentExceptionpublic ClassId(URI u)
| Method Detail |
|---|
public URI getURI()
Id
getURI in interface Idpublic String plainText()
Id
plainText in interface Idpublic 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 Objectpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
Alignment API and Server 4.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||