// Path: src/main/java/com/modelsolv/kaboom/model/canonical/CDMReferenceProperty.java
// public interface CDMReferenceProperty extends CDMProperty, ReadableCDMReferenceProperty {
// 	
// 	public void setTargetDataType(CanonicalDataType type);
// 	
// 	public CDMReferenceProperty withTargetDataType(CanonicalDataType type);
// 	
// 	public void setInverseProperty(CDMReferenceProperty inverse);
// 	
// 	public CDMReferenceProperty withInverseProperty(CDMReferenceProperty inverse);
// 
// }
// 
// Path: src/main/java/com/modelsolv/kaboom/model/resource/ReferenceEmbed.java
// public interface ReferenceEmbed extends RDMReferenceProperty {
// 
// 	/**
// 	 * Returns the resource data model for the embedded data type.
// 	 * 
// 	 * @return
// 	 */
// 	public ResourceDataModel getEmbeddedModel();
// 
// 	public void setEmbeddedDataModel(ResourceDataModel rdm);
// 	
// 	public ReferenceEmbed withEmbeddedDataModel(ResourceDataModel rdm);
// }
// 
// Path: src/main/java/com/modelsolv/kaboom/model/resource/ResourceDataModel.java
// public interface ResourceDataModel {
// 
// 	public CanonicalDataType getCanonicalDataType();
// 
// 	public void setCanonicalDataType(CanonicalDataType type);
// 
// 	public ResourceDataModel withCanonicalDataType(CanonicalDataType type);
// 
// 	public Iterable<RDMProperty> getIncludedProperties();
// 
// 	// Add a list of CDM properties from the CanonicalDataType
// 	public ResourceDataModel includingProperties(CDMProperty... properties);
// 
// 	public ResourceDataModel includingProperties(String... properties);
// 
// 	// Add Primitive Property from CDM Property
// 	public RDMPrimitiveProperty addPrimitiveProperty(
// 			CDMPrimitiveProperty property);
// 
// 	// Add Primitive Property directly, chainable, builder style
// 	public ResourceDataModel withPrimitiveProperty(
// 			RDMPrimitiveProperty property);
// 
// 	// Add ReferenceLink from CDMReferenceProperty
// 	public ReferenceLink addReferenceLink(CDMReferenceProperty property);
// 
// 	// Add ReferenceLink Directly, chainable, builder style
// 	public ResourceDataModel withReferenceLink(ReferenceLink refLink);
// 
// 	// Add ReferenceEmbed from CDMReferenceProperty
// 	public ReferenceEmbed addReferenceEmbed(CDMReferenceProperty property);
// 
// 	// Add ReferenceEmbed Directly, chainable, builder style
// 	public ResourceDataModel withReferenceEmbed(ReferenceEmbed refEmbed);
// }


import com.modelsolv.kaboom.model.canonical.CDMReferenceProperty;
import com.modelsolv.kaboom.model.resource.ReferenceEmbed;
import com.modelsolv.kaboom.model.resource.ResourceDataModel;
/*******************************************************************************
 * Copyright (c) 2014 ModelSolv, Inc. and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     ModelSolv, Inc. - initial API and implementation.
 *******************************************************************************/
package com.modelsolv.kaboom.model.resource.nativeImpl;


public class ReferenceEmbedImpl extends RDMReferencePropertyImpl implements
		ReferenceEmbed {

	private ResourceDataModel targetRDM;

	public ReferenceEmbedImpl(CDMReferenceProperty cdmProperty) {
		super(cdmProperty);
	}

	@Override
// Path: src/main/java/com/modelsolv/kaboom/model/canonical/CDMReferenceProperty.java
// public interface CDMReferenceProperty extends CDMProperty, ReadableCDMReferenceProperty {
// 	
// 	public void setTargetDataType(CanonicalDataType type);
// 	
// 	public CDMReferenceProperty withTargetDataType(CanonicalDataType type);
// 	
// 	public void setInverseProperty(CDMReferenceProperty inverse);
// 	
// 	public CDMReferenceProperty withInverseProperty(CDMReferenceProperty inverse);
// 
// }
// 
// Path: src/main/java/com/modelsolv/kaboom/model/resource/ReferenceEmbed.java
// public interface ReferenceEmbed extends RDMReferenceProperty {
// 
// 	/**
// 	 * Returns the resource data model for the embedded data type.
// 	 * 
// 	 * @return
// 	 */
// 	public ResourceDataModel getEmbeddedModel();
// 
// 	public void setEmbeddedDataModel(ResourceDataModel rdm);
// 	
// 	public ReferenceEmbed withEmbeddedDataModel(ResourceDataModel rdm);
// }
// 
// Path: src/main/java/com/modelsolv/kaboom/model/resource/ResourceDataModel.java
// public interface ResourceDataModel {
// 
// 	public CanonicalDataType getCanonicalDataType();
// 
// 	public void setCanonicalDataType(CanonicalDataType type);
// 
// 	public ResourceDataModel withCanonicalDataType(CanonicalDataType type);
// 
// 	public Iterable<RDMProperty> getIncludedProperties();
// 
// 	// Add a list of CDM properties from the CanonicalDataType
// 	public ResourceDataModel includingProperties(CDMProperty... properties);
// 
// 	public ResourceDataModel includingProperties(String... properties);
// 
// 	// Add Primitive Property from CDM Property
// 	public RDMPrimitiveProperty addPrimitiveProperty(
// 			CDMPrimitiveProperty property);
// 
// 	// Add Primitive Property directly, chainable, builder style
// 	public ResourceDataModel withPrimitiveProperty(
// 			RDMPrimitiveProperty property);
// 
// 	// Add ReferenceLink from CDMReferenceProperty
// 	public ReferenceLink addReferenceLink(CDMReferenceProperty property);
// 
// 	// Add ReferenceLink Directly, chainable, builder style
// 	public ResourceDataModel withReferenceLink(ReferenceLink refLink);
// 
// 	// Add ReferenceEmbed from CDMReferenceProperty
// 	public ReferenceEmbed addReferenceEmbed(CDMReferenceProperty property);
// 
// 	// Add ReferenceEmbed Directly, chainable, builder style
// 	public ResourceDataModel withReferenceEmbed(ReferenceEmbed refEmbed);
// }


// Path: src/main/java/com/modelsolv/kaboom/model/resource/nativeImpl/ReferenceEmbedImpl.java
import com.modelsolv.kaboom.model.canonical.CDMReferenceProperty;
import com.modelsolv.kaboom.model.resource.ReferenceEmbed;
import com.modelsolv.kaboom.model.resource.ResourceDataModel;

/*******************************************************************************
 * Copyright (c) 2014 ModelSolv, Inc. and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     ModelSolv, Inc. - initial API and implementation.
 *******************************************************************************/
package com.modelsolv.kaboom.model.resource.nativeImpl;


public class ReferenceEmbedImpl extends RDMReferencePropertyImpl implements
		ReferenceEmbed {

	private ResourceDataModel targetRDM;

	public ReferenceEmbedImpl(CDMReferenceProperty cdmProperty) {
		super(cdmProperty);
	}

	@Override
	public ResourceDataModel getEmbeddedModel() {