|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.neoworks.jukex.sqlimpl.JukeXTrack
This object represents a Track within the JukeX system.
| Constructor Summary | |
JukeXTrack(long id,
java.net.URL url,
java.util.Date updated)
Creates a new instance of JukeXTrack |
|
| Method Summary | |
void |
addAttributeValue(Attribute attribute,
AttributeValue value)
Adds an AttributeValue to an existing Attribute on this Track. |
void |
clearAttribute(Attribute attribute)
Removes all of the values for this track from the passed Attribute |
AttributeValue |
getAttributeValue(Attribute attribute)
Return the first AttributeValue object for a specified Attribute |
AttributeValue |
getAttributeValue(java.lang.String attributename)
Get an AttributeValue on this Track by name |
java.util.Collection |
getAttributeValues(Attribute attribute)
Retrieve all of the AttributeValue objects corresponding to the given Attribute. |
long |
getId()
Return the database ID of this Track |
java.util.Collection |
getKnownAttributes()
Retrieve a Collection of all Attribute objects which this track has. |
java.util.Date |
getUpdatedDate()
Return the last time that this Track was updated in the database. |
java.net.URL |
getURL()
Return the URL of the Track's location |
void |
replaceAttributeValues(Attribute attribute,
AttributeValue value)
Replace all of the current attribute values with the one passed |
void |
setUpdatedDate(java.util.Date newdate)
Set the time that this Track was updated. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public JukeXTrack(long id,
java.net.URL url,
java.util.Date updated)
| Method Detail |
public java.util.Collection getAttributeValues(Attribute attribute)
Track
getAttributeValues in interface Trackattribute - The Attribute for which the values are to be retrieved
public void replaceAttributeValues(Attribute attribute,
AttributeValue value)
Track
replaceAttributeValues in interface Trackattribute - The Attribute to have its values changedvalue - The AttributeValue to become the new valuepublic java.util.Collection getKnownAttributes()
Track
getKnownAttributes in interface Track
public void addAttributeValue(Attribute attribute,
AttributeValue value)
Track
addAttributeValue in interface Trackattribute - The Attribute to whom the value is to be addedvalue - The AttributeValue to addpublic void clearAttribute(Attribute attribute)
Track
clearAttribute in interface Trackattribute - The Attribute to remove the values ofpublic java.net.URL getURL()
Track
getURL in interface Trackpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.util.Date getUpdatedDate()
Track
getUpdatedDate in interface Trackpublic void setUpdatedDate(java.util.Date newdate)
Track
setUpdatedDate in interface Tracknewdate - The updated Date to attach to the track.public long getId()
Track
getId in interface Trackpublic AttributeValue getAttributeValue(Attribute attribute)
getAttributeValue in interface Trackattribute - The Attribute to get the value of
public AttributeValue getAttributeValue(java.lang.String attributename)
getAttributeValue in interface Trackattributename - The name of the Attribute to query for
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||