congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
EStructuralFeature.isDerived
Code IndexAdd Tabnine 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)

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

  • Updating database using SQL prepared statement
  • getContentResolver (Context)
  • setRequestProperty (URLConnection)
  • compareTo (BigDecimal)
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • Top 17 Plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now