# com.bea.campaign
Campaign Interface

public interface Campaign
extends `CampaignInfo`, `ScenarioContainer`

The runtime definition of a campaign.

All Superinterfaces
  `CampaignInfo`, `Cloneable`, `Comparable`, `ScenarioContainer`, `Serializable`

## Field Summary

`public static final short` | `AND` Boolean AND logic.
`public static final short` | `OR` Boolean OR logic.

## Method Summary

`public short` | `getGoalLogic`() Tell if all goals need to be met, or just one.
`public `List`` | `getGoals`() Get the list of goals.
`public long` | `getLastModified`() Get the time this campaign was last modified.
`public `List`` | `getLinkedScenarioIds`() Get the list of ids of the linked scenarios.
`public boolean` | `isActive`() Determine if this campaign is currently active, based upon all campaign information.

Methods from interface `com.bea.campaign.`CampaignInfo``
``clone`, `getActiveFlag`, `getDescription`, `getGoalDescription`, `getName`, `getSponsor`, `getStartDate`, `getStopDate`, `getUniqueId`, `getValueProposition`, `isShutdown``

Methods from interface `java.lang.`Comparable``
`compareTo`

Methods from interface `com.bea.campaign.`ScenarioContainer``
``getContainerType`, `getName`, `getUniqueId`,`

## Field Detail

### AND

    public static final short AND

  Boolean AND logic.

### OR

    public static final short OR

  Boolean OR logic.

## Method Detail

### getGoalLogic() Method

    public short getGoalLogic()

Tell if all goals need to be met, or just one.

#### Returns

AND or OR.

### getGoals() Method

    public List getGoals()

Get the list of goals.

### getLastModified() Method

    public long getLastModified()

Get the time this campaign was last modified.

### getLinkedScenarioIds() Method

    public List getLinkedScenarioIds()

Get the list of ids of the linked scenarios.

#### Returns

a list of String scenario ids.

### isActive() Method

    public boolean isActive()

Determine if this campaign is currently active, based upon all campaign information.