org.processmining.exporting.petrinet.cpnexport.HLImplementation
Class HLDataAttributeType

java.lang.Object
  extended by org.processmining.exporting.petrinet.cpnexport.HLImplementation.HLDataAttributeType
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class HLDataAttributeType
extends java.lang.Object
implements java.lang.Cloneable, java.io.Serializable

Represents the type of a data attribute, such as being a "Nominal" or a "Numeric" attribute.

Author:
arozinat
See Also:
Serialized Form

Constructor Summary
HLDataAttributeType(HighLevelDataAttribute.AttributeType type, HLDataAttributeValues parent)
          Creates a data attribute type with the specified value.
HLDataAttributeType(HLDataAttributeValues parent)
          Creates a data attribute type with the default value "Nominal".
 
Method Summary
 java.lang.Object clone()
          Makes a shallow copy of the object
 HighLevelDataAttribute.AttributeType getAttributeType()
          Returns the current attribute type.
 GUIPropertyListEnumeration getEnumerationProperty()
          Creates an enumeration property from this data attribute type instance.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HLDataAttributeType

public HLDataAttributeType(HLDataAttributeValues parent)
Creates a data attribute type with the default value "Nominal".


HLDataAttributeType

public HLDataAttributeType(HighLevelDataAttribute.AttributeType type,
                           HLDataAttributeValues parent)
Creates a data attribute type with the specified value.

Parameters:
type - the value assigned to this data attribute type
parent - the parent data attribute that needs to be notified as soon as the attribute type is changed
Method Detail

getAttributeType

public HighLevelDataAttribute.AttributeType getAttributeType()
Returns the current attribute type.

Returns:
the current attribute type

getEnumerationProperty

public GUIPropertyListEnumeration getEnumerationProperty()
Creates an enumeration property from this data attribute type instance.

Returns:
the enumeration property for this data attribute type

clone

public java.lang.Object clone()
Makes a shallow copy of the object

Overrides:
clone in class java.lang.Object
Returns:
Object