|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.processmining.exporting.petrinet.cpnexport.HLImplementation.HLDataAttributeValues
public class HLDataAttributeValues
Specifies the possible values of a data attribute depending on its type.
Constructor Summary | |
---|---|
HLDataAttributeValues()
Default constructor. |
|
HLDataAttributeValues(Distribution dist,
int initialVal)
Constructor to create a fully-specified numeric data attribute. |
|
HLDataAttributeValues(HighLevelDataAttribute.AttributeType type)
Constructor to create an empty attribute with the of the specified type. |
|
HLDataAttributeValues(java.util.List<java.lang.String> values)
Constructor to create a fully-specified nominal data attribute. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Makes a shallow copy of this object |
java.lang.String |
getInitialValueNominal()
Retrieves the initial value for the associated data attribute. |
int |
getInitialValueNumeric()
Retrieves the initial value for the associated data attribute. |
javax.swing.JPanel |
getPanel()
Retrieves a GUI panel representing the values of this data attribute ready to display to the user. |
java.util.List<java.lang.String> |
getPossibleValuesNominal()
Retrieves the initial value for the associated data attribute. |
Distribution |
getPossibleValuesNumeric()
Retrieves the initial value for the associated data attribute. |
HighLevelDataAttribute.AttributeType |
getType()
Retrieves the attribute type for this data attribute. |
void |
updateGUI()
This method will be called as soon as the associated GUI property has changed. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HLDataAttributeValues()
public HLDataAttributeValues(HighLevelDataAttribute.AttributeType type)
type
- the type of the data attributepublic HLDataAttributeValues(Distribution dist, int initialVal)
dist
- the distribution of the possible values of this numeric attributeinitialVal
- the initial value of this numeric attributepublic HLDataAttributeValues(java.util.List<java.lang.String> values)
values
- the possible values of this nominal attribute (first value in the list
represents the initial value)Method Detail |
---|
public HighLevelDataAttribute.AttributeType getType()
public java.lang.String getInitialValueNominal()
public int getInitialValueNumeric()
public java.util.List<java.lang.String> getPossibleValuesNominal()
public Distribution getPossibleValuesNumeric()
public java.lang.Object clone()
clone
in class java.lang.Object
public void updateGUI()
GuiNotificationTarget
updateGUI
in interface GuiNotificationTarget
public javax.swing.JPanel getPanel()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |