## Uses of Class
com.dlsc.flexgantt.model.gantt.RelationshipType

- Packages that use RelationshipType
  Package | Description
  --- | ---
  com.dlsc.flexgantt.command.layer | Contains layer-specific commands.
  com.dlsc.flexgantt.model.gantt | A model definition and default implementation for a Gantt chart model, which is basically an extension of a tree table model, which itself is an extension of a tree model.
  com.dlsc.flexgantt.model.scheduling | Contains supporting classes for basic scheduling operations and constraint resolutions.
  com.dlsc.flexgantt.policy.layer | Policies that will be used in the context of layers.

- - ### Uses of RelationshipType in com.dlsc.flexgantt.command.layer

    Methods in com.dlsc.flexgantt.command.layer that return RelationshipType
    Modifier and Type | Method and Description
    --- | ---
    `RelationshipType` | DefaultCreateRelationshipCommand.`getRelationshipType()` Returns the type of relationship that the user wants to create (S-E, E-S, S-S, E-E).
    `RelationshipType` | DefaultCreateConstraintCommand.`getRelationshipType()` Returns the type of constraint that the user wants to create (S-E, E-S, S-S, E-E).

    Constructors in com.dlsc.flexgantt.command.layer with parameters of type RelationshipType
    Constructor and Description
    `DefaultCreateConstraintCommand(TimelineObjectPath sourcePath, TimelineObjectPath targetPath, RelationshipType type, DefaultGanttChartModel model)` Constructs a new command.
    `DefaultCreateRelationshipCommand(TimelineObjectPath sourcePath, TimelineObjectPath targetPath, RelationshipType type, DefaultGanttChartModel model)` Constructs a new command.

  - ### Uses of RelationshipType in com.dlsc.flexgantt.model.gantt

    Methods in com.dlsc.flexgantt.model.gantt that return RelationshipType
    Modifier and Type | Method and Description
    --- | ---
    `RelationshipType` | IRelationship.`getType()` The type of relationship expressed by the line drawn between two timeline objects.
    `RelationshipType` | DefaultRelationship.`getType()`
    `static RelationshipType` | RelationshipType.`valueOf(String name)` Returns the enum constant of this type with the specified name.
    `static RelationshipType[]` | RelationshipType.`values()` Returns an array containing the constants of this enum type, in the order they are declared.

    Methods in com.dlsc.flexgantt.model.gantt with parameters of type RelationshipType
    Modifier and Type | Method and Description
    --- | ---
    `void` | IRelationship.`setType(RelationshipType type)` Sets the relationship type expressed by the line drawn between two timeline objects.
    `void` | DefaultRelationship.`setType(RelationshipType type)`

    Constructors in com.dlsc.flexgantt.model.gantt with parameters of type RelationshipType
    Constructor and Description
    `DefaultRelationship(TimelineObjectPath<T> sourcePath, TimelineObjectPath<T> targetPath, RelationshipType type)` Constructs a new relationship object.

  - ### Uses of RelationshipType in com.dlsc.flexgantt.model.scheduling

    Constructors in com.dlsc.flexgantt.model.scheduling with parameters of type RelationshipType
    Constructor and Description
    `AbstractConstraint(TimelineObjectPath<T> sourcePath, TimelineObjectPath<T> targetPath, RelationshipType type)` Constructs a new constraint.
    `SimpleGranularityConstraint(TimelineObjectPath<T> sourcePath, TimelineObjectPath<T> targetPath, RelationshipType type)` Constructs a new constraint.
    `TimeGranularityConstraint(TimelineObjectPath<T> sourcePath, TimelineObjectPath<T> targetPath, RelationshipType type)` Constructs a new constraint.

  - ### Uses of RelationshipType in com.dlsc.flexgantt.policy.layer

    Methods in com.dlsc.flexgantt.policy.layer that return RelationshipType
    Modifier and Type | Method and Description
    --- | ---
    `RelationshipType[]` | IRelationshipPolicy.`getSupportedRelationshipTypes(TimelineObjectPath path, IGanttChartModel model)` Determines the types of relationships that are supported by the given timeline object (end to start, start to end, start to start, end to end).
    `RelationshipType[]` | DefaultRelationshipPolicy.`getSupportedRelationshipTypes(TimelineObjectPath path, IGanttChartModel model)`

    Methods in com.dlsc.flexgantt.policy.layer with parameters of type RelationshipType
    Modifier and Type | Method and Description
    --- | ---
    `ICommand` | IRelationshipPolicy.`getCreateRelationshipCommand(TimelineObjectPath sourcePath, TimelineObjectPath targetPath, RelationshipType type, IGanttChartModel model)` Returns a command object that will perform the actual linking of the source and target timeline objects by making the appropriate changes in the model.
    `ICommand` | DefaultConstraintPolicy.`getCreateRelationshipCommand(TimelineObjectPath sourcePath, TimelineObjectPath targetPath, RelationshipType type, IGanttChartModel model)`
    `ICommand` | DefaultRelationshipPolicy.`getCreateRelationshipCommand(TimelineObjectPath sourcePath, TimelineObjectPath targetPath, RelationshipType type, IGanttChartModel model)`

Copyright © 2006–2020 Dirk Lemmermann Software & Consulting. All rights reserved.