it.eng.rdlab.soa3.pm.connector.service.utils
Class Utils

java.lang.Object
  extended by it.eng.rdlab.soa3.pm.connector.service.utils.Utils

public class Utils
extends Object

Utilities

Author:
Ciro Formisano (ENG)

Constructor Summary
Utils()
           
 
Method Summary
static RuleJaxBean fromRuleBean(it.eng.rdlab.soa3.pm.connector.javaapi.beans.RuleBean ruleBean)
           
static ListRules fromRuleBeanList(List<it.eng.rdlab.soa3.pm.connector.javaapi.beans.RuleBean> beanList)
           
static it.eng.rdlab.soa3.pm.connector.javaapi.beans.RuleBean fromRuleJaxBean(RuleJaxBean ruleJaxBean)
           
static org.codehaus.jackson.map.ObjectMapper getMapper()
          Chooses JAXB as the annotation for the serialization/deserialization
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Utils

public Utils()
Method Detail

fromRuleBean

public static RuleJaxBean fromRuleBean(it.eng.rdlab.soa3.pm.connector.javaapi.beans.RuleBean ruleBean)
Parameters:
ruleBean -
Returns:

fromRuleJaxBean

public static it.eng.rdlab.soa3.pm.connector.javaapi.beans.RuleBean fromRuleJaxBean(RuleJaxBean ruleJaxBean)
Parameters:
ruleJaxBean -
Returns:

fromRuleBeanList

public static ListRules fromRuleBeanList(List<it.eng.rdlab.soa3.pm.connector.javaapi.beans.RuleBean> beanList)
Parameters:
beanList -
Returns:

getMapper

public static org.codehaus.jackson.map.ObjectMapper getMapper()
Chooses JAXB as the annotation for the serialization/deserialization

Returns:
mapper ObjectMapper

main

public static void main(String[] args)
                 throws org.codehaus.jackson.JsonGenerationException,
                        org.codehaus.jackson.map.JsonMappingException,
                        IOException
Throws:
org.codehaus.jackson.JsonGenerationException
org.codehaus.jackson.map.JsonMappingException
IOException


Copyright © 2013. All Rights Reserved.