com.virtuosotechnologies.asaph.model
Interface SongID


public interface SongID

A Song ID. This object identifies a Song in a SongDatabase and can be used to quickly check out a copy of the Song. SongID also contains a unique and immutable String representation that may be used to serialize and deserialize the SongID. The string is guaranteed to be unique within a particular database, and will remain the same for same song across different executions of the tool. However, two songs from different databases may have the same string representation.


Method Summary
 boolean equals(Object obj)
          Equals
 SongDatabase getDatabase()
          Get the database that owns this song
 String getStringRepresentation()
          Get the string representation
 

Method Detail

getDatabase

public SongDatabase getDatabase()
Get the database that owns this song

Returns:
SongDatabase

getStringRepresentation

public String getStringRepresentation()
Get the string representation

Returns:
String

equals

public boolean equals(Object obj)
Equals