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

org.sisioh.aws4s.dynamodb.document.RichAttribute.scala Maven / Gradle / Ivy

There is a newer version: 1.0.16
Show newest version
package org.sisioh.aws4s.dynamodb.document

import com.amazonaws.services.dynamodbv2.document.Attribute
import org.sisioh.aws4s.PimpedType

object AttributeFactory {

  def create(attrName: String, value: AnyRef): Attribute = new Attribute(attrName, value)

}

class RichAttribute(val underlying: Attribute) extends AnyVal with PimpedType[Attribute] {

  def name: String = underlying.getName

  def value: AnyRef = underlying.getValue

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy