code: @SuppressWarnings("unchecked")
      protected <T extends IEntity> Object getSerializableObject(T object) throws FMSException {
  
          Class<?> objectClass = object.getClass();
          String methodName = "create".concat(objectClass.getSimpleName());
          ObjectFactory objectEntity = new ObjectFactory();
          Class<?> objectEntityClass = objectEntity.getClass();
  
          Method method = null;
          try {
              method = objectEntityClass.getMethod(methodName, Class.forName(objectClass.getName()));
          } catch (Exception e) {
              LOG.error("Exception while prepare the method signature using reflection to generate JAXBElement", e);
              throw new FMSException("Exception while prepare the method signature using reflection to generate JAXBElement", e);
          }
          JAXBElement<? extends IEntity> jaxbElement = null;
          try {
              jaxbElement = (JAXBElement<? extends IEntity>) method.invoke(objectEntity, object);
          } catch (Exception e) {
              LOG.error("Exception while invoking the method using reflection to generate JAXBElement", e);
              throw new FMSException("Exception while prepare the method signature using reflection to generate JAXBElement", e);
          }
  
          return jaxbElement;
      }
docs: Method to get the serializable object for the given entity
  
  @param object
  the entity object
  @return Object the serializable object