Package org.jboss.dna.graph.request

Examples of org.jboss.dna.graph.request.SetPropertyRequest.property()


                }
            } else if (change instanceof SetPropertyRequest) {
                SetPropertyRequest set = (SetPropertyRequest)change;

                if (set.isNewProperty()) {
                    details.addProperty(set.property());
                } else {
                    details.changeProperty(set.property());
                }
            } else if (change instanceof RemovePropertyRequest) {
                RemovePropertyRequest remove = (RemovePropertyRequest)change;
View Full Code Here


                SetPropertyRequest set = (SetPropertyRequest)change;

                if (set.isNewProperty()) {
                    details.addProperty(set.property());
                } else {
                    details.changeProperty(set.property());
                }
            } else if (change instanceof RemovePropertyRequest) {
                RemovePropertyRequest remove = (RemovePropertyRequest)change;
                details.removeProperty(remove.propertyName());
            } else if (change instanceof DeleteBranchRequest) {
View Full Code Here

                        details.removeProperty(entry.getKey());
                    }
                }
            } else if (change instanceof SetPropertyRequest) {
                SetPropertyRequest set = (SetPropertyRequest)change;
                details.changeProperty(set.property());
            } else if (change instanceof RemovePropertyRequest) {
                RemovePropertyRequest remove = (RemovePropertyRequest)change;
                details.removeProperty(remove.propertyName());
            } else if (change instanceof DeleteBranchRequest) {
                details.addEventType(ChangeType.NODE_REMOVED);
View Full Code Here

                                                 Property property ) {
        Request request = executedRequests.poll();
        assertThat(request, is(instanceOf(SetPropertyRequest.class)));
        SetPropertyRequest read = (SetPropertyRequest)request;
        assertThat(read.on(), is(on));
        assertThat(read.property(), is(property));
    }

    // ----------------------------------------------------------------------------------------------------------------
    // Immediate requests
    // ----------------------------------------------------------------------------------------------------------------
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.