Package com.here.platform.location.tpeg2
Class Tpeg2Messages<A,M>
java.lang.Object
com.here.platform.location.tpeg2.Tpeg2Messages<A,M>
A facade for application messages and the contained location references.
It allows filtering by reference type as well as by application type.
param: messages The underlying message facades.
-
Constructor Summary
ConstructorsConstructorDescriptionTpeg2Messages
(List<Tpeg2MessageView<A, M>> referencesByMessage) Tpeg2Messages
(scala.collection.Seq<Tpeg2MessageView<A, M>> messages) -
Method Summary
Modifier and TypeMethodDescriptionscala.collection.Seq<A>
Returns the application messages in this message object.apply
(TPEGDocument document) Create `Tpeg2Messages`-facade for the givenTransportFrame
s.apply
(scala.collection.Seq<TransportFrame> transportFrames) Create `Tpeg2Messages`-facade for the the givenTransportFrame
s.asList()
Returns the message facades for the application messages in this object.create
(TPEGDocument document) Create `Tpeg2Messages`-facade for the givenTransportFrame
s.create
(Iterator<TransportFrame> transportFrames) Create `Tpeg2Messages`-facade for the the givenTransportFrame
s.<A2 extends ApplicationRootMessageML>
Tpeg2Messages<A2,M> filterByApplication
(Class<A2> appClass) Returns messages object that only contains messages of the classappClass
.<A2 extends ApplicationRootMessageML>
Tpeg2Messages<A2,M> filterByApplication
(scala.reflect.ClassTag<A2> evidence$1) Returns messages object that only contains messages of the typeA2
.<M2 extends Method>
Tpeg2Messages<A,M2> filterByLocationReferencingMethod
(Class<M2> methodClass) Returns messages object that only contains application messages that have a location reference of themethodClass
referencing method.Returns messages object that only contains application messages that have an Extended TMC reference.<M2 extends Method>
Tpeg2Messages<A,M2> filterHavingLocationReferencingMethod
(scala.reflect.ClassTag<M2> evidence$2) Returns messages object that only contains application messages that have a location reference of theM2
referencing method.Returns messages object that only contains application messages that have a OLR reference.Returns messages object that only contains application messages that have a TMC reference.Returns messages object that only contains TEC messages.Returns messages object that only contains TFP messages.Returns the application messages in this message object.scala.collection.Seq<Tpeg2MessageView<A,
M>> toSeq()
-
Constructor Details
-
Tpeg2Messages
-
Tpeg2Messages
-
-
Method Details
-
apply
public static Tpeg2Messages<ApplicationRootMessageML,Method> apply(scala.collection.Seq<TransportFrame> transportFrames) Create `Tpeg2Messages`-facade for the the givenTransportFrame
s. -
create
public static Tpeg2Messages<ApplicationRootMessageML,Method> create(Iterator<TransportFrame> transportFrames) Create `Tpeg2Messages`-facade for the the givenTransportFrame
s. -
create
Create `Tpeg2Messages`-facade for the givenTransportFrame
s. -
apply
Create `Tpeg2Messages`-facade for the givenTransportFrame
s. -
filterByApplication
public <A2 extends ApplicationRootMessageML> Tpeg2Messages<A2,M> filterByApplication(Class<A2> appClass) Returns messages object that only contains messages of the classappClass
. -
filterByApplication
public <A2 extends ApplicationRootMessageML> Tpeg2Messages<A2,M> filterByApplication(scala.reflect.ClassTag<A2> evidence$1) Returns messages object that only contains messages of the typeA2
. -
filterTecMessages
Returns messages object that only contains TEC messages. -
filterTfpMessages
Returns messages object that only contains TFP messages. -
filterByLocationReferencingMethod
public <M2 extends Method> Tpeg2Messages<A,M2> filterByLocationReferencingMethod(Class<M2> methodClass) Returns messages object that only contains application messages that have a location reference of themethodClass
referencing method. Other methods in those application messages are also filtered out. -
filterHavingLocationReferencingMethod
public <M2 extends Method> Tpeg2Messages<A,M2> filterHavingLocationReferencingMethod(scala.reflect.ClassTag<M2> evidence$2) Returns messages object that only contains application messages that have a location reference of theM2
referencing method. Other methods in those application messages are also filtered out. -
filterHavingOlrReferences
Returns messages object that only contains application messages that have a OLR reference. Other types of references in the selected messages are also filtered out. -
filterHavingTmcReferences
Returns messages object that only contains application messages that have a TMC reference. Other types of references in the selected messages are also filtered out. -
filterHavingExtendedTmcReferences
Returns messages object that only contains application messages that have an Extended TMC reference. Other types of references in the selected messages are also filtered out. -
applicationMessages
Returns the application messages in this message object. -
getApplicationMessages
Returns the application messages in this message object. -
toSeq
-
asList
Returns the message facades for the application messages in this object.
-