org.milyn.ejc.ValueNodeInfo Maven / Gradle / Ivy
/*
Milyn - Copyright (C) 2006 - 2010
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License (version 2.1) as published by the Free Software
Foundation.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU Lesser General Public License for more details:
http://www.gnu.org/licenses/lgpl.txt
*/
package org.milyn.ejc;
import org.milyn.edisax.model.internal.ValueNode;
import org.milyn.javabean.pojogen.JNamedType;
import java.util.List;
import java.util.Map;
/**
* ValueNodeInfo contains information about values from a ValueNode. The values contained here are xmltag and
* typeParameters.
*
* @author bardl.
*/
public class ValueNodeInfo {
private JNamedType property;
private String dataSelector;
private ValueNode valueNode;
public ValueNodeInfo(JNamedType property, String dataSelector, ValueNode valueNode) {
this.property = property;
this.dataSelector = dataSelector;
this.valueNode = valueNode;
}
public JNamedType getProperty() {
return property;
}
public String getDataSelector() {
return dataSelector;
}
public List> getDecoderConfigs() {
return valueNode.getTypeParameters();
}
public String getDecoderType() {
return valueNode.getDataType();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy