com.ebmwebsourcing.wsstar.topics.datatypes.impl.utils
Class WstopUtils

java.lang.Object
  extended by com.ebmwebsourcing.wsstar.topics.datatypes.impl.utils.WstopUtils

public final class WstopUtils
extends java.lang.Object


Field Summary
static java.lang.String PERSISTENCE_EXCEPETION_MSG
           
 
Method Summary
static com.ebmwebsourcing.wsstar.topics.datatypes.api.abstraction.TopicSetType fromJaxbModelTopicSetToApiTopicSet(TopicSetType jaxbModelTopicSet, java.lang.Class<?> clazz)
          a very useful method that convert an "TopicSetType" Object from TopicSetType to TopicSetType
static TopicNamespaceType.Topic fromJaxbModelTopicTypeToJaxbModelTopicNamespaceTypeTopic(TopicType jaxbModelTopicType, java.lang.Class<?> clazz)
          a very useful method that convert a TopicType to a TopicNamespaceType.Topic one
static java.lang.String getBindingExMessage(java.lang.Object instance)
          provide a "generic" message content for Binding Exception
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PERSISTENCE_EXCEPETION_MSG

public static final java.lang.String PERSISTENCE_EXCEPETION_MSG
See Also:
Constant Field Values
Method Detail

fromJaxbModelTopicSetToApiTopicSet

public static com.ebmwebsourcing.wsstar.topics.datatypes.api.abstraction.TopicSetType fromJaxbModelTopicSetToApiTopicSet(TopicSetType jaxbModelTopicSet,
                                                                                                                         java.lang.Class<?> clazz)
a very useful method that convert an "TopicSetType" Object from TopicSetType to TopicSetType

Parameters:
jaxbModelTopicSet - the object to convert
clazz - class call originator
Returns:

fromJaxbModelTopicTypeToJaxbModelTopicNamespaceTypeTopic

public static TopicNamespaceType.Topic fromJaxbModelTopicTypeToJaxbModelTopicNamespaceTypeTopic(TopicType jaxbModelTopicType,
                                                                                                java.lang.Class<?> clazz)
a very useful method that convert a TopicType to a TopicNamespaceType.Topic one

Parameters:
jaxbModelTopicSet - the object to convert
clazz - class call originator
Returns:

getBindingExMessage

public static java.lang.String getBindingExMessage(java.lang.Object instance)
provide a "generic" message content for Binding Exception

Parameters:
instance - the Object that can not be marshalled
Returns:
a string that represent a generic Exception message


Copyright © 2010-2011 eBM Websourcing. All Rights Reserved.