Package org.apache.tuscany.sdo

Examples of org.apache.tuscany.sdo.SimpleAnyTypeDataObject


   * @param value the instance value.
   * @return a DataObject wrapper for the specified value.
   */
  public static DataObject createDataTypeWrapper(Type dataType, Object value)
  {
    SimpleAnyTypeDataObject simpleAnyType = SDOFactory.eINSTANCE.createSimpleAnyTypeDataObject();
    simpleAnyType.setInstanceType((EDataType)dataType);
    simpleAnyType.setValue(value);
    return simpleAnyType;
  }
View Full Code Here


   * @param value the instance value.
   * @return a DataObject wrapper for the specified value.
   */
  public static DataObject createDataTypeWrapper(Type dataType, Object value)
  {
    SimpleAnyTypeDataObject simpleAnyType = SDOFactory.eINSTANCE.createSimpleAnyTypeDataObject();
    simpleAnyType.setInstanceType((EDataType)dataType);
    simpleAnyType.setValue(value);
    return simpleAnyType;
  }
View Full Code Here

import commonj.sdo.impl.HelperProvider;

public class SDOHelperImpl extends SDOHelperBase implements SDOHelper, SDOHelper.MetaDataBuilder {
 
  public DataObject createDataTypeWrapper(Type dataType, Object value) {
        SimpleAnyTypeDataObject simpleAnyType = SDOFactory.eINSTANCE.createSimpleAnyTypeDataObject();
        simpleAnyType.setInstanceType((EDataType)dataType);
        simpleAnyType.setValue(value);
        return simpleAnyType;
    }
View Full Code Here

   * @param value the instance value.
   * @return a DataObject wrapper for the specified value.
   */
  public static DataObject createDataTypeWrapper(Type dataType, Object value)
  {
    SimpleAnyTypeDataObject simpleAnyType = SDOFactory.eINSTANCE.createSimpleAnyTypeDataObject();
    simpleAnyType.setInstanceType((EDataType)dataType);
    simpleAnyType.setValue(value);
    return simpleAnyType;
  }
View Full Code Here

import commonj.sdo.helper.HelperContext;
import commonj.sdo.helper.TypeHelper;

public class SDOHelperImpl extends SDOHelperBase implements SDOHelper, SDOHelper.MetaDataBuilder {
    public DataObject createDataTypeWrapper(Type dataType, Object value) {
        SimpleAnyTypeDataObject simpleAnyType = SDOFactory.eINSTANCE.createSimpleAnyTypeDataObject();
        simpleAnyType.setInstanceType((EDataType)dataType);
        simpleAnyType.setValue(value);
        return simpleAnyType;
    }
View Full Code Here

TOP

Related Classes of org.apache.tuscany.sdo.SimpleAnyTypeDataObject

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.