
com.ebay.jestream.event.annotation.StatementAnnotationInfo Maven / Gradle / Ivy
/*******************************************************************************
* Copyright © 2012-2015 eBay Software Foundation
* This program is dual licensed under the MIT and Apache 2.0 licenses.
* Please see LICENSE for more information.
*******************************************************************************/
package com.ebay.jestream.event.annotation;
import java.util.HashMap;
import java.util.Map;
import java.util.ArrayList;
import java.util.List;
public final class StatementAnnotationInfo {
private Map annotationInfoMap = new HashMap();
private List annotationInfoKeyList = new ArrayList();
public StatementAnnotationInfo() {
}
public void addAnnotationInfo(String annotationName,
Object annotationMetaData) {
annotationInfoMap.put(annotationName, annotationMetaData);
annotationInfoKeyList.add(annotationName);
}
public Object getAnnotationInfo(String annotationName) {
return annotationInfoMap.get(annotationName);
}
public Map getAnnotationInfoMap() {
return annotationInfoMap;
}
public List getAnnotationInfoKeyList() {
return annotationInfoKeyList;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy