Package com.independentsoft.office.diagrams

# Class SampleData

java.lang.Object
com.independentsoft.office.diagrams.SampleData

public class SampleData extends Object
The Class SampleData.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `SampleData()`
  Instantiates a new sample data.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `SampleData`
  `clone()`
  `DataModel`
  `getDataModel()`
  Gets the data model.
  `boolean`
  `isDefault()`
  Checks if is default.
  `void`
  `setDataModel​(DataModel dataModel)`
  Sets the data model.
  `void`
  `setDefault​(boolean useDefault)`
  Sets the default.
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

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

- ## Constructor Details

  - ### SampleData

    public SampleData()
    Instantiates a new sample data.

- ## Method Details

  - ### clone

    public SampleData clone()
    Overrides:
      `clone` in class `Object`

  - ### toString

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

  - ### getDataModel

    public DataModel getDataModel()
    Gets the data model.
    Returns:
      the data model

  - ### setDataModel

    public void setDataModel​(DataModel dataModel)
    Sets the data model.
    Parameters:
      `dataModel` - the new data model

  - ### isDefault

    public boolean isDefault()
    Checks if is default.
    Returns:
      true, if is default

  - ### setDefault

    public void setDefault​(boolean useDefault)
    Sets the default.
    Parameters:
      `useDefault` - the new default