Variable (Alignment API and Server)
Date: 2010-03-31

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Alignment API and Server 4.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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

    java.lang.Object
      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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Alignment API and Server 4.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

(C) INRIA & friends, 2003-2010