Skip to content

DTO and manager classes guidelines

Mujahid Daud Khan edited this page Aug 20, 2022 · 2 revisions

DTO Naming convention

Manager classes naming convention

attribute type helper collection converter handler info provider exception service element manager node option factory context item designer base editor

###Example:

new ServiceExecutionJoinPoint(
  DistributedQueryAnalyzer.forwardQueryResult(
    NotificationSchemaManager.getAbstractSchemaMapper(
      new PublishSubscribeNotificationSchema()).getSchemaProxy().
        executePublishSubscribeQueryPlan(
          NotificationSchema.ALERT,
          new NotificationSchemaPriority(SchemaPriority.MAX_PRIORITY),
          new PublisherMessage(MessageFactory.getAbstractMessage(
            MessageType.WRITTEN,
            new MessageTransport(MessageTransportType.WOUNDED_SURVIVOR),
            new MessageSessionDestination(
              DestinationManager.getNullDestinationForQueryPlan()))),
          DistributedWarMachine.getPartyRoleManager().getRegisteredParties(
            PartyRoleManager.PARTY_KING ||
            PartyRoleManager.PARTY_GENERAL ||
            PartyRoleManager.PARTY_AMBASSADOR)).getQueryResult(),
    PriorityMessageDispatcher.getPriorityDispatchInstance())).
  waitForService();

Clone this wiki locally