org.processmining.framework.models
Class ModelHierarchyDirectory

java.lang.Object
  extended by org.processmining.framework.models.ModelHierarchyDirectory

public class ModelHierarchyDirectory
extends java.lang.Object

This class should be used in the ModelHierarchies to support storing directories.

Version:
1.0

Constructor Summary
ModelHierarchyDirectory(java.lang.String identifier, java.lang.String directory)
          Constructor.
 
Method Summary
 boolean equals(java.lang.Object o)
          Check for equality of the identifier, nothing else!
 java.lang.String getDirectory()
          return the directory.
 java.lang.String getIdentifier()
          return the identifier.
 int hashCode()
          return the hashCode of the identifier, nothing else.
 java.lang.String toString()
          return the directory.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ModelHierarchyDirectory

public ModelHierarchyDirectory(java.lang.String identifier,
                               java.lang.String directory)
Constructor.

Parameters:
identifier - String identifying the object
directory - String the label of the object
Method Detail

equals

public boolean equals(java.lang.Object o)
Check for equality of the identifier, nothing else!

Overrides:
equals in class java.lang.Object
Parameters:
o - Object
Returns:
boolean

hashCode

public int hashCode()
return the hashCode of the identifier, nothing else.

Overrides:
hashCode in class java.lang.Object
Returns:
int

toString

public java.lang.String toString()
return the directory.

Overrides:
toString in class java.lang.Object
Returns:
String

getIdentifier

public java.lang.String getIdentifier()
return the identifier.

Returns:
String

getDirectory

public java.lang.String getDirectory()
return the directory.

Returns:
String