Examples of PropertyValuesDescriptor


Examples of org.rhq.enterprise.server.xmlschema.generated.configuration.instance.PropertyValuesDescriptor

            ConfigurationProperty memberDef = convertDefinition(def.getMemberDefinition());
            ret.setConfigurationProperty(new JAXBElement<ConfigurationProperty>(getTagName(memberDef),
                ConfigurationProperty.class, memberDef));

            if (prop != null) {
                PropertyValuesDescriptor values = new PropertyValuesDescriptor();

                ret.setValues(values);

                for (Property el : prop.getList()) {
                    ComplexValueDescriptor value = convertValue(el);

                    //we don't need the property-name in lists, because the list has just a single member definition
                    value.setPropertyName(null);

                    addToJAXBElementList(values.getComplexValue(), Object.class, value, getTagName(value));
                }
            }

            return ret;
        }
View Full Code Here

Examples of org.rhq.enterprise.server.xmlschema.generated.configuration.instance.PropertyValuesDescriptor

                addToJAXBElementList(ret.getConfigurationProperty(), ConfigurationProperty.class, memDef,
                    getTagName(memDef));
            }

            if (prop != null) {
                PropertyValuesDescriptor values = new PropertyValuesDescriptor();

                ret.setValues(values);

                for (Property el : prop.getMap().values()) {
                    ComplexValueDescriptor value = convertValue(el);
                    addToJAXBElementList(values.getComplexValue(), Object.class, value, getTagName(value));
                }
            }

            return ret;
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.