Log4j 1.1

pl.psnc.expres.remote.helper
Class RemoteHelper

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

public class RemoteHelper
extends java.lang.Object

RemoteHelper class - remote helper class for axis stubs

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

Constructor Summary
RemoteHelper()
           
 
Method Summary
static ChunkInfo getChunkInfo(ChunkInfo xsdChunkInfo)
          Get new instance of ChunkInfo based on xsd representation
static MessageHeader getMessageHeader(MessageHeader xsdMHeader)
          Get new instance of MessageHeader based on xsd representation
static StartVlbiExperiment getNewVlbiExperiment(VlbiExperiment vlbiExperiment)
          Creates a new instance of NewVlbiExperiment based on given VlbiExperiment
static ChunkInfo getXsdChunkInfo(ChunkInfo chunkInfo)
          Creates a new instance of xsd representation of ChunkInfo based on VLBI Experiment
static MessageHeader getXsdMessageHeader(MessageHeader header)
          Creates a new instance of xsd representation of MessageHeader
static MessageHeader getXsdMessageHeader(MessageHeader header, java.lang.String callBack, Sender senderCode)
          Creates a new instance of xsd representation of MessageHeader
static MessageHeader getXsdMessageHeader(VlbiExperiment vExperiment, java.lang.String callBackLocation)
          Creates a new instance of xsd representation of MessageHeader based on VLBI Experiment
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteHelper

public RemoteHelper()
Method Detail

getNewVlbiExperiment

public static StartVlbiExperiment getNewVlbiExperiment(VlbiExperiment vlbiExperiment)
                                                throws com.sdicons.json.mapper.MapperException
Creates a new instance of NewVlbiExperiment based on given VlbiExperiment

Parameters:
vlbiExperiment - instance of VlbiExperiment
Returns:
new instance of NewVlbiExperiment
Throws:
com.sdicons.json.mapper.MapperException

getXsdMessageHeader

public static MessageHeader getXsdMessageHeader(VlbiExperiment vExperiment,
                                                java.lang.String callBackLocation)
Creates a new instance of xsd representation of MessageHeader based on VLBI Experiment

Parameters:
vExperiment - instance of VLBI Experiment
callBackLocation - address of the call back service
Returns:
new instance of xsd representation of MessageHeader

getXsdMessageHeader

public static MessageHeader getXsdMessageHeader(MessageHeader header)
Creates a new instance of xsd representation of MessageHeader

Parameters:
header - instance of model MessageHeader
Returns:
new instance of xsd representation of MessageHeader

getXsdMessageHeader

public static MessageHeader getXsdMessageHeader(MessageHeader header,
                                                java.lang.String callBack,
                                                Sender senderCode)
Creates a new instance of xsd representation of MessageHeader

Parameters:
header - instance of model MessageHeader
callBack - specifies a location of the service where return message should be sent
senderCode - sender identifier, unique string or abbreviation
Returns:
new instance of xsd representation of MessageHeader

getMessageHeader

public static MessageHeader getMessageHeader(MessageHeader xsdMHeader)
Get new instance of MessageHeader based on xsd representation

Parameters:
xsdMHeader - xsd representation of MessageHeader
Returns:
new instance of MessageHeader based on xsd representation

getXsdChunkInfo

public static ChunkInfo getXsdChunkInfo(ChunkInfo chunkInfo)
Creates a new instance of xsd representation of ChunkInfo based on VLBI Experiment

Parameters:
chunkInfo - info
Returns:
new instance of xsd representation of ChunkInfo

getChunkInfo

public static ChunkInfo getChunkInfo(ChunkInfo xsdChunkInfo)
Get new instance of ChunkInfo based on xsd representation

Parameters:
xsdChunkInfo - xsd representation of ChunkInfo
Returns:
new instance of ChunkInfo based in xsd representation

Log4j 1.1

Copyright 2007-2008 by VLAB