gov.sandia.cognition.framework
Interface SemanticLabel

All Superinterfaces:
Serializable
All Known Implementing Classes:
DefaultSemanticLabel

public interface SemanticLabel
extends Serializable

This interface defines what a semantic label should have.

Since:
1.0
Author:
Justin Basilico, Kevin R. Dixon

Method Summary
 boolean equals(Object other)
          Determines if this label is equal to a given object.
 String getName()
          Gets the human-readable name of the label.
 int hashCode()
          Computes the hash-code for the label.
 

Method Detail

getName

String getName()
Gets the human-readable name of the label.

Returns:
The name of the label

hashCode

int hashCode()
Computes the hash-code for the label.

Overrides:
hashCode in class Object
Returns:
The hash-code for the label

equals

boolean equals(Object other)
Determines if this label is equal to a given object.

Overrides:
equals in class Object
Parameters:
other - The object to compare to
Returns:
True if the objects are equal and false otherwise