# Class SimpleProperty<T>

java.lang.Object
com.macrofocus.common.properties.AbstractProperty<T>
com.macrofocus.common.properties.AbstractMutableProperty<T>
com.macrofocus.common.properties.SimpleProperty<T>

Type Parameters:
  `T` - the type of elements that the property can hold

All Implemented Interfaces:
  `MutableProperty<T>, Property<T>`

public class SimpleProperty<T> extends AbstractMutableProperty<T> implements MutableProperty<T>
Default data model a property.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `SimpleProperty(T value)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `T`
  `getValue()`
  `static <T> SimpleProperty<T>`
  `newInstance(T value)`
  `void`
  `setValue(T value)`
  `String`
  `toString()`

  ### Methods inherited from class AbstractMutableProperty

  `bind, bindBidirectional`

  ### Methods inherited from class AbstractProperty

  `addPropertyListener, addWeakPropertyListener, notifyPropertyChanged, removePropertyListener`

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

  ### Methods inherited from interface MutableProperty

  `bind, bindBidirectional`

  ### Methods inherited from interface Property

  `addPropertyListener, addWeakPropertyListener, removePropertyListener`

- ## Constructor Details

  - ### SimpleProperty

    public SimpleProperty(T value)

- ## Method Details

  - ### newInstance

    public static <T> SimpleProperty<T> newInstance(T value)

  - ### getValue

    public T getValue()
    Specified by:
      `getValue` in interface `Property<T>`

  - ### setValue

    public void setValue(T value)
    Specified by:
      `setValue` in interface `MutableProperty<T>`

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`