public class TrackInfoResource extends Resource<HashMap<String,Object>>
| Modifier and Type | Field and Description |
|---|---|
static String |
RESOURCE_ID |
| Constructor and Description |
|---|
TrackInfoResource()
creates a new Resource.
|
TrackInfoResource(Identification provider)
creates a new Resource.
|
TrackInfoResource(Identification provider,
Identification consumer)
creates a new Resource.
|
TrackInfoResource(Identification provider,
TrackInfo trackInfo)
creates a new Resource.
|
TrackInfoResource(Identification provider,
TrackInfo trackInfo,
Identification consumer)
creates a new Resource.
|
| Modifier and Type | Method and Description |
|---|---|
static Optional<TrackInfo> |
getTrackInfo(EventModel eventModel)
gets the first TrackInfo if found in the EventModel
|
getConsumer, getID, getProvider, getResource, getResourceID, hasProvider, setConsumer, setProvider, setResource, toList, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisOwnerpublic static final String RESOURCE_ID
public TrackInfoResource()
public TrackInfoResource(Identification provider)
provider - the Provider of the Resourcepublic TrackInfoResource(Identification provider, TrackInfo trackInfo)
provider - the Provider of the ResourcetrackInfo - the resourcepublic TrackInfoResource(Identification provider, Identification consumer)
provider - the Provider of the Resourceconsumer - the ID of the Consumerpublic TrackInfoResource(Identification provider, TrackInfo trackInfo, Identification consumer)
provider - the Provider of the ResourcetrackInfo - the resourceconsumer - the ID of the Consumerpublic static Optional<TrackInfo> getTrackInfo(EventModel eventModel)
eventModel - the EventModelCopyright © 2016. All rights reserved.