com.ebm_ws.infra.xmlmapping.utils
Class XmlMappings

java.lang.Object
  extended by com.ebm_ws.infra.xmlmapping.utils.XmlMappings

public class XmlMappings
extends java.lang.Object


Method Summary
 MappedField getCollectedMapping(java.lang.Class iClass)
           
 java.lang.reflect.Constructor getDefaultConstructor()
           
 MappedField getMappingByNameAndType(java.lang.String iName, int iType)
           
 XmlMappingException[] getMappingErrors()
           
static XmlMappings getMappings(java.lang.Class iClass, boolean iGetInherited)
          Returns the Xml Mappings for the given class.
 MappedField[] getMappings(int iTypes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getMappings

public static XmlMappings getMappings(java.lang.Class iClass,
                                      boolean iGetInherited)
Returns the Xml Mappings for the given class. This method allows to retreive all mappings from the whole class inheritance, or from the class only.

Parameters:
iClass - The class to extract Xml Mappings from.
iGetInherited - if true, the method will return mappings declared anywhere in the class inheritance graph, Otherwise will return mappings declared in this class only.
Returns:
An object that contains Xml Mappings

getDefaultConstructor

public java.lang.reflect.Constructor getDefaultConstructor()

getMappingErrors

public XmlMappingException[] getMappingErrors()

getMappings

public MappedField[] getMappings(int iTypes)

getMappingByNameAndType

public MappedField getMappingByNameAndType(java.lang.String iName,
                                           int iType)

getCollectedMapping

public MappedField getCollectedMapping(java.lang.Class iClass)


Copyright © 2008 eBMWebsourcing. All Rights Reserved.