Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- String rootNodeType = fN.type;
- BinaryLogicOpType _blop = new BinaryLogicOpType();
- JAXBElement<BinaryLogicOpType> root = constructRootElement(_blop, factory, rootNodeType);
- /** LETS CREATE THE FIRST CHILD ELEMENT */
- BinaryComparisonOpType attrName1GTEFive = new BinaryComparisonOpType();
- _blop.getOps().add(factory.createPropertyIsEqualTo(attrName1GTEFive));
- JAXBElement<String> attr1Property = factory.createValueReference(fN.nodes.get(0).getProperty());
- LiteralType attr1ValueLiteral = new LiteralType();
- attr1ValueLiteral.getContent().add(fN.nodes.get(0).getValue());
- JAXBElement<LiteralType> attr1Value = factory.createLiteral(attr1ValueLiteral);
- attrName1GTEFive.getExpression().add(attr1Property);
- attrName1GTEFive.getExpression().add(attr1Value);
Add Comment
Please, Sign In to add comment