Alignment API and Server 4.0

fr.inrialpes.exmo.align.impl.edoal
Class Variable

java.lang.Object
  extended by fr.inrialpes.exmo.align.impl.edoal.Variable

public class Variable
extends Object

A simple Id to represent a Instance.

Author:
richi

Field Summary
private  String name
           
private  Set<Expression> occurences
           
 
Constructor Summary
Variable(String name)
          Constructs a InstanceId.
 
Method Summary
 void addOccurence(Expression expr)
           
 String name()
           
 String plainText()
          Returns the Id.
 String toString()
           Returns a simple description of this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

private String name

occurences

private Set<Expression> occurences
Constructor Detail

Variable

public Variable(String name)
Constructs a InstanceId.

Parameters:
id - the id of the class
Method Detail

name

public String name()

addOccurence

public void addOccurence(Expression expr)

plainText

public String plainText()
Returns the Id.

Returns:
the id.

toString

public String toString()

Returns a simple description of this object. The format of the returned String is undocumented and subject to change.

Overrides:
toString in class Object

Alignment API and Server 4.0

(C) INRIA & friends, 2003-2010