T
- Does this model relationships for Parameters or ParameterObjectspublic class ParameterAssociation<T extends CapabilityParameter> extends Object
Constructor and Description |
---|
ParameterAssociation(T parameter)
Create an association for the given parameter.
|
Modifier and Type | Method and Description |
---|---|
Integer |
getAtLeast()
The minimum number of parameter values for a device with this capability.
|
Integer |
getAtMost()
The maximum number of parameter values for a device with this capability.
|
Integer |
getExactly()
The exact number of parameter values for a device with this capability.
|
T |
getParameter()
Get the parameter this association is for.
|
void |
setAtLeast(Integer atLeast)
The minimum number of parameter values for a device with this capability.
|
void |
setAtMost(Integer atMost)
The maximum number of of parameter values for a device with this capability.
|
void |
setExactly(Integer exactly)
The exact number of parameter values for a device with this capability.
|
void |
setParameter(T parameter)
Set the parameter this is an association for.
|
public ParameterAssociation(T parameter)
parameter
- the parameterpublic Integer getAtLeast()
public void setAtLeast(Integer atLeast)
atLeast
- the amountpublic Integer getExactly()
getAtLeast()
and getAtMost()
return nullpublic void setExactly(Integer exactly)
exactly
- the number of parameter valuespublic Integer getAtMost()
public void setAtMost(Integer atMost)
atMost
- number of parameter valuespublic T getParameter()
public void setParameter(T parameter)
parameter
- the parameter to setCopyright © 2017 Tampere University of Technology (TUT) / Laboratory of Mechanical Engineering and Industrial Systems (MEI). All rights reserved.