/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated NOT */ @Override public EList<String> getBundles () { return ECollections.emptyEList (); }
/** * Gets the qualifiers of an association end. * By default, it is assumed that properties never have qualifiers * because Ecore does not directly support this concept. * * @param property a property of the model class * @return an empty list, by default */ public List<EStructuralFeature> getQualifiers(EStructuralFeature property) { return ECollections.emptyEList(); }
@Override public Object defaultCase(EObject eObject) { return ECollections.<Feature> emptyEList(); } }.doSwitch(feature);
/** * Returns an empty iterator; subclasses may override this method. * @param object the parent object. * @return the children iterator. */ protected Iterator<E> getObjectChildren(Object object) { return ECollections.<E>emptyEList().iterator(); } }
@Override public EList<Endpoint> getPossibleEndpoints ( final Exporter exporter ) { if ( ! ( exporter instanceof DataAccessExporter ) ) { return ECollections.emptyEList (); } return exporter.getEndpoints (); }
/** * Returns an empty iterator; subclasses may override this method. * @param object the parent object. * @return the children iterator. */ protected Iterator<E> getObjectChildren(Object object) { return ECollections.<E>emptyEList().iterator(); } }
@Override public EList<Endpoint> getPossibleEndpoints ( final Exporter exporter ) { if ( ! ( exporter instanceof AlarmsEventsExporter ) ) { return ECollections.emptyEList (); } return exporter.getEndpoints (); }
@Override public Iterator<V> iterator() { return BasicEMap.this.size == 0 ? ECollections.<V>emptyEList().iterator() : new BasicEMapValueIterator(); }
@Override protected List<Entry> delegateBasicList() { final Object[] data = delegateToArray(); return data.length == 0 ? ECollections.emptyEList() : new EcoreEList.UnmodifiableEList<>(owner, eStructuralFeature, data.length, data); }
@Override public Iterator<K> iterator() { return BasicEMap.this.size == 0 ? ECollections.<K>emptyEList().iterator() : new BasicEMapKeyIterator(); }
protected EList<XExpression> getActualArguments(XExpression syntacticReceiver, XExpression syntacticArgument) { if (syntacticArgument != null) { return getActualArguments(syntacticReceiver, new BasicEList<XExpression>(Collections.singletonList(syntacticArgument))); } return getActualArguments(syntacticReceiver, ECollections.<XExpression>emptyEList()); }
public List<P> getAdditionalAttributes(C owner) { if (hasAdditionalFeatures()) { C shadow = findShadowClass(owner); if (shadow != null) { return uml.getAttributes(shadow); } } return ECollections.emptyEList(); }
/** * @generated NOT */ public EList<PropertyRealization> getIncludedProperties() { if (getProperties() == null) { return ECollections.emptyEList(); } return getProperties().getAllIncludedProperties(); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EList<com.reprezen.rapidml.Constraint> getConstraints() { if (getSimpleType() instanceof ConstrainableType) { return ((ConstrainableType)getSimpleType()).getConstraints(); } return ECollections.emptyEList(); }
public List<O> getAdditionalOperations(C owner) { if (hasAdditionalFeatures()) { C shadow = findShadowClass(owner); if (shadow != null) { return uml.getOperations(shadow); } } return ECollections.emptyEList(); }
@Override protected List<FeatureMap.Entry> delegateBasicList() { int size = delegateSize(); if (size == 0) { return ECollections.emptyEList(); } Object[] data = cdoStore().toArray(owner, eStructuralFeature); return new EcoreEList.UnmodifiableEList<FeatureMap.Entry>(owner, eStructuralFeature, data.length, data); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EList<ReferenceTreatment> getNestedReferenceTreatments() { if (getReferenceRealization() == null) { return ECollections.emptyEList(); } return getReferenceRealization().getReferenceTreatments(); } } // ReferenceEmbedImpl
/** * <!-- begin-user-doc --> <!-- end-user-doc --> * * @generated NOT */ @Override public EList<PropertyRealization> getIncludedProperties() { if (getProperties() == null) { return ECollections.emptyEList(); } return getProperties().getAllIncludedProperties(); }
public List<O> getAdditionalOperations(C owner) { if (hasAdditionalFeatures()) { C shadow = findShadowClass(owner); if (shadow != null) { return uml.getOperations(shadow); } } return ECollections.emptyEList(); }
public List<P> getAdditionalAttributes(C owner) { if (hasAdditionalFeatures()) { C shadow = findShadowClass(owner); if (shadow != null) { return uml.getAttributes(shadow); } } return ECollections.emptyEList(); }