Package org.lilyproject.repository.api.Link

Examples of org.lilyproject.repository.api.Link.LinkBuilder


        if (recordIdLength == 0 && args == null) {
            return new Link();
        }

        LinkBuilder builder = Link.newBuilder();
        if (recordIdLength > 0) {
            RecordId id = idGenerator.fromBytes(recordIdBytes);
            builder.recordId(id);
        }

        if (args != null && args.length() > 0) {
            argsFromString(args, builder, args /* does not matter, should never be invalid */);
        }

        return builder.create();
    }
View Full Code Here

TOP

Related Classes of org.lilyproject.repository.api.Link.LinkBuilder

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.