fr.umlv.tatoo.cc.common.generator
Class AbstractObjectId
java.lang.Object
fr.umlv.tatoo.cc.common.generator.AbstractObjectId
- All Implemented Interfaces:
- ObjectId
- Direct Known Subclasses:
- AbstractActionDecl, NonTerminalDecl, Priority, ProductionDecl, RuleDecl, StateMetadataDecl, TerminalDecl, VersionDecl
public abstract class AbstractObjectId
- extends Object
- implements ObjectId
Abstract class for all object that have a name.
This
- Author:
- Remi
AbstractObjectId
protected AbstractObjectId(String id)
- Create an object with an id.
- Parameters:
id
- the id of the object.
getId
public String getId()
- Description copied from interface:
ObjectId
- Returns the identifier of the current object
- Specified by:
getId
in interface ObjectId
- Returns:
- the identifier of the object.
toString
public String toString()
- Overrides:
toString
in class Object