public OModifier copy() { OModifier result = new OModifier(-1); result.squareBrackets = squareBrackets; result.arrayRange = arrayRange == null ? null : arrayRange.copy(); result.condition = condition == null ? null : condition.copy(); result.arraySingleValues = arraySingleValues == null ? null : arraySingleValues.copy(); result.rightBinaryCondition = rightBinaryCondition == null ? null : rightBinaryCondition.copy(); result.methodCall = methodCall == null ? null : methodCall.copy(); result.suffix = suffix == null ? null : suffix.copy(); result.next = next == null ? null : next.copy(); return result; }
public void deserialize(OResult fromResult) { alias = fromResult.getProperty("alias"); if (fromResult.getProperty("modifier") != null) { modifier = new OModifier(-1); modifier.deserialize(fromResult.getProperty("modifier")); } recordAttr = fromResult.getProperty("recordAttr"); if (fromResult.getProperty("rid") != null) { rid = new ORid(-1); rid.deserialize(fromResult.getProperty("rid")); } type = DESC.equals(fromResult.getProperty("type")) ? DESC : ASC; if (fromResult.getProperty("collate") != null) { collate = new OExpression(-1); collate.deserialize(fromResult.getProperty("collate")); } }
modifier = new OModifier(-1); modifier.deserialize(fromResult.getProperty("modifier"));
public void deserialize(OResult fromResult) { super.deserialize(fromResult); if (fromResult.getProperty("number") != null) { number = new ONumber(-1); number.deserialize(fromResult.getProperty("number")); } if (fromResult.getProperty("identifier") != null) { identifier = new OBaseIdentifier(-1); identifier.deserialize(fromResult.getProperty("identifier")); } if (fromResult.getProperty("inputParam") != null) { inputParam = OInputParameter.deserializeFromOResult(fromResult.getProperty("inputParam")); } if (fromResult.getProperty("string") != null) { string = fromResult.getProperty("string"); } if (fromResult.getProperty("modifier") != null) { modifier = new OModifier(-1); modifier.deserialize(fromResult.getProperty("modifier")); } }
next = new OModifier(-1); next.deserialize(fromResult.getProperty("next"));
final public OModifier Modifier() throws ParseException { OModifier jjtn000 = new OModifier(JJTMODIFIER); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000);