All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.genexus.db.odata.ComplexHashMap Maven / Gradle / Ivy

Go to download

Core classes for the runtime used by Java and Android apps generated with GeneXus

The newest version!
package com.genexus.db.odata;
import com.genexus.db.service.IODataMap;
import java.util.HashMap;

public class ComplexHashMap extends HashMap
{
    private final String entity;
    public ComplexHashMap(String entity)
    {
        this.entity = entity;
    }
    
    public String getEntity()
    {
        return entity;
    }
    
    public ComplexHashMap set(String key, Object value)
    {
        put(key, value);
        return this;
    }
    
    public ComplexHashMap set(IODataMap key, Object value)
    {
        key.setValue(this, value);
        return this;
    } 
    
    public ComplexHashMap set(ComplexHashMap complex)
    {
        put(complex.getEntity(), complex);
        return this;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy