|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<Stream>
eu.play_project.play_commons.constants.Stream
public enum Stream
Enum of stream identifiers (also used for topic names) commonly used in PLAY.
Full stream IDs ending in #stream are used when creating metadata
about streams, largely when describing the stream in RDF. Shorter IDs without
this suffix are used for topics on the DSB which can be obtained by
getTopicUri() and getTopicQName().
| Field Summary | |
|---|---|
static String |
STREAM_COMPLEXEVENTS
Whether a stream has complex or not. |
static String |
STREAM_DESCRIPTION
The stream descriptions attribute. |
static String |
STREAM_DSBNEEDSTOSUBSCRIBE
Whether DSB needs to subscribe to the event cloud, i.e. |
static String |
STREAM_ICON
The stream icon attribute. |
static String |
STREAM_ID_SUFFIX
Stream IDs usually end in this special suffix (URI fragment identifier). |
static String |
STREAM_TITLE
The stream title attribute. |
static String |
STREAM_TOPIC
The fully qualified topic URI |
| Method Summary | |
|---|---|
QName |
getQName()
|
QName |
getTopicQName()
Obtain short stream IDs for use with the DSB. |
String |
getTopicUri()
Obtain short stream IDs for use with the DSB. |
String |
getUri()
|
String |
toString()
|
static QName |
toTopicQName(QName streamId)
Obtain short stream IDs for use with the DSB. |
static String |
toTopicUri(String streamId)
Obtain short stream IDs for use with the DSB. |
static Stream |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Stream[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Stream FacebookStatusFeed
public static final Stream FacebookCepResults
public static final Stream PachubeFeed
public static final Stream TwitterFeed
public static final Stream SituationalEventStream
public static final Stream SituationalAlertEventStream
public static final Stream ActivityEventStream
public static final Stream ResourcesEventStream
public static final Stream ConsequenceEventStream
public static final Stream VisualizationEventStream
public static final Stream ESRRecom
public static final Stream SARRecom
public static final Stream VesselStream
public static final Stream ProximityInfoStream
public static final Stream TaxiUCCall
public static final Stream TaxiUCClic2Call
public static final Stream TaxiUCFaceBook
public static final Stream TaxiUCGeoLocation
public static final Stream TaxiUCTwitter
public static final Stream ContextualizedLatitudeFeed
public static final Stream TaxiUCESRRecom
public static final Stream TaxiUCESRRecomDcep
public static final Stream Friend_Geo_Event
public static final Stream TaxiUCAnswer
| Field Detail |
|---|
public static final String STREAM_ID_SUFFIX
public static final String STREAM_TITLE
public static final String STREAM_DESCRIPTION
public static final String STREAM_ICON
public static final String STREAM_TOPIC
public static final String STREAM_COMPLEXEVENTS
public static final String STREAM_DSBNEEDSTOSUBSCRIBE
| Method Detail |
|---|
public static Stream[] values()
for (Stream c : Stream.values()) System.out.println(c);
public static Stream valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic QName getQName()
public String getUri()
public String getTopicUri()
#stream suffix.
public static String toTopicUri(String streamId)
#stream suffix.
public QName getTopicQName()
#stream suffix.
public static QName toTopicQName(QName streamId)
#stream suffix.
public String toString()
toString in class Enum<Stream>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||