org.processmining.framework.models.hlprocess
Interface HighLevelResource

All Known Implementing Classes:
HLResource

public interface HighLevelResource

Defines the data operations that are available for a high-level resource. A high level resource can be associated to a group or to a process.

Author:
rmans, arozinat

Method Summary
 boolean equals(java.lang.Object obj)
          Compares the specified object with this HighLevelResource for equality.
 java.lang.String getName()
          Retrieves the name of this resource.
 int hashCode()
          Returns the hascode for a HighLevelResource object.
 void setName(java.lang.String name)
          Sets the name of this resource.
 

Method Detail

getName

java.lang.String getName()
Retrieves the name of this resource.

Returns:
the name

setName

void setName(java.lang.String name)
Sets the name of this resource.

Parameters:
name - String the name.

equals

boolean equals(java.lang.Object obj)
Compares the specified object with this HighLevelResource for equality. Returns true if the given object is also a HighLevelResource object and have both the same name (without leading and trailing whitespaces).

Overrides:
equals in class java.lang.Object
Parameters:
obj - Object object to be compared for equality with this HighLevelResource.
Returns:
boolean if the specified object is equal to this HighLevelResource

hashCode

int hashCode()
Returns the hascode for a HighLevelResource object. The hashcode of a HighLevelResource is defined to be equal to the hashcode value of the name of the HighLevelResource

Overrides:
hashCode in class java.lang.Object
Returns:
int the hashcode value for this highLevelGroup