congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
DynamicEntityImpl$PropertyWrapper.isSet
Code IndexAdd Tabnine to your IDE (free)

How to use
isSet
method
in
org.eclipse.persistence.internal.dynamic.DynamicEntityImpl$PropertyWrapper

Best Java code snippets using org.eclipse.persistence.internal.dynamic.DynamicEntityImpl$PropertyWrapper.isSet (Showing top 10 results out of 315)

origin: org.eclipse.persistence/org.eclipse.persistence.core

public void setAttributeValueInObject(Object entity, Object value) throws DescriptorException {
  Map<String, PropertyWrapper> propertiesMap = ((DynamicEntityImpl)entity).getPropertiesMap();
  PropertyWrapper wrapper = propertiesMap.get(attributeName);
  // wrapper is never null
  wrapper.setValue(value);
  wrapper.isSet(true);
}
origin: com.haulmont.thirdparty/eclipselink

public void setAttributeValueInObject(Object entity, Object value) throws DescriptorException {
  Map<String, PropertyWrapper> propertiesMap = ((DynamicEntityImpl)entity).getPropertiesMap();
  PropertyWrapper wrapper = propertiesMap.get(attributeName);
  // wrapper is never null
  wrapper.setValue(value);
  wrapper.isSet(true);
}
origin: com.haulmont.thirdparty/eclipselink

@Override
public Object getAttributeValueFromObject(Object entity) throws DescriptorException {
  Map<String, PropertyWrapper> propertiesMap = ((XRDynamicEntity)entity).getPropertiesMap();
  PropertyWrapper wrapper = propertiesMap.get(attributeName);
  Object v = null;
  if (wrapper.isSet()) {
    v = ((ValueHolderInterface)wrapper.getValue()).getValue();
  }
  return v;
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

wrapper.isSet(true);
wrapper.isSet(true);
origin: com.haulmont.thirdparty/eclipselink

wrapper.isSet(true);
wrapper.isSet(true);
origin: org.eclipse.persistence/org.eclipse.persistence.core

public boolean isSet(String propertyName) throws DynamicException {
  if (fetchPropertiesManager().contains(propertyName)) {
    if (_persistence_getFetchGroup() != null &&
        !_persistence_getFetchGroup().containsAttributeInternal(propertyName)) {
      return false;
    }
    PropertyWrapper wrapper = propertiesMap.get(propertyName);
    if (wrapper == null) { // properties can be added after constructor is called
      wrapper = new PropertyWrapper();
      propertiesMap.put(propertyName, wrapper);
    }
    return wrapper.isSet();
  }
  else {
    throw DynamicException.invalidPropertyName(fetchPropertiesManager().getType(),
        propertyName);
  }
}
origin: com.haulmont.thirdparty/eclipselink

  public void setAttributeValueInObject(Object entity, Object value) throws DescriptorException {
    Map<String, PropertyWrapper> propertiesMap = ((XRDynamicEntity)entity).getPropertiesMap();
    PropertyWrapper wrapper = propertiesMap.get(attributeName);
    if (value instanceof ValueHolderInterface) {
      // ValueHolders go directly into the PropertyWrapper
      wrapper.setValue(value);
    }
    else {
      if (!wrapper.isSet()) {
        wrapper.setValue(new ValueHolder(value));
      }
      else {
        ((ValueHolderInterface)wrapper.getValue()).setValue(value);
      }
    }
  }
}
origin: org.eclipse.persistence/org.eclipse.persistence.dbws

  public void setAttributeValueInObject(Object entity, Object value) throws DescriptorException {
    Map<String, PropertyWrapper> propertiesMap = ((XRDynamicEntity)entity).getPropertiesMap();
    PropertyWrapper wrapper = propertiesMap.get(attributeName);
    if (value instanceof ValueHolderInterface) {
      // ValueHolders go directly into the PropertyWrapper
      wrapper.setValue(value);
    }
    else {
      if (!wrapper.isSet()) {
        wrapper.setValue(new ValueHolder(value));
      }
      else {
        ((ValueHolderInterface)wrapper.getValue()).setValue(value);
      }
    }
  }
}
origin: com.haulmont.thirdparty/eclipselink

public boolean isSet(String propertyName) throws DynamicException {
  if (fetchPropertiesManager().contains(propertyName)) {
    if (_persistence_getFetchGroup() != null &&
        !_persistence_getFetchGroup().containsAttributeInternal(propertyName)) {
      return false;
    }
    PropertyWrapper wrapper = propertiesMap.get(propertyName);
    if (wrapper == null) { // properties can be added after constructor is called
      wrapper = new PropertyWrapper();
      propertiesMap.put(propertyName, wrapper);
    }
    return wrapper.isSet();
  }
  else {
    throw DynamicException.invalidPropertyName(fetchPropertiesManager().getType(),
        propertyName);
  }
}
origin: org.eclipse.persistence/org.eclipse.persistence.dbws

@Override
public Object getAttributeValueFromObject(Object entity) throws DescriptorException {
  Map<String, PropertyWrapper> propertiesMap = ((XRDynamicEntity)entity).getPropertiesMap();
  PropertyWrapper wrapper = propertiesMap.get(attributeName);
  Object v = null;
  if (wrapper.isSet()) {
    v = ((ValueHolderInterface)wrapper.getValue()).getValue();
  }
  return v;
}
org.eclipse.persistence.internal.dynamicDynamicEntityImpl$PropertyWrapperisSet

Javadoc

Checks if is sets the.

Popular methods of DynamicEntityImpl$PropertyWrapper

  • getValue
    Gets the value.
  • setValue
    Sets the value.
  • <init>
    Instantiates a new property wrapper.

Popular in Java

  • Parsing JSON documents to java classes using gson
  • scheduleAtFixedRate (ScheduledExecutorService)
  • scheduleAtFixedRate (Timer)
  • getExternalFilesDir (Context)
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • Permission (java.security)
    Legacy security code; do not use.
  • Notification (javax.management)
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • 21 Best Atom Packages for 2021
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