/** Create Metafacade implementation instance using the MetafacadeFactory from the context * @param metaObjectIn * @param context */ protected MetafacadeAssociationEndLogic(Object metaObjectIn, String context) { super(metaObjectIn, getContext(context)); this.superAssociationEndFacade = (AssociationEndFacade) MetafacadeFactory.getInstance().createFacadeImpl( "org.andromda.metafacades.uml.AssociationEndFacade", metaObjectIn, getContext(context)); this.metaObject = metaObjectIn; }
/** * Returns the entire model. * * @return org.omg.uml.UmlPackage model instance. */ static org.omg.uml.UmlPackage getModel() { return (org.omg.uml.UmlPackage)MetafacadeFactory.getInstance().getModel().getModel(); }
/** * @see org.andromda.core.metafacade.ModelAccessFacade#getModelElements() */ public Collection<MetafacadeBase> getModelElements() { Collection<MetafacadeBase> metafacades = Collections.emptyList(); if (this.model != null) { metafacades = MetafacadeFactory.getInstance().createMetafacades( this.model.getCore().getModelElement().refAllOfType()); this.filterMetafacades(metafacades); } return metafacades; }
if (stereotypeNames != null && stereotypeNames.contains(stereotype)) metafacades.add(MetafacadeFactory.getInstance().createMetafacade(element));
metafacades = MetafacadeFactory.getInstance().createMetafacades(elements);
/** Create Metafacade implementation instance using the MetafacadeFactory from the context * @param metaObjectIn * @param context */ protected HibernateServiceLogic(Object metaObjectIn, String context) { super(metaObjectIn, getContext(context)); this.superService = (Service) MetafacadeFactory.getInstance().createFacadeImpl( "org.andromda.metafacades.uml.Service", metaObjectIn, getContext(context)); this.metaObject = metaObjectIn; }
metafacades = MetafacadeFactory.getInstance().createMetafacades(elements);
/** * @see org.andromda.metafacades.uml.ModelElementFacade#getModel() */ @Override protected Object handleGetModel() { return MetafacadeFactory.getInstance().getModel().getModel(); }
/** Create Metafacade implementation instance using the MetafacadeFactory from the context * @param metaObjectIn * @param context */ protected HibernateFinderMethodArgumentLogic(Object metaObjectIn, String context) { super(metaObjectIn, getContext(context)); this.superParameterFacade = (ParameterFacade) MetafacadeFactory.getInstance().createFacadeImpl( "org.andromda.metafacades.uml.ParameterFacade", metaObjectIn, getContext(context)); this.metaObject = metaObjectIn; }
return MetafacadeFactory.getInstance().createMetafacades(elements);
/** * Basically just checks to make sure the <code>model</code> is of type <code>org.omg.uml.UmlPackage</code> and * retrieves the <code>CorePackage</code> from it. * * @return the <code>model</code> as a <code>org.omg.uml.UmlPackage</code> */ static CorePackage getCorePackage() { return ((org.omg.uml.UmlPackage)MetafacadeFactory.getInstance().getModel().getModel()).getCore(); }
/** Create Metafacade implementation instance using the MetafacadeFactory from the context * @param metaObjectIn * @param context */ protected SpringTopicLogic(Object metaObjectIn, String context) { super(metaObjectIn, getContext(context)); this.superTopic = (Topic) MetafacadeFactory.getInstance().createFacadeImpl( "org.andromda.metafacades.uml.Topic", metaObjectIn, getContext(context)); this.metaObject = metaObjectIn; }
return MetafacadeFactory.getInstance().createMetafacades(elements);
/** * @see org.andromda.metafacades.uml.PackageFacade#getModelElements() */ @Override protected Collection<ModelElement> handleGetModelElements() { return ((UmlPackage)MetafacadeFactory.getInstance().getModel().getModel()).getCore().getModelElement() .refAllOfType(); }
/** Create Metafacade implementation instance using the MetafacadeFactory from the context * @param metaObjectIn * @param context */ protected EJB3SessionAttributeFacadeLogic(Object metaObjectIn, String context) { super(metaObjectIn, getContext(context)); this.superAttributeFacade = (AttributeFacade) MetafacadeFactory.getInstance().createFacadeImpl( "org.andromda.metafacades.uml.AttributeFacade", metaObjectIn, getContext(context)); this.metaObject = metaObjectIn; }
Collection elements = ((org.omg.uml.UmlPackage)MetafacadeFactory.getInstance().getModel().getModel()).getCore() .getModelElement() .refAllOfType();
/** Create Metafacade implementation instance using the MetafacadeFactory from the context * @param metaObjectIn * @param context */ protected MetafacadeLogic(Object metaObjectIn, String context) { super(metaObjectIn, getContext(context)); this.superClassifierFacade = (ClassifierFacade) MetafacadeFactory.getInstance().createFacadeImpl( "org.andromda.metafacades.uml.ClassifierFacade", metaObjectIn, getContext(context)); this.metaObject = metaObjectIn; }
/** Create Metafacade implementation instance using the MetafacadeFactory from the context * @param metaObjectIn * @param context */ protected PSMmetaclassLogic(Object metaObjectIn, String context) { super(metaObjectIn, getContext(context)); this.superClassifierFacade = (ClassifierFacade) MetafacadeFactory.getInstance().createFacadeImpl( "org.andromda.metafacades.uml.ClassifierFacade", metaObjectIn, getContext(context)); this.metaObject = metaObjectIn; }
/** Create Metafacade implementation instance using the MetafacadeFactory from the context * @param metaObjectIn * @param context */ protected EJB3InterceptorFacadeLogic(Object metaObjectIn, String context) { super(metaObjectIn, getContext(context)); this.superService = (Service) MetafacadeFactory.getInstance().createFacadeImpl( "org.andromda.metafacades.uml.Service", metaObjectIn, getContext(context)); this.metaObject = metaObjectIn; }
/** Create Metafacade implementation instance using the MetafacadeFactory from the context * @param metaObjectIn * @param context */ protected EJB3FinderMethodFacadeLogic(Object metaObjectIn, String context) { super(metaObjectIn, getContext(context)); this.superEntityQueryOperation = (EntityQueryOperation) MetafacadeFactory.getInstance().createFacadeImpl( "org.andromda.metafacades.uml.EntityQueryOperation", metaObjectIn, getContext(context)); this.metaObject = metaObjectIn; }