in.kuros.jfirebase.metadata.MapAttributeValueImpl Maven / Gradle / Ivy
package in.kuros.jfirebase.metadata;
import lombok.Data;
import java.util.Map;
@Data
class MapAttributeValueImpl implements MapAttributeValue {
private final Attribute> attribute;
private final K key;
private final Value mapValue;
private final Value attributeValue;
private final boolean keyUpdate;
MapAttributeValueImpl(final Attribute> attribute, final K key, final Value value) {
this.attribute = attribute;
this.key = key;
this.mapValue = value;
this.attributeValue = null;
this.keyUpdate = true;
}
MapAttributeValueImpl(final Attribute> attribute, final Value value) {
this.attribute = attribute;
this.key = null;
this.mapValue = null;
this.attributeValue = value;
this.keyUpdate = false;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy