/*******************************************************************************
* Copyright (c) 2006-2013 The RCP Company 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:
* The RCP Company - initial API and implementation
*******************************************************************************/
package com.rcpcompany.uibindings.internal;
import java.util.HashMap;
import java.util.Map;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.impl.EObjectImpl;
import com.rcpcompany.uibindings.IModelInfo;
import com.rcpcompany.uibindings.IUIBindingsPackage;
/**
* <!-- begin-user-doc --> An implementation of the model object '<em><b>Model Info</b></em>'. <!--
* end-user-doc -->
* <p>
* </p>
*
* @generated
*/
public class ModelInfoImpl extends EObjectImpl implements IModelInfo {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
public ModelInfoImpl() {
super();
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@Override
protected EClass eStaticClass() {
return IUIBindingsPackage.Literals.MODEL_INFO;
}
private Map<String, Object> myDeclaredArguments = null;
@Override
public Map<String, Object> getArguments() {
if (myDeclaredArguments == null) {
myDeclaredArguments = new HashMap<String, Object>();
}
return myDeclaredArguments;
}
@Override
public boolean hasArguments() {
return myDeclaredArguments != null;
}
} // ModelInfoImpl