Class LinkCreationInfo
- java.lang.Object
-
- org.eclipse.graphiti.pattern.mapping.LinkCreationInfo
-
- All Implemented Interfaces:
ILinkCreationInfo
public class LinkCreationInfo extends java.lang.Object implements ILinkCreationInfo
The Class LinkCreationInfo.
-
-
Constructor Summary
Constructors Constructor Description LinkCreationInfo(java.lang.Object businessObject)
Creates a newLinkCreationInfo
.LinkCreationInfo(java.lang.Object[] businessObjects)
Creates a newLinkCreationInfo
.LinkCreationInfo(java.lang.Object[] businessObjects, java.lang.String property)
Creates a newLinkCreationInfo
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object[]
getBusinessObjects()
Gets the business objects.java.lang.String
getProperty()
Gets the property.
-
-
-
Constructor Detail
-
LinkCreationInfo
public LinkCreationInfo(java.lang.Object businessObject)
Creates a newLinkCreationInfo
.- Parameters:
businessObject
- the business object
-
LinkCreationInfo
public LinkCreationInfo(java.lang.Object[] businessObjects)
Creates a newLinkCreationInfo
.- Parameters:
businessObjects
- the business objects
-
LinkCreationInfo
public LinkCreationInfo(java.lang.Object[] businessObjects, java.lang.String property)
Creates a newLinkCreationInfo
.- Parameters:
businessObjects
- the business objectsproperty
- the property
-
-
Method Detail
-
getBusinessObjects
public java.lang.Object[] getBusinessObjects()
Description copied from interface:ILinkCreationInfo
Gets the business objects.- Specified by:
getBusinessObjects
in interfaceILinkCreationInfo
- Returns:
- list of business objects which will connected with a pictogram element
-
getProperty
public java.lang.String getProperty()
Description copied from interface:ILinkCreationInfo
Gets the property.- Specified by:
getProperty
in interfaceILinkCreationInfo
- Returns:
- a property which will be used as link property
-
-