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 String message = MessageFormat.format(format, arguments); assert false : message; } 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 String message = MessageFormat.format(format, arguments); assert false : message; } return returnValue; }
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 String message = MessageFormat.format(format, arguments); assert false : message; } return returnValue; }
public int getCardinal(){ String name = baseBean.name(); BaseBean parent = baseBean.parent(); BaseProperty baseProperty = parent.getProperty(name); return baseProperty.getInstanceType(); }
n = parse.substring(pos, i); pos = i+1; if (root.getProperty() == null) { System.out.println("root.getProperty="+root.getProperty()); System.out.println("parse="+parse); System.out.println("n="+n); continue; if (!root.getProperty().hasName(n) || last) { cur = new PropParser(n, autoCreate); if (prev != null) {
useKeys = false; if (curBean.getProperty() != null && curBean.getProperty().isKey()) {