Class DependencyTypeImpl
java.lang.Object
de.uni_trier.wi2.procake.dependency.impl.DependencyTypeImpl
- All Implemented Interfaces:
DependencyType
Implementation of
DependencyType
.- Author:
- Alexander Schultheis
-
Constructor Summary
ConstructorDescriptionDependencyTypeImpl
(String dependencyTypeName, boolean graphItemInformationRequired) -
Method Summary
Modifier and TypeMethodDescriptionMethod, that returns a description for a dependency type.getName()
Method, that returns the name of the dependency type.boolean
Method, that returns, if additional information for graph items is required.void
setDescription
(String description) Method, that adds a description for a dependency type.
-
Constructor Details
-
DependencyTypeImpl
-
-
Method Details
-
isGraphItemInformationRequired
public boolean isGraphItemInformationRequired()Description copied from interface:DependencyType
Method, that returns, if additional information for graph items is required. If so, the source and target cases for this dependency type must benest graphs
or subclasses of it.- Specified by:
isGraphItemInformationRequired
in interfaceDependencyType
- Returns:
- True, if graph item information is required.
-
getName
Description copied from interface:DependencyType
Method, that returns the name of the dependency type. The name is used as unique identifier.- Specified by:
getName
in interfaceDependencyType
- Returns:
- The name of the dependency type.
-
setDescription
Description copied from interface:DependencyType
Method, that adds a description for a dependency type.- Specified by:
setDescription
in interfaceDependencyType
- Parameters:
description
- The description of the dependency type as string.
-
getDescription
Description copied from interface:DependencyType
Method, that returns a description for a dependency type.- Specified by:
getDescription
in interfaceDependencyType
- Returns:
- The description of the dependency type as string.
-