congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
EntityValue.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
com.oberasoftware.jasdb.core.properties.EntityValue
constructor

Best Java code snippets using com.oberasoftware.jasdb.core.properties.EntityValue.<init> (Showing top 2 results out of 315)

origin: oberasoftware/jasdb

/**
 * Adds an embedded entity to the current entity with the given property name
 * @param propertyName The name to add the embedded entity on
 * @param entity The entity to embed
 * @return The entity onto which the entity was embedded
 */
@Override
public SimpleEntity addEntity(String propertyName, Entity entity) {
  addValueToProperty(propertyName, new EntityValue(entity));
  return this;
}
origin: oberasoftware/jasdb

@Override
public Property mapToProperty(String propertyName, Object value) {
  Property property = new MultivalueProperty(propertyName, true);
  EmbeddedEntity entity = new EmbeddedEntity();
  Map<String, ?> rawValueMap = mapToRawType(value);
  rawValueMap.forEach((k, v) -> {
    try {
      TypeMapper typeMapper = getTypeMapper(v.getClass());
      entity.addProperty(typeMapper.mapToProperty(k, v));
    } catch (JasDBStorageException e) {
      LOG.error("", e);
    }
  });
  property.addValue(new EntityValue(entity));
  return property;
}
com.oberasoftware.jasdb.core.propertiesEntityValue<init>

Popular methods of EntityValue

  • toEntity
  • getValue

Popular in Java

  • Creating JSON documents from java classes using gson
  • findViewById (Activity)
  • setContentView (Activity)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • JPanel (javax.swing)
  • Top 15 Vim 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