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

## org.modeshape.connector.store.jpa.util
Class StoreOptionEntity

    java.lang.Object
      org.modeshape.connector.store.jpa.util.StoreOptionEntity

All Implemented Interfaces:
  Serializable

    @Entity(name="MODE_OPTIONS")
    public class StoreOptionEntity

extends Object
implements Serializable

An option for the store. This is typically used to save store-specific values.

This JPA entity is always added to the `Ejb3Configuration` in the `JpaSource`, and therefore should not be `added to the configuration` by a `Model`.

See Also:
  Serialized Form

Constructor Summary
`protected` | `StoreOptionEntity()`
`` | `StoreOptionEntity(String name)`
`` | `StoreOptionEntity(String name, String value)`

Method Summary
`boolean` | `equals(Object obj)`
`String` | `getName()`
`String` | `getValue()`
`int` | `hashCode()`
`void` | `setName(String name)`
`void` | `setValue(String value)`
`String` | `toString()`

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

Constructor Detail

### StoreOptionEntity

    protected StoreOptionEntity()

### StoreOptionEntity

    public StoreOptionEntity(String name,
                             String value)

Parameters:
  `name` - the name of the option; may not be null or empty
  `value` - the value of the option; may be null

### StoreOptionEntity

    public StoreOptionEntity(String name)

Parameters:
  `name` - the name of the option; may not be null or empty

Method Detail

### getName

    public String getName()

  Returns:
    name

### setName

    public void setName(String name)

  Parameters:
    `name` - Sets name to the specified value.

### getValue

    public String getValue()

  Returns:
    value

### setValue

    public void setValue(String value)

  Parameters:
    `value` - Sets value to the specified value.

### hashCode

    public int hashCode()

  Overrides:
    `hashCode` in class `Object`
  See Also:
    `Object.hashCode()`

### equals

    public boolean equals(Object obj)

  Overrides:
    `equals` in class `Object`
  See Also:
    `Object.equals(java.lang.Object)`

### toString

    public String toString()

  Overrides:
    `toString` in class `Object`
  See Also:
    `Object.toString()`

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

Copyright © 2008-2011 JBoss, a division of Red Hat. All Rights Reserved.