Overview | Package | Class | Tree | Deprecated | Index | Help
| install4j API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.install4j.api.beaninfo
Class EnumerationMapEntry

    java.lang.Object
      com.install4j.api.beaninfo.EnumerationMapEntry

    public class EnumerationMapEntry

extends java.lang.Object

Entry in an enumeration defined by `EnumerationMapper`. An enumeration map entry maps a verbose description to an arbitrary object. For primitive enumerated values, an instance of the corresponding wrapper class can be used for the object property.

Constructor Summary
`EnumerationMapEntry(java.lang.String name, java.lang.Object object)` Construct a map entry.

Method Summary
`java.lang.String` | `getName()` Get the name of the map entry.
`java.lang.Object` | `getObject()` Get the object that is mapped to the specified name.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### EnumerationMapEntry

    public EnumerationMapEntry(java.lang.String name,
                               java.lang.Object object)

  Construct a map entry.

  Parameters:
    `name` - the name
    `object` - the object

Method Detail

### getName

    public java.lang.String getName()

  Get the name of the map entry. This name is displayed in the install4j GUI.

  Returns:
    the name

### getObject

    public java.lang.Object getObject()

  Get the object that is mapped to the specified name.

  Returns:
    the object

Overview | Package | Class | Tree | Deprecated | Index | Help
| install4j API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD