ZenMagick 0.9.6


org.zenmagick.rp.resultlist.model.ZMFilterOption

Class ZMFilterOption

ZMObject
|
+--ZMFilterOption

public class ZMFilterOption
extends ZMObject

A single filter option.

Author:
DerManoMann
Version:
$Id: ZMFilterOption.php 2121 2009-03-31 01:56:56Z dermanomann $

Fields inherited from org.zenmagick.ZMObject
properties_
Constructor Summary

ZMFilterOption(string name, int id, boolean active)

Create a new filter option.

Method Summary
int

getId()

Get the option id.

string

getName()

Get the option name.

boolean

isActive()

Check if this option is active.

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

Constructor Detail

ZMFilterOption

public ZMFilterOption(string name, int id, boolean active)

Create a new filter option.

Parameters:
name - The option name.
id - The option id.
active - Optional active flag if this option is currently active.

Method Detail

getId

public int getId()

Get the option id.

Returns:
The option id.

getName

public string getName()

Get the option name.

Returns:
The option name.

isActive

public boolean isActive()

Check if this option is active.

Returns:
true if this option is active, false, if not.

ZenMagick 0.9.6