public class RelationId extends RelationExpression implements Id
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
id
Holds the identifier.
|
(package private) java.net.URI |
uri |
variable
Constructor and Description |
---|
RelationId()
Creates an anonymous relation pattern
|
RelationId(java.lang.String id) |
RelationId(java.net.URI u) |
Modifier and Type | Method and Description |
---|---|
void |
accept(EDOALVisitor visitor) |
TypeCheckingVisitor.TYPE |
accept(TypeCheckingVisitor visitor) |
boolean |
equals(java.lang.Object obj) |
java.net.URI |
getURI()
Returns a plain representation of the value of this id.
|
int |
hashCode() |
java.lang.String |
plainText()
Returns a plain representation of the value of this id.
|
java.lang.String |
toString() |
getVariable, setVariable
public RelationId()
public RelationId(java.lang.String id) throws AlignmentException
AlignmentException
public RelationId(java.net.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 java.net.URI getURI()
Id
public java.lang.String plainText()
Id
public java.lang.String toString()
toString
in class java.lang.Object
RelationId: http://my/super/relation
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
(C) INRIA & friends, 2003-2020