ZenMagick 0.9.6


org.zenmagick.model.ZMIdNamePair

Class ZMIdNamePair

ZMObject
|
+--ZMIdNamePair

public class ZMIdNamePair
extends ZMObject

Simple id/name container.

Author:
DerManoMann
Version:
$Id: ZMIdNamePair.php 2054 2009-03-12 03:41:22Z dermanomann $

Fields inherited from org.zenmagick.ZMObject
properties_
Constructor Summary

ZMIdNamePair(int id, string name)

Create new id - name pair.

Method Summary
string

getId()

Get the id.

string

getName()

Get the name.

Methods inherited from org.zenmagick.ZMObject
attachMethod, get, getAttachedMethods, getPropertyNames, set, singleton

Constructor Detail

ZMIdNamePair

public ZMIdNamePair(int id, string name)

Create new id - name pair.

Parameters:
id - The id.
name - The name.

Method Detail

getId

public string getId()

Get the id.

Returns:
The id.

getName

public string getName()

Get the name.

Returns:
The name.

ZenMagick 0.9.6