Log4j 1.1

pl.psnc.expres.remote.helper
Class NotificationHelper

java.lang.Object
  extended by pl.psnc.expres.remote.helper.NotificationHelper

public abstract class NotificationHelper
extends java.lang.Object

NotificationHelper class - set of utility classes for translation node notification conversions.

Author:
Dominik Stoklosa (~osa~), Mateusz Pabis
Email address
osa@man.poznan.pl, mateusz.pabis@man.poznan.pl

Constructor Summary
NotificationHelper()
           
 
Method Summary
static Notification getNotification(Notification xsdNotification)
          Create new instance of Notification based on given xsd representation of that class
static Notification getNotification(Update xsdUpdate)
          Create new instance of Notification based on given xsd representation of Update
static State getState(State xsdState)
          Create new instance of State based on given xsd representation of that class
static Notification getXsdNotification(Notification notification)
          Create new XSD instance of Notification based on given representation of that class
static State getXsdState(State state)
          Creates new instance of xsd representation of the given state enum
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotificationHelper

public NotificationHelper()
Method Detail

getXsdState

public static State getXsdState(State state)
Creates new instance of xsd representation of the given state enum

Parameters:
state - instance of State
Returns:
new instance of xsd representation of the given state enum

getNotification

public static Notification getNotification(Update xsdUpdate)
Create new instance of Notification based on given xsd representation of Update

Parameters:
xsdNotification - xsd representation of Notification class
Returns:
new instance of Notification based on given xsd representation of Update class

getNotification

public static Notification getNotification(Notification xsdNotification)
Create new instance of Notification based on given xsd representation of that class

Parameters:
xsdNotification - xsd representation of Notification class
Returns:
new instance of Notification based on given xsd representation of that class

getXsdNotification

public static Notification getXsdNotification(Notification notification)
Create new XSD instance of Notification based on given representation of that class

Parameters:
notification - representation of Notification class
Returns:
new instance XSD of Notification based on given it's representation

getState

public static State getState(State xsdState)
Create new instance of State based on given xsd representation of that class

Parameters:
xsdState - instance of xsd representation of State
Returns:
new instance of State based on given xsd representation

Log4j 1.1

Copyright 2007-2008 by VLAB