Package org.netbeans.modules.schema2beans

Examples of org.netbeans.modules.schema2beans.BaseProperty


        return elements;
    }


    public boolean isIndexed(String elementName){
        BaseProperty baseProperty = baseBean.getProperty(elementName);
        boolean returnValue =  false;
        if(null != baseProperty) {
            returnValue =  baseProperty.isIndexed();
        } else {
            String format =
                BundleReader.getValue("Error_does_not_exists");         //NOI18N
            Object[] arguments =   
                new Object[]{"Property", elementName};                  //NOI18N
View Full Code Here


        return returnValue;
    }


    public int getElementCardinal(String elementName){
        BaseProperty baseProperty = baseBean.getProperty(elementName);
        int returnValue = -1;
        if(null != baseProperty) {
            returnValue =  baseProperty.getInstanceType();
        } else {
            String format =
                BundleReader.getValue("Error_does_not_exists");         //NOI18N
            Object[] arguments =   
                new Object[]{"Property", elementName};                  //NOI18N
View Full Code Here


    public int getCardinal(){
        String name = baseBean.name();
        BaseBean parent = baseBean.parent();
        BaseProperty baseProperty = parent.getProperty(name);
        return baseProperty.getInstanceType();
    }
View Full Code Here

        return baseProperty.getInstanceType();
    }


    public boolean isBeanElement(String elementName){
        BaseProperty baseProperty = baseBean.getProperty(elementName);
        boolean returnValue = false;
        if(null != baseProperty) {
            returnValue =  baseProperty.isBean();
        } else {
            String format =
                BundleReader.getValue("Error_does_not_exists");         //NOI18N
            Object[] arguments =   
                new Object[]{"Property", elementName};                  //NOI18N
View Full Code Here

TOP

Related Classes of org.netbeans.modules.schema2beans.BaseProperty

Copyright © 2018 www.massapicom. 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.