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

com.genexus.db.dynamodb.DynamoDBMap 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.dynamodb;

import com.genexus.db.service.IODataMapName;

public class DynamoDBMap extends IODataMapName{
	public DynamoDBMap(String name) {
		super(mapAttributeMap(name));
		needsAttributeMap = _needsAttributeMap(name);
	}

	private static String mapAttributeMap(String name)
	{
		if(_needsAttributeMap(name))
			return name.substring(1);
		else return name;
	}

	private static boolean _needsAttributeMap(String name)
	{
		return name.startsWith("#");
	}

	private final boolean needsAttributeMap;

	public boolean needsAttributeMap() {
		return needsAttributeMap;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy