Java Code Examples for org.eclipse.emf.ecore.EClassifier#getInstanceClassName()

The following examples show how to use org.eclipse.emf.ecore.EClassifier#getInstanceClassName() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: YangPackageImpl.java    From yang-design-studio with Eclipse Public License 1.0 5 votes vote down vote up
/**
 * Sets the instance class on the given classifier.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
protected void fixInstanceClass(EClassifier eClassifier)
{
  if (eClassifier.getInstanceClassName() == null)
  {
    eClassifier.setInstanceClassName("yang.manager.yang." + eClassifier.getName());
    setGeneratedClassName(eClassifier);
  }
}
 
Example 2
Source File: GeometryPackageImpl.java    From BIMserver with GNU Affero General Public License v3.0 5 votes vote down vote up
/**
 * Sets the instance class on the given classifier.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
protected void fixInstanceClass(EClassifier eClassifier) {
	if (eClassifier.getInstanceClassName() == null) {
		eClassifier.setInstanceClassName("org.bimserver.models.geometry." + eClassifier.getName());
		setGeneratedClassName(eClassifier);
	}
}
 
Example 3
Source File: LogPackageImpl.java    From BIMserver with GNU Affero General Public License v3.0 5 votes vote down vote up
/**
 * Sets the instance class on the given classifier.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
protected void fixInstanceClass(EClassifier eClassifier) {
	if (eClassifier.getInstanceClassName() == null) {
		eClassifier.setInstanceClassName("org.bimserver.models.log." + eClassifier.getName());
		setGeneratedClassName(eClassifier);
	}
}
 
Example 4
Source File: StorePackageImpl.java    From BIMserver with GNU Affero General Public License v3.0 5 votes vote down vote up
/**
 * Sets the instance class on the given classifier.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
protected void fixInstanceClass(EClassifier eClassifier) {
	if (eClassifier.getInstanceClassName() == null) {
		eClassifier.setInstanceClassName("org.bimserver.models.store." + eClassifier.getName());
		setGeneratedClassName(eClassifier);
	}
}
 
Example 5
Source File: Bpmn2PackageImpl.java    From fixflow with Apache License 2.0 5 votes vote down vote up
/**
 * Sets the instance class on the given classifier.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
protected void fixInstanceClass(EClassifier eClassifier) {
    if (eClassifier.getInstanceClassName() == null) {
        eClassifier.setInstanceClassName("org.eclipse.bpmn2." + eClassifier.getName());
        setGeneratedClassName(eClassifier);
    }
}
 
Example 6
Source File: ModelPackageImpl.java    From bonita-studio with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Sets the instance class on the given classifier.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
protected void fixInstanceClass(EClassifier eClassifier) {
	if (eClassifier.getInstanceClassName() == null) {
		eClassifier.setInstanceClassName("org.omg.spec.bpmn.model." + eClassifier.getName());
		setGeneratedClassName(eClassifier);
	}
}