コード例 #1
0
::ecore::EObject_ptr StructureFactory::create(::ecore::EClass_ptr _eClass)
{
    switch (_eClass->getClassifierID())
    {
    case StructurePackage::ABSTRACTSTRUCTUREELEMENT:
        return createAbstractStructureElement();
    case StructurePackage::SUBSYSTEM:
        return createSubsystem();
    case StructurePackage::LAYER:
        return createLayer();
    case StructurePackage::STRUCTUREMODEL:
        return createStructureModel();
    case StructurePackage::COMPONENT:
        return createComponent();
    case StructurePackage::SOFTWARESYSTEM:
        return createSoftwareSystem();
    case StructurePackage::ABSTRACTSTRUCTURERELATIONSHIP:
        return createAbstractStructureRelationship();
    case StructurePackage::STRUCTURERELATIONSHIP:
        return createStructureRelationship();
    case StructurePackage::ARCHITECTUREVIEW:
        return createArchitectureView();
    case StructurePackage::STRUCTUREELEMENT:
        return createStructureElement();
    default:
        throw "IllegalArgumentException";
    }
}
コード例 #2
0
::ecore::EObject_ptr KdmFactory::create(::ecore::EClass_ptr _eClass)
{
    switch (_eClass->getClassifierID())
    {
    case KdmPackage::KDMFRAMEWORK:
        return createKDMFramework();
    case KdmPackage::KDMMODEL:
        return createKDMModel();
    case KdmPackage::AUDIT:
        return createAudit();
    case KdmPackage::SEGMENT:
        return createSegment();
    case KdmPackage::ATTRIBUTE:
        return createAttribute();
    case KdmPackage::ANNOTATION:
        return createAnnotation();
    case KdmPackage::TAGDEFINITION:
        return createTagDefinition();
    case KdmPackage::EXTENDEDVALUE:
        return createExtendedValue();
    case KdmPackage::STEREOTYPE:
        return createStereotype();
    case KdmPackage::EXTENSIONFAMILY:
        return createExtensionFamily();
    case KdmPackage::TAGGEDREF:
        return createTaggedRef();
    case KdmPackage::TAGGEDVALUE:
        return createTaggedValue();
    default:
        throw "IllegalArgumentException";
    }
}
コード例 #3
0
::ecore::EObject_ptr EventFactory::create(::ecore::EClass_ptr _eClass)
{
    switch (_eClass->getClassifierID())
    {
    case EventPackage::EVENTMODEL:
        return createEventModel();
    case EventPackage::ABSTRACTEVENTELEMENT:
        return createAbstractEventElement();
    case EventPackage::EVENT:
        return createEvent();
    case EventPackage::ABSTRACTEVENTRELATIONSHIP:
        return createAbstractEventRelationship();
    case EventPackage::EVENTRELATIONSHIP:
        return createEventRelationship();
    case EventPackage::EVENTRESOURCE:
        return createEventResource();
    case EventPackage::STATE:
        return createState();
    case EventPackage::TRANSITION:
        return createTransition();
    case EventPackage::ONENTRY:
        return createOnEntry();
    case EventPackage::ONEXIT:
        return createOnExit();
    case EventPackage::EVENTACTION:
        return createEventAction();
    case EventPackage::READSSTATE:
        return createReadsState();
    case EventPackage::PRODUCESEVENT:
        return createProducesEvent();
    case EventPackage::CONSUMESEVENT:
        return createConsumesEvent();
    case EventPackage::NEXTSTATE:
        return createNextState();
    case EventPackage::INITIALSTATE:
        return createInitialState();
    case EventPackage::EVENTELEMENT:
        return createEventElement();
    case EventPackage::HASSTATE:
        return createHasState();
    default:
        throw "IllegalArgumentException";
    }
}
コード例 #4
0
::ecore::EObject_ptr SourceFactory::create(::ecore::EClass_ptr _eClass)
{
    switch (_eClass->getClassifierID())
    {
    case SourcePackage::SOURCEREF:
        return createSourceRef();
    case SourcePackage::SOURCEREGION:
        return createSourceRegion();
    case SourcePackage::INVENTORYMODEL:
        return createInventoryModel();
    case SourcePackage::ABSTRACTINVENTORYELEMENT:
        return createAbstractInventoryElement();
    case SourcePackage::INVENTORYITEM:
        return createInventoryItem();
    case SourcePackage::SOURCEFILE:
        return createSourceFile();
    case SourcePackage::IMAGE:
        return createImage();
    case SourcePackage::RESOURCEDESCRIPTION:
        return createResourceDescription();
    case SourcePackage::CONFIGURATION:
        return createConfiguration();
    case SourcePackage::INVENTORYCONTAINER:
        return createInventoryContainer();
    case SourcePackage::DIRECTORY:
        return createDirectory();
    case SourcePackage::PROJECT:
        return createProject();
    case SourcePackage::ABSTRACTINVENTORYRELATIONSHIP:
        return createAbstractInventoryRelationship();
    case SourcePackage::BINARYFILE:
        return createBinaryFile();
    case SourcePackage::EXECUTABLEFILE:
        return createExecutableFile();
    case SourcePackage::DEPENDSON:
        return createDependsOn();
    case SourcePackage::INVENTORYELEMENT:
        return createInventoryElement();
    case SourcePackage::INVENTORYRELATIONSHIP:
        return createInventoryRelationship();
    default:
        throw "IllegalArgumentException";
    }
}
コード例 #5
0
::ecore::EObject_ptr TMS_DataFactory::create(::ecore::EClass_ptr _eClass)
{
    switch (_eClass->getClassifierID())
    {
    case TMS_DataPackage::JOB:
        return createJob();
    case TMS_DataPackage::LISTJOBS:
        return createListJobs();
    case TMS_DataPackage::SUBMITOPTIONS:
        return createSubmitOptions();
    case TMS_DataPackage::LISTJOBSOPTIONS:
        return createListJobsOptions();
    case TMS_DataPackage::PROGRESSOPTIONS:
        return createProgressOptions();
    case TMS_DataPackage::LISTPROGRESSION:
        return createListProgression();
    case TMS_DataPackage::PROGRESSION:
        return createProgression();
    case TMS_DataPackage::LISTQUEUES:
        return createListQueues();
    case TMS_DataPackage::QUEUE:
        return createQueue();
    case TMS_DataPackage::JOBRESULT:
        return createJobResult();
    case TMS_DataPackage::LISTJOBRESULTS:
        return createListJobResults();
    case TMS_DataPackage::LOADCRITERION:
        return createLoadCriterion();
    case TMS_DataPackage::WORK:
        return createWork();
    case TMS_DataPackage::ADDWORKOPTIONS:
        return createAddWorkOptions();
    case TMS_DataPackage::CANCELOPTIONS:
        return createCancelOptions();
    case TMS_DataPackage::JOBOUTPUTOPTIONS:
        return createJobOutputOptions();
    default:
        throw "IllegalArgumentException";
    }
}
コード例 #6
0
::ecore::EObject_ptr SVGFactory::create(::ecore::EClass_ptr _eClass)
{
    switch (_eClass->getClassifierID())
    {
    case SVGPackage::ELEMENT:
        return createElement();
    case SVGPackage::STRUCTURALELEMENT:
        return createStructuralElement();
    case SVGPackage::IMAGE:
        return createImage();
    case SVGPackage::SVG:
        return createSvg();
    case SVGPackage::GROUPINGELEMENT:
        return createGroupingElement();
    case SVGPackage::G:
        return createG();
    case SVGPackage::DEFS:
        return createDefs();
    case SVGPackage::SYMBOL:
        return createSymbol();
    case SVGPackage::USE:
        return createUse();
    case SVGPackage::GRAPHICALELEMENT:
        return createGraphicalElement();
    case SVGPackage::SHAPE:
        return createShape();
    case SVGPackage::TEXTELEMENT:
        return createTextElement();
    case SVGPackage::RECT:
        return createRect();
    case SVGPackage::CIRCLE:
        return createCircle();
    case SVGPackage::ELLIPSE:
        return createEllipse();
    case SVGPackage::LINE:
        return createLine();
    case SVGPackage::POLYLINE:
        return createPolyline();
    case SVGPackage::POLYGON:
        return createPolygon();
    case SVGPackage::PATH:
        return createPath();
    case SVGPackage::POINT:
        return createPoint();
    case SVGPackage::MARKER:
        return createMarker();
    case SVGPackage::TEXT:
        return createText();
    case SVGPackage::TSPAN:
        return createTspan();
    case SVGPackage::TREF:
        return createTref();
    case SVGPackage::ATTRIBUTE:
        return createAttribute();
    case SVGPackage::TRANSFORM:
        return createTransform();
    case SVGPackage::SCALE:
        return createScale();
    case SVGPackage::TRANSLATE:
        return createTranslate();
    case SVGPackage::ROTATE:
        return createRotate();
    case SVGPackage::VISIBILITY:
        return createVisibility();
    case SVGPackage::FONTWEIGHT:
        return createFontWeight();
    case SVGPackage::FONTSTYLE:
        return createFontStyle();
    case SVGPackage::DIMENSION:
        return createDimension();
    case SVGPackage::COORDINATES:
        return createCoordinates();
    case SVGPackage::RELATIVECOORD:
        return createRelativeCoord();
    case SVGPackage::ABSOLUTECOORD:
        return createAbsoluteCoord();
    case SVGPackage::REFERENCEDFILE:
        return createReferencedFile();
    case SVGPackage::SVGFILE:
        return createSvgFile();
    default:
        throw "IllegalArgumentException";
    }
}
コード例 #7
0
::ecore::EObject_ptr PlatformFactory::create(::ecore::EClass_ptr _eClass)
{
    switch (_eClass->getClassifierID())
    {
    case PlatformPackage::ABSTRACTPLATFORMELEMENT:
        return createAbstractPlatformElement();
    case PlatformPackage::PLATFORMMODEL:
        return createPlatformModel();
    case PlatformPackage::ABSTRACTPLATFORMRELATIONSHIP:
        return createAbstractPlatformRelationship();
    case PlatformPackage::REQUIRES:
        return createRequires();
    case PlatformPackage::RESOURCETYPE:
        return createResourceType();
    case PlatformPackage::NAMINGRESOURCE:
        return createNamingResource();
    case PlatformPackage::MARSHALLEDRESOURCE:
        return createMarshalledResource();
    case PlatformPackage::MESSAGINGRESOURCE:
        return createMessagingResource();
    case PlatformPackage::FILERESOURCE:
        return createFileResource();
    case PlatformPackage::EXECUTIONRESOURCE:
        return createExecutionResource();
    case PlatformPackage::PLATFORMACTION:
        return createPlatformAction();
    case PlatformPackage::EXTERNALACTOR:
        return createExternalActor();
    case PlatformPackage::DATAMANAGER:
        return createDataManager();
    case PlatformPackage::BINDSTO:
        return createBindsTo();
    case PlatformPackage::PLATFORMELEMENT:
        return createPlatformElement();
    case PlatformPackage::PLATFORMRELATIONSHIP:
        return createPlatformRelationship();
    case PlatformPackage::PLATFORMEVENT:
        return createPlatformEvent();
    case PlatformPackage::LOCKRESOURCE:
        return createLockResource();
    case PlatformPackage::DEPLOYEDSOFTWARESYSTEM:
        return createDeployedSoftwareSystem();
    case PlatformPackage::MACHINE:
        return createMachine();
    case PlatformPackage::DEPLOYEDCOMPONENT:
        return createDeployedComponent();
    case PlatformPackage::DEPLOYEDRESOURCE:
        return createDeployedResource();
    case PlatformPackage::LOADS:
        return createLoads();
    case PlatformPackage::SPAWNS:
        return createSpawns();
    case PlatformPackage::RUNTIMERESOURCE:
        return createRuntimeResource();
    case PlatformPackage::THREAD:
        return createThread();
    case PlatformPackage::PROCESS:
        return createProcess();
    case PlatformPackage::READSRESOURCE:
        return createReadsResource();
    case PlatformPackage::WRITESRESOURCE:
        return createWritesResource();
    case PlatformPackage::MANAGESRESOURCE:
        return createManagesResource();
    case PlatformPackage::DEFINEDBY:
        return createDefinedBy();
    case PlatformPackage::STREAMRESOURCE:
        return createStreamResource();
    default:
        throw "IllegalArgumentException";
    }
}