#ifndef IDENTITY_CLASS_
#define IDENTITY_CLASS_
class Identity
	{
	public:
		typedef int Id;
		Id getId() const;
		void setId(Id id);
		static Id calculateId();
		static const int ID_LENGTH = 3;
	protected:
		Id id;
	private:
		static void setMaxId(Id id);
		static Id maxId;
		static const Text CLASS_NAME ;
	};
#endif
