Examples of propertyName()


Examples of com.github.dactiv.orm.annotation.StateDelete.propertyName()

    if (stateDelete == null) {
      return Boolean.TRUE;
    }
   
    Object value = ConvertUtils.convertToObject(stateDelete.value(), stateDelete.type().getValue());
    ReflectionUtils.invokeSetterMethod(entity, stateDelete.propertyName(), value);
    persistentContext.save(entity);
   
    return Boolean.FALSE;
  }
View Full Code Here

Examples of com.github.dactiv.orm.annotation.StateDelete.propertyName()

    if (stateDelete == null) {
      return Boolean.TRUE;
    }
   
    Object value = ConvertUtils.convertToObject(stateDelete.value(), stateDelete.type().getValue());
    ReflectionUtils.invokeSetterMethod(entity, stateDelete.propertyName(), value);
    persistentContext.update(entity);
   
    return Boolean.FALSE;
  }
View Full Code Here

Examples of org.jboss.dna.graph.request.RemovePropertyRequest.propertyName()

                } else {
                    details.changeProperty(set.property());
                }
            } else if (change instanceof RemovePropertyRequest) {
                RemovePropertyRequest remove = (RemovePropertyRequest)change;
                details.removeProperty(remove.propertyName());
            } else if (change instanceof DeleteBranchRequest) {
                // if the node was previously added than a remove results in a net no change
                if (details.getEventTypes().contains(ChangeType.NODE_ADDED)) {
                    deleteLocationDetails(workspace, location, detailsByLocationByWorkspace);
                } else {
View Full Code Here

Examples of org.jboss.dna.graph.request.RemovePropertyRequest.propertyName()

            } 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);
            } else if (change instanceof DeleteChildrenRequest) {
                DeleteChildrenRequest delete = (DeleteChildrenRequest)change;
                for (Location deletedChild : delete.getActualChildrenDeleted()) {
View Full Code Here

Examples of org.springframework.data.neo4j.annotation.GraphProperty.propertyName()

    }

    private String createNeo4jPropertyName() {
        final Neo4jPersistentEntity<?> entityClass = (Neo4jPersistentEntity<?>) getOwner();
        final GraphProperty annotation = getAnnotation(GraphProperty.class);
        if (annotation != null && annotation.propertyName() != null && !annotation.propertyName().isEmpty()) return annotation.propertyName();
        if (entityClass.useShortNames()) return getName();
        return String.format("%s.%s", entityClass.getType().getSimpleName(), getName());
    }

    public boolean mustConvert() {
View Full Code Here

Examples of org.springframework.data.neo4j.annotation.GraphProperty.propertyName()

    }

    private String createNeo4jPropertyName() {
        final Neo4jPersistentEntity<?> entityClass = (Neo4jPersistentEntity<?>) getOwner();
        final GraphProperty annotation = getAnnotation(GraphProperty.class);
        if (annotation != null && annotation.propertyName() != null && !annotation.propertyName().isEmpty()) return annotation.propertyName();
        if (entityClass.useShortNames()) return getName();
        return String.format("%s.%s", entityClass.getType().getSimpleName(), getName());
    }

    public boolean mustConvert() {
View Full Code Here

Examples of org.springframework.data.neo4j.annotation.GraphProperty.propertyName()

    }

    private String createNeo4jPropertyName() {
        final Neo4jPersistentEntity<?> entityClass = (Neo4jPersistentEntity<?>) getOwner();
        final GraphProperty annotation = getAnnotation(GraphProperty.class);
        if (annotation != null && annotation.propertyName() != null && !annotation.propertyName().isEmpty()) return annotation.propertyName();
        if (entityClass.useShortNames()) return getName();
        return String.format("%s.%s", entityClass.getType().getSimpleName(), getName());
    }

    public boolean mustConvert() {
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.