com.neeve.toa.service
Class ToaServiceToRole

java.lang.Object
  extended by com.neeve.toa.service.ToaServiceToRole

public class ToaServiceToRole
extends Object

Modesl a TOA Service 'To' Role.

A 'To' Role groups a collection of messages to be sent by a role name.


Method Summary
 ToaServiceChannel getChannel(String fullMessageName)
          Returns the channel model for the given message.
 Collection<Class<? extends MessageView>> getMessageClasses()
          Returns the resolved message classes declared by this role.
 Collection<com.neeve.adm.AdmMessage> getMessages()
          Returns the messages declared by this role.
 String getName()
          Gets the role name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getName

public String getName()
Gets the role name.

Returns:
the role name;

getMessages

public Collection<com.neeve.adm.AdmMessage> getMessages()
Returns the messages declared by this role.

Returns:
The messages declared by the role.

getChannel

public ToaServiceChannel getChannel(String fullMessageName)
Returns the channel model for the given message.

Parameters:
fullMessageName - The fully qualified messages name.
Returns:
The the channel model for the given message or null if the role doesn't have such a message.

getMessageClasses

public Collection<Class<? extends MessageView>> getMessageClasses()
Returns the resolved message classes declared by this role.

Returns:
The resolved message classes declared by the role.


Copyright © 2016 Neeve Research, LLC. All Rights Reserved.