Codota Logo
EStructuralFeature.isDerived
Code IndexAdd Codota to your IDE (free)

How to use
isDerived
method
in
org.eclipse.emf.ecore.EStructuralFeature

Best Java code snippets using org.eclipse.emf.ecore.EStructuralFeature.isDerived (Showing top 20 results out of 315)

  • Common ways to obtain EStructuralFeature
private void myMethod () {
EStructuralFeature e =
  • Codota IconItemProviderAdapter zuper;zuper.getChildFeature(object, child)
  • Codota IconEClass eClass;String featureName;eClass.getEStructuralFeature(featureName)
  • Codota IconFeatureMap.Entry entry;entry.getEStructuralFeature()
  • Smart code suggestions by Codota
}
origin: opensourceBIM/BIMserver

for (EStructuralFeature eStructuralFeature : eObject.eClass().getEAllStructuralFeatures()) {
  Object eGet = eObject.eGet(eStructuralFeature);
  if (eStructuralFeature.getEAnnotation("hidden") == null && !eStructuralFeature.isDerived()) {
    if (eStructuralFeature instanceof EAttribute) {
      if (eStructuralFeature.isMany()) {
origin: org.eclipse.emf/org.eclipse.emf.codegen.ecore

public boolean isDerived()
{
 return getEcoreFeature().isDerived();
}
origin: org.eclipse/org.eclipse.emf.codegen.ecore

public String getDerivedFlag()
{
 String result = !getEcoreFeature().isDerived() ? "!" : "";
 return result + "IS_DERIVED";
}
origin: org.eclipse/org.eclipse.emf.codegen.ecore

public boolean isDerived()
{
 return getEcoreFeature().isDerived();
}
origin: org.eclipse.emf/org.eclipse.emf.codegen.ecore

public String getDerivedFlag()
{
 String result = !getEcoreFeature().isDerived() ? "!" : "";
 return result + "IS_DERIVED";
}
origin: at.bestsolution.efxclipse.eclipse/org.eclipse.emf.ecore.change

protected boolean shouldRecord(EStructuralFeature feature, EObject eObject)
{
 return isRecording() &&
  !feature.isDerived() &&
  (isRecordingTransientFeatures() || !feature.isTransient()) &&
  feature != EcorePackage.Literals.ECLASS__ESUPER_TYPES &&
  feature != EcorePackage.Literals.ETYPED_ELEMENT__ETYPE &&
  feature != EcorePackage.Literals.EOPERATION__EEXCEPTIONS &&
  feature != EcorePackage.Literals.ECLASSIFIER__INSTANCE_CLASS_NAME;
}
origin: org.eclipse.emf/org.eclipse.emf.ecore.change

protected boolean shouldRecord(EStructuralFeature feature, EObject eObject)
{
 return isRecording() &&
  !feature.isDerived() &&
  (isRecordingTransientFeatures() || !feature.isTransient()) &&
  feature != EcorePackage.Literals.ECLASS__ESUPER_TYPES &&
  feature != EcorePackage.Literals.ETYPED_ELEMENT__ETYPE &&
  feature != EcorePackage.Literals.EOPERATION__EEXCEPTIONS &&
  feature != EcorePackage.Literals.ECLASSIFIER__INSTANCE_CLASS_NAME;
}
origin: org.eclipse.emf/cdo

if (reference.isDerived())
origin: stackoverflow.com

if (!feature.isDerived())
origin: com.b2international.snowowl/org.eclipse.emf.cdo

if (reference.isDerived())
origin: at.bestsolution.efxclipse.eclipse/org.eclipse.emf.edit

if (!eStructuralFeature.isDerived())
origin: at.bestsolution.efxclipse.eclipse/org.eclipse.emf.edit

for (EStructuralFeature eStructuralFeature : eClass.getEAllStructuralFeatures())
 if (!eStructuralFeature.isDerived())
origin: org.eclipse.uml2/org.eclipse.uml2.uml

if (!subsettedEStructuralFeature.isDerived()
  && subsettedEStructuralFeature instanceof EReference) {
origin: org.eclipse.emf/org.eclipse.emf.ecore

if (eStructuralFeature.isChangeable() && !eStructuralFeature.isDerived())
origin: at.bestsolution.efxclipse.eclipse/org.eclipse.emf.ecore

if (eStructuralFeature.isChangeable() && !eStructuralFeature.isDerived())
origin: de.dfki.cos.basys.common/de.dfki.cos.basys.common.emf

for (int j = 0, size = eClass.getFeatureCount(); j < size; ++j) {
  EStructuralFeature eStructuralFeature = eClass.getEStructuralFeature(j);
  if (eStructuralFeature.isChangeable() && !eStructuralFeature.isDerived()) {
    if (eStructuralFeature instanceof EReference) {
      EReference eReference = (EReference) eStructuralFeature;
origin: at.bestsolution.efxclipse.eclipse/org.eclipse.emf.edit

/**
 */
@Override
public void notifyChanged(Notification notification)
{
 updateChildren(notification);
 EObject object = (EObject)notification.getNotifier();
 EClass eClass = object.eClass();
 EStructuralFeature feature = (EStructuralFeature)notification.getFeature();
 // Is this a containment reference child?
 //
 boolean child = 
  ExtendedMetaData.INSTANCE.getContentKind(eClass) != ExtendedMetaData.MIXED_CONTENT &&
  feature instanceof EReference && ((EReference)feature).isContainment() &&
  ExtendedMetaData.INSTANCE.getGroup(feature) == null;
 // Or a feature map child?
 //
 child |=
  feature instanceof EAttribute &&
  ExtendedMetaData.INSTANCE.getGroup(feature) == null &&
  feature.getEType().getInstanceClass() == FeatureMap.Entry.class &&
  !feature.isDerived();
 // Is this the label feature?
 //
 boolean label = feature == getLabelFeature(eClass);
 fireNotifyChanged(new ViewerNotification(notification, object, child, !child || (child && label)));
}

origin: at.bestsolution.efxclipse.eclipse/org.eclipse.emf.ecore

if (eStructuralFeature.isChangeable() && !eStructuralFeature.isDerived())
origin: org.eclipse.emf/org.eclipse.emf.ecore

if (eStructuralFeature.isChangeable() && !eStructuralFeature.isDerived())
origin: org.eclipse/xtext

protected void resolveLazyCrossReference(InternalEObject source, EStructuralFeature crossRef) {
  if (crossRef.isDerived() 
      || (crossRef instanceof EReference && !((EReference)crossRef).isResolveProxies())
      || crossRef.isTransient())
org.eclipse.emf.ecoreEStructuralFeatureisDerived

Javadoc

Returns the value of the 'Derived' attribute.

A derived feature typically computes its value from those of other features. It will typically be #isTransient and will often be #isVolatile and not #isChangeable. The default org.eclipse.emf.ecore.util.EcoreUtil.Copier won't copy it.

Popular methods of EStructuralFeature

  • getName
  • isMany
  • getEType
  • getEContainingClass
    Returns the value of the 'EContaining Class' container reference. It is bidirectional and its opposi
  • isUnsettable
    Returns the value of the 'Unsettable' attribute. An unsettable feature explicitly models the state o
  • isChangeable
    Returns the value of the 'Changeable' attribute. The default value is "true".
  • isTransient
    Returns the value of the 'Transient' attribute.
  • getDefaultValue
    Returns the value of the 'Default Value' attribute. It represents the default value that feature mus
  • getUpperBound
  • getDefaultValueLiteral
    Returns the value of the 'Default Value Literal' attribute. It represents the serialized form of the
  • getEGenericType
  • isUnique
  • getEGenericType,
  • isUnique,
  • getFeatureID,
  • getEAnnotation,
  • getLowerBound,
  • isOrdered,
  • setChangeable,
  • eIsProxy,
  • setUpperBound

Popular in Java

  • Parsing JSON documents to java classes using gson
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • setScale (BigDecimal)
  • getSupportFragmentManager (FragmentActivity)
    Return the FragmentManager for interacting with fragments associated with this activity.
  • BufferedReader (java.io)
    Reads text from a character-input stream, buffering characters so as to provide for the efficient re
  • SortedSet (java.util)
    A Set that further provides a total ordering on its elements. The elements are ordered using their C
  • Stack (java.util)
    The Stack class represents a last-in-first-out (LIFO) stack of objects. It extends class Vector with
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • JButton (javax.swing)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now