Class DependencyTypeImpl
- java.lang.Object
-
- de.uni_trier.wi2.procake.dependency.impl.DependencyTypeImpl
-
- All Implemented Interfaces:
DependencyType
public class DependencyTypeImpl extends Object implements DependencyType
Implementation ofDependencyType.- Author:
- Alexander Schultheis
-
-
Constructor Summary
Constructors Constructor Description DependencyTypeImpl(String dependencyTypeName, boolean graphItemInformationRequired)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()Method, that returns a description for a dependency type.StringgetName()Method, that returns the name of the dependency type.booleanisGraphItemInformationRequired()Method, that returns, if additional information for graph items is required.voidsetDescription(String description)Method, that adds a description for a dependency type.
-
-
-
Constructor Detail
-
DependencyTypeImpl
public DependencyTypeImpl(String dependencyTypeName, boolean graphItemInformationRequired)
-
-
Method Detail
-
isGraphItemInformationRequired
public boolean isGraphItemInformationRequired()
Description copied from interface:DependencyTypeMethod, that returns, if additional information for graph items is required. If so, the source and target cases for this dependency type must benest graphsor subclasses of it.- Specified by:
isGraphItemInformationRequiredin interfaceDependencyType- Returns:
- True, if graph item information is required.
-
getName
public String getName()
Description copied from interface:DependencyTypeMethod, that returns the name of the dependency type. The name is used as unique identifier.- Specified by:
getNamein interfaceDependencyType- Returns:
- The name of the dependency type.
-
setDescription
public void setDescription(String description)
Description copied from interface:DependencyTypeMethod, that adds a description for a dependency type.- Specified by:
setDescriptionin interfaceDependencyType- Parameters:
description- The description of the dependency type as string.
-
getDescription
public String getDescription()
Description copied from interface:DependencyTypeMethod, that returns a description for a dependency type.- Specified by:
getDescriptionin interfaceDependencyType- Returns:
- The description of the dependency type as string.
-
-