|
Alignment API and Server 4.5 (1846M) | |||||||||
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.InstanceExpression
fr.inrialpes.exmo.align.impl.edoal.InstanceId
public class InstanceId
A simple Id to represent a Instance.
Field Summary | |
---|---|
private URI |
uri
|
Fields inherited from class fr.inrialpes.exmo.align.impl.edoal.Expression |
---|
variable |
Constructor Summary | |
---|---|
InstanceId()
Creates an anonymous instance pattern |
|
InstanceId(URI u)
Constructs an InstanceId. |
Method Summary | |
---|---|
void |
accept(EDOALVisitor visitor)
|
TypeCheckingVisitor.TYPE |
accept(TypeCheckingVisitor visitor)
|
URI |
getURI()
Returns a plain representation of the value of this id. |
String |
plainText()
Returns the Id. |
void |
setURI(URI u)
|
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, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private URI uri
Constructor Detail |
---|
public InstanceId()
public InstanceId(URI u)
u
- an URI of this instance
NullPointerException
- u is nullMethod Detail |
---|
public URI getURI()
Id
getURI
in interface Id
public void setURI(URI u)
public void accept(EDOALVisitor visitor) throws AlignmentException
accept
in interface ValueExpression
accept
in class Expression
AlignmentException
public TypeCheckingVisitor.TYPE accept(TypeCheckingVisitor visitor) throws AlignmentException
accept
in interface ValueExpression
accept
in class Expression
AlignmentException
public String plainText()
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:
instanceId: http://my/super/instance
toString
in class Object
|
Alignment API and Server 4.5 (1846M) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |