org.norther.tammi.core.rt.util
Interface EnumerationEntry

All Known Implementing Classes:
EnumerationName, EnumerationValue

public interface EnumerationEntry

An interface to enumeration entries.

Version:
$Id: EnumerationEntry.java,v 1.4 2009/09/28 15:08:43 cvsimp Exp $
Author:
Ilkka Priha

Method Summary
 EnumerationEntry clone(String name)
          Clones the entry with a new name.
 String getName()
          Gets the name of the entry.
 String getPattern()
          Gets the pattern of the entry.
 String getType()
          Gets the type of the entry.
 Object getValue()
          Gets the value of the entry.
 boolean isLocalizable()
          Checks whether the entry is localizable.
 

Method Detail

getName

String getName()
Gets the name of the entry.

Returns:
the name.

getType

String getType()
Gets the type of the entry.

Returns:
the type.

getValue

Object getValue()
Gets the value of the entry.

Returns:
the value.

getPattern

String getPattern()
Gets the pattern of the entry.

Returns:
the pattern.

isLocalizable

boolean isLocalizable()
Checks whether the entry is localizable.

Returns:
true if localizable, false otherwise.

clone

EnumerationEntry clone(String name)
Clones the entry with a new name.

Parameters:
name - the name of the entry.
Returns:
the cloned entry.


Copyright © 2004 The Norther Organization. All rights reserved.