public class PropertyId extends PropertyExpression implements Id
A simple Id to represent a Property. Can be restricted by a language
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
id
Holds the identifier.
|
(package private) java.lang.String |
lang |
(package private) java.net.URI |
uri |
variable
Constructor and Description |
---|
PropertyId()
Creates an anonymous property pattern
|
PropertyId(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.lang.String |
getLanguage() |
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.
|
void |
setLanguage(java.lang.String l) |
java.lang.String |
toString() |
getVariable, setVariable
private java.lang.String id
java.net.URI uri
java.lang.String lang
public PropertyId()
public PropertyId(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 getLanguage()
public void setLanguage(java.lang.String l)
public java.lang.String plainText()
Id
public java.lang.String toString()
toString
in class java.lang.Object
PropertyId: http://my/super/property
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