Style Intelligence v12.0

inetsoft.sree.soap
Class ObjectTranslator

java.lang.Object
  extended by inetsoft.sree.soap.ObjectTranslator

public class ObjectTranslator
extends Object

A utility class for the translation of objects.


Constructor Summary
ObjectTranslator()
           
 
Method Summary
static ArchiveAction toArchiveAction(inetsoft.sree.soap.schedule.ArchiveActionStruct struct)
          Get an ArchiveAction from an ArchiveActionStruct
static inetsoft.sree.soap.schedule.ArchiveActionStruct toArchiveActionStruct(ArchiveAction action)
          Get an ArchiveAction from an ArchiveActionStruct
static ArchiveRule toArchiveRule(inetsoft.sree.soap.store.ArchiveRuleStruct struct)
          Get an ArchiveRule from an ArchiveRuleStruct.
static inetsoft.sree.soap.store.ArchiveRuleStruct toArchiveRuleStruct(ArchiveRule rule)
          Get an ArchiveRuleStruct from an ArchiveRule.
static inetsoft.sree.dataserv.AssetMetaData toAssetMetaData(XTableStruct struct)
          Convert a SOAP serializable XTableStruct to a AssetMetaData.
static CompletionCondition toCompletionCondition(inetsoft.sree.soap.schedule.CompletionConditionStruct struct)
          Get a CompletionCondition from a CompletionConditionStruct.
static inetsoft.sree.soap.schedule.CompletionConditionStruct toCompletionConditionStruct(CompletionCondition cond)
          Get a CompletionConditionStruct from a CompletionCondition.
static Permission toPermission(inetsoft.sree.soap.security.PermissionStruct struct)
          Get a Permission from a PermissionStruct.
static inetsoft.sree.soap.security.PermissionStruct toPermissionStruct(Permission perm)
          Get a PermissionStruct from a Permission.
static RepletAction toRepletAction(inetsoft.sree.soap.schedule.RepletActionStruct struct)
          Get a RepletAction from a RepletActionStruct
static inetsoft.sree.soap.schedule.RepletActionStruct toRepletActionStruct(RepletAction action)
          Get a RepletActionStruct from a RepletAction.
static RepletParametersStruct toRepletParametersStruct(RepletParameters parameters)
          Convert a RepletParameters object to RepletParametersStruct
static RepletRequest toRepletRequest(RepletRequestStruct struct)
          Get a RepletRequest from a RepletRequestStruct.
static RepletRequestStruct toRepletRequestStruct(RepletRequest req)
          Get a RepletRequestStruct from a RepletRequest
static RepositoryEntry toRepositoryEntry(RepositoryEntryStruct struct)
          Get a RepositoryEntry from a RepositoryEntryStruct.
static RepositoryEntryStruct toRepositoryEntryStruct(RepositoryEntry entry)
          Get a RepositoryEntryStruct from a RepositoryEntry.
static ScheduleTask toScheduleTask(inetsoft.sree.soap.schedule.ScheduleTaskStruct struct)
           
static inetsoft.sree.soap.schedule.ScheduleTaskStruct toScheduleTaskStruct(ScheduleTask task)
          Get a ScheduleTaskStruct from a ScheduleTask.
static TimeCondition toTimeCondition(inetsoft.sree.soap.schedule.TimeConditionStruct struct)
          Get a TimeCondition from a TimeConditionStruct.
static inetsoft.sree.soap.schedule.TimeConditionStruct toTimeConditionStruct(TimeCondition cond)
          Get a TimeConditionStruct from a TimeCondition.
static UserVariable toUserVariable(UserVariableStruct struct)
          Convert a SOAP serializable UserVariableStruct to a UserVariable object.
static UserVariableStruct toUserVariableStruct(UserVariable var)
          Convert a UserVariable object to a SOAP serializable UserVariableStruct.
static VariableTable toVariableTable(VariableTableStruct struct)
          Convert a SOAP serializable struct to a VariableTable object.
static VariableTableStruct toVariableTableStruct(VariableTable table)
          Convert a VariableTable object to a SOAP serializable struct.
static inetsoft.util.XMLSerializable toXMLSerializable(XMLSerializableStruct struct)
          Convert a SOAP serializable XMLSerializableStruct to a XMLSerializable object.
static XMLSerializableStruct toXMLSerializableStruct(inetsoft.util.XMLSerializable xml)
          Convert a XMLSerializable object to a SOAP serializable XMLSerializableStruct.
static XTable toXTable(XTableStruct struct)
          Convert a SOAP serializable XTableStruct to a XTable object.
static XTableStruct toXTableStruct(inetsoft.sree.dataserv.AssetMetaData data)
          Convert a AssetMetaData object to a SOAP serializable XTableStruct.
static XTableStruct toXTableStruct(XTable table)
          Convert a XTable object to a SOAP serializable XTable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectTranslator

public ObjectTranslator()
Method Detail

toArchiveRule

public static ArchiveRule toArchiveRule(inetsoft.sree.soap.store.ArchiveRuleStruct struct)
Get an ArchiveRule from an ArchiveRuleStruct.

Parameters:
struct - The ArchiveRuleStruct from which to derive the ArchiveRule from.
Returns:
an ArchiveRule translated from the specified ArchiveRuleStruct.

toArchiveRuleStruct

public static inetsoft.sree.soap.store.ArchiveRuleStruct toArchiveRuleStruct(ArchiveRule rule)
Get an ArchiveRuleStruct from an ArchiveRule.

Parameters:
rule - The ArchiveRule from which to derive the ArchiveRuleStruct from.
Returns:
an ArchiveRuleStruct translated from the specified ArchiveRule.

toScheduleTask

public static ScheduleTask toScheduleTask(inetsoft.sree.soap.schedule.ScheduleTaskStruct struct)

toScheduleTaskStruct

public static inetsoft.sree.soap.schedule.ScheduleTaskStruct toScheduleTaskStruct(ScheduleTask task)
Get a ScheduleTaskStruct from a ScheduleTask.

Parameters:
task - The ScheduleTask from which to derive the ScheduleTaskStruct from.
Returns:
a ScheduleTaskStruct translated from a ScheduleTask.

toArchiveAction

public static ArchiveAction toArchiveAction(inetsoft.sree.soap.schedule.ArchiveActionStruct struct)
Get an ArchiveAction from an ArchiveActionStruct

Parameters:
struct - The ArchiveActionStruct from which to derive the ArchiveAction from.
Returns:
an ArchiveAction translated from ArchiveActionStruct

toArchiveActionStruct

public static inetsoft.sree.soap.schedule.ArchiveActionStruct toArchiveActionStruct(ArchiveAction action)
Get an ArchiveAction from an ArchiveActionStruct

Parameters:
action - The ArchiveAction from which to derive the ArchiveActionStruct from.
Returns:
an ArchiveActionStruct translated from ArchiveAction

toRepletAction

public static RepletAction toRepletAction(inetsoft.sree.soap.schedule.RepletActionStruct struct)
Get a RepletAction from a RepletActionStruct

Parameters:
struct - The RepletActionStruct from which to derive the RepletAction from.
Returns:
a RepletAction translated from RepletActionStruct

toRepletActionStruct

public static inetsoft.sree.soap.schedule.RepletActionStruct toRepletActionStruct(RepletAction action)
Get a RepletActionStruct from a RepletAction.

Parameters:
action - The RepletAction from which to derive the RepletActionStruct from.
Returns:
a RepletActionStruct translated from RepletAction

toTimeCondition

public static TimeCondition toTimeCondition(inetsoft.sree.soap.schedule.TimeConditionStruct struct)
Get a TimeCondition from a TimeConditionStruct.

Parameters:
struct - The TimeConditionStruct from which to derive the TimeCondition from.
Returns:
a TimeCondition translated from TimeConditionStruct

toTimeConditionStruct

public static inetsoft.sree.soap.schedule.TimeConditionStruct toTimeConditionStruct(TimeCondition cond)
Get a TimeConditionStruct from a TimeCondition.

Parameters:
cond - The TimeCondition from which to derive the TimeConditionStruct from.
Returns:
a TimeConditionStruct translated from TimeCondition.

toCompletionCondition

public static CompletionCondition toCompletionCondition(inetsoft.sree.soap.schedule.CompletionConditionStruct struct)
Get a CompletionCondition from a CompletionConditionStruct.

Parameters:
struct - The CompletionConditionStruct from which to derive the CompletionCondition from.
Returns:
a CompletionCondition translated from Completion ConditionStruct.

toCompletionConditionStruct

public static inetsoft.sree.soap.schedule.CompletionConditionStruct toCompletionConditionStruct(CompletionCondition cond)
Get a CompletionConditionStruct from a CompletionCondition.

Parameters:
cond - The CompletionCondition from which to derive the CompletionConditionStruct from.
Returns:
a CompletionConditionStruct translated from CompletionCondition.

toPermission

public static Permission toPermission(inetsoft.sree.soap.security.PermissionStruct struct)
Get a Permission from a PermissionStruct.

Parameters:
struct - The PermissionStruct from which to derive the Permission from.
Returns:
a Permission translated from PermissionStruct

toPermissionStruct

public static inetsoft.sree.soap.security.PermissionStruct toPermissionStruct(Permission perm)
Get a PermissionStruct from a Permission.

Parameters:
perm - The Permission from which to derive the PermissionStruct from.
Returns:
a PermissionStruct translated from Permission

toRepletRequest

public static RepletRequest toRepletRequest(RepletRequestStruct struct)
Get a RepletRequest from a RepletRequestStruct.

Parameters:
struct - The RepletRequestStruct from which to derive the RepletRequest from.
Returns:
a RepletRequest translated from RepletRequestStruct

toRepletRequestStruct

public static RepletRequestStruct toRepletRequestStruct(RepletRequest req)
Get a RepletRequestStruct from a RepletRequest

Parameters:
req - The RepletRequest from which to derive the RepletRequestStruct from.
Returns:
a RepletRequestStruct translated from RepletRequest

toRepositoryEntryStruct

public static RepositoryEntryStruct toRepositoryEntryStruct(RepositoryEntry entry)
Get a RepositoryEntryStruct from a RepositoryEntry.


toRepositoryEntry

public static RepositoryEntry toRepositoryEntry(RepositoryEntryStruct struct)
Get a RepositoryEntry from a RepositoryEntryStruct.


toUserVariable

public static UserVariable toUserVariable(UserVariableStruct struct)
Convert a SOAP serializable UserVariableStruct to a UserVariable object.


toUserVariableStruct

public static UserVariableStruct toUserVariableStruct(UserVariable var)
Convert a UserVariable object to a SOAP serializable UserVariableStruct.


toAssetMetaData

public static inetsoft.sree.dataserv.AssetMetaData toAssetMetaData(XTableStruct struct)
Convert a SOAP serializable XTableStruct to a AssetMetaData.


toXTableStruct

public static XTableStruct toXTableStruct(inetsoft.sree.dataserv.AssetMetaData data)
Convert a AssetMetaData object to a SOAP serializable XTableStruct.


toXMLSerializable

public static inetsoft.util.XMLSerializable toXMLSerializable(XMLSerializableStruct struct)
Convert a SOAP serializable XMLSerializableStruct to a XMLSerializable object.


toXMLSerializableStruct

public static XMLSerializableStruct toXMLSerializableStruct(inetsoft.util.XMLSerializable xml)
Convert a XMLSerializable object to a SOAP serializable XMLSerializableStruct.


toXTable

public static XTable toXTable(XTableStruct struct)
Convert a SOAP serializable XTableStruct to a XTable object.


toXTableStruct

public static XTableStruct toXTableStruct(XTable table)
Convert a XTable object to a SOAP serializable XTable.


toVariableTable

public static VariableTable toVariableTable(VariableTableStruct struct)
Convert a SOAP serializable struct to a VariableTable object.


toVariableTableStruct

public static VariableTableStruct toVariableTableStruct(VariableTable table)
Convert a VariableTable object to a SOAP serializable struct.

Parameters:
table - the object to convert.
Returns:
the converted structure.

toRepletParametersStruct

public static RepletParametersStruct toRepletParametersStruct(RepletParameters parameters)
Convert a RepletParameters object to RepletParametersStruct


Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved.