Examples of AstLiteral


Examples of com.asakusafw.dmdl.model.AstLiteral

        result.setTimestampColumn(timestampColumn);
        result.setDeleteFlagColumn(deleteFlagColumn);
        if (deleteFlagValue != null) {
            try {
                DmdlParser dmdl = new DmdlParser();
                AstLiteral literal = dmdl.parseLiteral(deleteFlagValue);
                result.setDeleteFlagValue(literal);
            } catch (DmdlSyntaxException e) {
                throw new IllegalArgumentException(MessageFormat.format(
                        "論理削除フラグの値はJavaのリテラルの形式で指定してください: {0}",
                        deleteFlagValue), e);
View Full Code Here

Examples of com.asakusafw.dmdl.model.AstLiteral

                null,
                toName(OriginalNameDriver.TARGET_NAME),
                new AstAttributeElement(
                        null,
                        toSimpleName(OriginalNameDriver.ELEMENT_NAME),
                        new AstLiteral(
                                null,
                                AstLiteral.quote(name),
                                LiteralKind.STRING)));
    }
View Full Code Here

Examples of com.asakusafw.dmdl.model.AstLiteral

            DmdlSemantics environment,
            AstAttribute attribute,
            Map<String, AstAttributeElement> elements,
            String elementName,
            boolean mandatory) {
        AstLiteral literal = takeLiteral(environment, attribute, elements, elementName, LiteralKind.STRING, mandatory);
        if (literal != null) {
            return literal.toStringValue();
        }
        return null;
    }
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.