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

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

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

origin: org.eclipse.persistence/org.eclipse.persistence.dbws

@SuppressWarnings("unchecked")
public int size() {
  return ((Collection<Object>)propertiesMap.get(ITEMS_PROPERTY).getValue()).size();
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

propertyWrapper.setValue(value);
origin: com.haulmont.thirdparty/eclipselink

propertyWrapper.setValue(value);
origin: org.eclipse.persistence/org.eclipse.persistence.core

  wrapper = new PropertyWrapper();
  propertiesMap.put(propertyName, wrapper);
Object wrapperValue = wrapper.getValue();
if (wrapperValue instanceof ValueHolderInterface) {
  ValueHolderInterface vh = (ValueHolderInterface) wrapperValue;
  wrapper.isSet(true);
  wrapper.setValue(value);
  wrapper.isSet(true);
origin: org.eclipse.persistence/org.eclipse.persistence.core

  wrapper = new PropertyWrapper();
  propertiesMap.put(propertyName, wrapper);
Object value = wrapper.getValue();
origin: com.haulmont.thirdparty/eclipselink

  wrapper = new PropertyWrapper();
  propertiesMap.put(propertyName, wrapper);
Object wrapperValue = wrapper.getValue();
if (wrapperValue instanceof ValueHolderInterface) {
  ValueHolderInterface vh = (ValueHolderInterface) wrapperValue;
  wrapper.isSet(true);
  wrapper.setValue(value);
  wrapper.isSet(true);
origin: com.haulmont.thirdparty/eclipselink

  wrapper = new PropertyWrapper();
  propertiesMap.put(propertyName, wrapper);
Object value = wrapper.getValue();
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 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: org.eclipse.persistence/org.eclipse.persistence.dbws

@SuppressWarnings("unchecked")
public boolean containsAll(Collection<?> c) {
  return ((Collection<Object>)propertiesMap.get(ITEMS_PROPERTY).getValue()).containsAll(c);
}
origin: com.haulmont.thirdparty/eclipselink

@SuppressWarnings("unchecked")    
public Iterator<Object> iterator() {
  return ((Collection<Object>)propertiesMap.get(ITEMS_PROPERTY).getValue()).iterator();
}
origin: com.haulmont.thirdparty/eclipselink

@SuppressWarnings("unchecked")
public boolean add(Object e) {
  return ((Collection<Object>)propertiesMap.get(ITEMS_PROPERTY).getValue()).add(e);
}
origin: org.eclipse.persistence/org.eclipse.persistence.dbws

@SuppressWarnings("unchecked")
public boolean removeAll(Collection<?> c) {
  return ((Collection<Object>)propertiesMap.get(ITEMS_PROPERTY).getValue()).removeAll(c);
}
origin: org.eclipse.persistence/org.eclipse.persistence.dbws

@SuppressWarnings("unchecked")
public boolean isEmpty() {
  return ((Collection<Object>)propertiesMap.get(ITEMS_PROPERTY).getValue()).isEmpty();
}
origin: org.eclipse.persistence/org.eclipse.persistence.dbws

@SuppressWarnings("unchecked")
public void clear() {
  ((Collection<Object>)propertiesMap.get(ITEMS_PROPERTY).getValue()).clear();
}
origin: com.haulmont.thirdparty/eclipselink

@SuppressWarnings("unchecked")    
public boolean remove(Object o) {
  return ((Collection<Object>)propertiesMap.get(ITEMS_PROPERTY).getValue()).remove(o);
}
origin: com.haulmont.thirdparty/eclipselink

@SuppressWarnings("unchecked")    
public boolean isEmpty() {
  return ((Collection<Object>)propertiesMap.get(ITEMS_PROPERTY).getValue()).isEmpty();
}
origin: org.eclipse.persistence/org.eclipse.persistence.dbws

@SuppressWarnings("unchecked")
public Object[] toArray() {
  return ((Collection<Object>)propertiesMap.get(ITEMS_PROPERTY).getValue()).toArray();
}
org.eclipse.persistence.internal.dynamicDynamicEntityImpl$PropertyWrapper

Most used methods

  • getValue
    Gets the value.
  • isSet
    Checks if is set.
  • setValue
    Sets the value.
  • <init>
    Instantiates a new property wrapper.

Popular in Java

  • Making http requests using okhttp
  • onCreateOptionsMenu (Activity)
  • startActivity (Activity)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • Reference (javax.naming)
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • Top 17 Free Sublime Text Plugins
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