com.tibco.cep.runtime.model.element

## Interface PropertyAtomContainedConcept

- All Superinterfaces:
    PropertyAtomConcept

      public interface PropertyAtomContainedConcept
      extends PropertyAtomConcept

  Property that contains one `Concept`.
  Since:
    2.0.0

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `ContainedConcept` | `getContainedConcept()` Gets the current `ContainedConcept` of this property.
    `Id` | `getContainedConceptId()` Gets the instance id of the current `ContainedConcept` of this property.
    `Id` | `getContainedConceptId(long time)` Gets the instance id of the `ContainedConcept` of this property at the given time.
    `Id` | `getContainedConceptIdAtIdx(int idx)` Gets the instance id of the `ContainedConcept` at the given index in the current history of this property .
    `boolean` | `setContainedConcept(ContainedConcept instance)` Sets the current value of this `PropertyAtomContainedConcept` to the given instance.
    `boolean` | `setContainedConcept(ContainedConcept instance, long time)` Sets the current value of this `PropertyAtomContainedConcept` to the given instance with the given time.

    - ### Methods inherited from interface com.tibco.cep.runtime.model.element.PropertyAtomConcept

      `getConceptId, getConceptId, getConceptIdAtIdx`

- - ### Method Detail

    - #### getContainedConcept

          ContainedConcept getContainedConcept()

      Gets the current `ContainedConcept` of this property.
      Returns:
        the `ContainedConcept` instance of this property.
      Since:
        2.0.0

    - #### getContainedConceptId

          Id getContainedConceptId()

      Gets the instance id of the current `ContainedConcept` of this property. Id 0 is a special value meaning the current value in the property is null.
      Returns:
        the concept instance id of this property.
      Since:
        2.0.0

    - #### getContainedConceptId

          Id getContainedConceptId(long time)

      Gets the instance id of the `ContainedConcept` of this property at the given time. Id 0 is a special value meaning the current value in the property is null.
      Parameters:
        `time` - the time to associate with the value.
      Returns:
        the containedConcept instance id of this property
      Throws:
        `PropertyException` - if the value at that time is unknown.

    - #### getContainedConceptIdAtIdx

          Id getContainedConceptIdAtIdx(int idx)

      Gets the instance id of the `ContainedConcept` at the given index in the current history of this property . Id 0 is a special value meaning the current value in the property is null.
      Parameters:
        `idx` - index in the history of this property.
      Returns:
        the `ContainedConcept` instance id of this property
      Throws:
        `PropertyException` - if the value is unknown

    - #### setContainedConcept

          boolean setContainedConcept(ContainedConcept instance)

      Sets the current value of this `PropertyAtomContainedConcept` to the given instance.
      Parameters:
        `instance` - the `ContainedConcept` instance to set.
      Returns:
        true if a new entry was added in the history for this value.
      Since:
        2.0.0
      See Also:
        `Property#getHistoryPolicy()`

    - #### setContainedConcept

          boolean setContainedConcept(ContainedConcept instance,
                                      long time)

      Sets the current value of this `PropertyAtomContainedConcept` to the given instance with the given time.
      Parameters:
        `instance` - the `ContainedConcept` instance to set.
      Returns:
        true if a new entry was added in the history for this value.
      Since:
        2.0.0
      See Also:
        `Property#getHistoryPolicy()`