public interface IPortLocationModelParameter extends ICloneable
determine the location of a port
with a IPortLocationModel.
Typically, implementations of this interface are created by factory methods of the corresponding
Model.
This interface extends the ICloneable interface. This allows clients to obtain a persistent copy of the current
state of this parameter. Immutable parameter implementations may return themselves.
IPortLocationModel,
IPort| Modifier and Type | Method and Description |
|---|---|
IPortLocationModel |
getModel()
Gets the model that created this parameter.
|
boolean |
supports(IPortOwner owner)
Determines whether this parameter can be used for ports at the given
owner. |
cloneIPortLocationModel getModel()
boolean supports(IPortOwner owner)
owner.
A parameter must not necessarily support all types of ports. This method returns whether it supports ports at the given
owner.
owner - The port owner to test.true if this instance can be used for ports of the given port owner, false otherwise.