/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated NOT */ public Object get(String key) { EStructuralFeature feature = JsonMetadata.INSTANCE.getJsonFeature(key, eClass()); if (feature != null) { return eGet(feature); } return getUnmatched().get(key); }
/** * <!-- begin-user-doc --> * <p> * {@inheritDoc} * </p> * <!-- end-user-doc --> * * @generated NOT */ public String getGwhost() { return getEntries().get(ServerDataProvider.JCO_GWHOST); }
/** * <!-- begin-user-doc --> * <p> * {@inheritDoc} * </p> * <!-- end-user-doc --> * * @generated NOT */ public String getGwserv() { return getEntries().get(ServerDataProvider.JCO_GWSERV); }
/** * <!-- begin-user-doc --> * <p> * {@inheritDoc} * </p> * <!-- end-user-doc --> * * @generated NOT */ public String getSaprouter() { return getEntries().get(ServerDataProvider.JCO_SAPROUTER); }
/** * <!-- begin-user-doc --> * <p> * {@inheritDoc} * </p> * <!-- end-user-doc --> * * @generated NOT */ public String getRepositoryDestination() { return getEntries().get(ServerDataProvider.JCO_REP_DEST); }
/** * <!-- begin-user-doc --> * <p> * {@inheritDoc} * </p> * <!-- end-user-doc --> * @generated NOT */ public String getAuthType() { String value = getEntries().get(DestinationDataProvider.JCO_AUTH_TYPE); return (value == null) ? DestinationDataProvider.JCO_AUTH_TYPE_CONFIGURED_USER : value; }
/** * <!-- begin-user-doc --> * <p> * {@inheritDoc} * </p> * <!-- end-user-doc --> * @generated NOT */ public String getCodepage() { return getEntries().get(DestinationDataProvider.JCO_CODEPAGE); }
/** * <!-- begin-user-doc --> * <p> * {@inheritDoc} * </p> * <!-- end-user-doc --> * @generated NOT */ public String getMaxGetTime() { return getEntries().get(DestinationDataProvider.JCO_MAX_GET_TIME); }
/** * <!-- begin-user-doc --> * <p> * {@inheritDoc} * </p> * <!-- end-user-doc --> * @generated NOT */ public String getR3name() { return getEntries().get(DestinationDataProvider.JCO_R3NAME); }
/** * <!-- begin-user-doc --> * <p> * {@inheritDoc} * </p> * <!-- end-user-doc --> * @generated NOT */ public String getSncMyname() { return getEntries().get(DestinationDataProvider.JCO_SNC_MYNAME); }
/** * <!-- begin-user-doc --> * <p> * {@inheritDoc} * </p> * <!-- end-user-doc --> * @generated NOT */ public String getUseSapgui() { return getEntries().get(DestinationDataProvider.JCO_USE_SAPGUI); }
/** * <!-- begin-user-doc --> * <p> * {@inheritDoc} * </p> * <!-- end-user-doc --> * @generated NOT */ public String getX509cert() { return getEntries().get(DestinationDataProvider.JCO_X509CERT); }
protected boolean basicIsQualified(EPackage ePackage) { EAnnotation eAnnotation = getAnnotation(ePackage, false); return eAnnotation == null || !"false".equals(eAnnotation.getDetails().get("qualified")); }
/** * Tests whether the given operation has been annotated to prevent generation of a method declaration in its interface. * @param eOperation the operation. * @return whether the visibility is suppressed * @since 2.4 */ public static boolean isSuppressedVisibility(EOperation eOperation) { EAnnotation eAnnotation = eOperation.getEAnnotation(GEN_MODEL_PACKAGE_NS_URI); return eAnnotation == null ? false : TRUE.equalsIgnoreCase(eAnnotation.getDetails().get(OPERATION_VISIBILITY_KEY)); }
/** * Returns true if the classifier type information should not be serialize. * This is true when the classifier possesses an annotation @JsonType with include = "false". * * @param classifier * @return true if type info should not be serialize */ public static boolean shouldIgnoreType(EClassifier classifier) { EAnnotation annotation = classifier.getEAnnotation("JsonType"); return annotation != null && "false".equalsIgnoreCase(annotation.getDetails().get("include")); }
/** * {@inheritDoc} */ public boolean isComponent(EModelElement element) { EAnnotation annotation = element.getEAnnotation(ANNOTATION_TYPE); if (annotation == null) { return false; } return COMPONENT_TYPE.equals(annotation.getDetails().get( ANNOTATION_TYPE_KEY)); }
public static String getAnnotation(GenBase genBase, String sourceURI, String key) { GenAnnotation genAnnotation = genBase.getGenAnnotation(sourceURI); return genAnnotation == null ? null : (String)genAnnotation.getDetails().get(key); }
private String getAnnotation(EModelElement modelElement, String source, String key) { EAnnotation annotation = modelElement.getEAnnotation(source); if (annotation == null) { return null; } return annotation.getDetails().get(key); }
@Override public boolean eIsSet(EStructuralFeature eStructuralFeature) { EAnnotation eAnnotation = eNamedElement.getEAnnotation(ExtendedMetaData.ANNOTATION_URI); return eAnnotation != null && eAnnotation.getDetails().get(eStructuralFeature.getName()) != null; }
protected List<FeatureChange> getFeatureChanges(EObject eObject) { ChangeDescription changeDescription = getChangeDescription(); List<FeatureChange> featureChanges = changeDescription.getObjectChanges().get(eObject); if (featureChanges == null) { Map.Entry<EObject, EList<FeatureChange>> entry = ChangeFactory.eINSTANCE.createEObjectToChangesMapEntry(eObject); changeDescription.getObjectChanges().add(entry); featureChanges = entry.getValue(); } return featureChanges; }