Examples of property()


Examples of au.net.ocean.maven.plugin.annotation.Parameter.property()

                parameterDescriptor.setRequirement(new Requirement(role, roleHint));
                parameterDescriptor.setName(field.getName());
            } else {
                getLogger().info("found @Parameter: (" + typeName + "):" + field.getName());
                parameterDescriptor.setDescription(parameter.description());
                String property = parameter.property().trim();
                parameterDescriptor.setName(property.length() > 0 ? property : field.getName());
                parameterDescriptor.setRequired(field.isAnnotationPresent(Required.class));
                parameterDescriptor.setEditable(!field.isAnnotationPresent(ReadOnly.class));
//                    DocletTag deprecationTag = field.getTagByName(DEPRECATED);
//                    if (deprecationTag != null) {
View Full Code Here

Examples of com.dooapp.gaedo.blueprints.utils.VertexPathNavigator.VertexLocation.property()

    VertexLocation destination = navigator.navigateOn(path);
    // null final property indicates object has no value for that property
    if(!destination.isNavigationSuccessfull()) {
      return matchesNull();
    } else {
      return matchesVertex(destination.vertex(), destination.property());
    }
  }

  /**
   * Define what that test must do when encountering a null value.
View Full Code Here

Examples of com.facebook.presto.jdbc.internal.jackson.databind.jsonFormatVisitors.JsonObjectFormatVisitor.property()

            String name = entry.getValue().getValue();
            // should all have the same type, so:
            if (ser == null) {
                ser = visitor.getProvider().findValueSerializer(entry.getKey().getClass(), _property);
            }
            objectVisitor.property(name, (JsonFormatVisitable) ser, valueType);
        }
    }
}
View Full Code Here

Examples of com.facebook.presto.jdbc.internal.joda.time.MutableDateTime.property()

                }
                Object[] array = innerMap.get(iFieldType);
                if (array == null) {
                    validValues = new HashSet<String>(32);
                    MutableDateTime dt = new MutableDateTime(0L, DateTimeZone.UTC);
                    Property property = dt.property(iFieldType);
                    int min = property.getMinimumValueOverall();
                    int max = property.getMaximumValueOverall();
                    if (max - min > 32) {  // protect against invalid fields
                        return ~position;
                    }
View Full Code Here

Examples of com.fasterxml.jackson.databind.jsonFormatVisitors.JsonObjectFormatVisitor.property()

            String name = entry.getValue().getValue();
            // should all have the same type, so:
            if (ser == null) {
                ser = visitor.getProvider().findValueSerializer(entry.getKey().getClass(), _property);
            }
            objectVisitor.property(name, (JsonFormatVisitable) ser, valueType);
        }
    }
}
View Full Code Here

Examples of com.hp.hpl.jena.eyeball.cardinality.PropertyCardinality.property()

        {
        Resource res = resource( name );
        PropertyCardinality pc = new PropertyCardinality( res, min, max );
        assertEquals( min, pc.minCardinality() );
        assertEquals( max, pc.maxCardinality() );
        assertEquals( res, pc.property() );
        }
    }


/*
 
View Full Code Here

Examples of com.tinkerpop.gremlin.structure.Edge.property()

            final JsonNode nodeLabel = json.get(GraphSONTokens._LABEL);
            final String label = nodeLabel == null ? EMPTY_STRING : nodeLabel.textValue();

            final Edge e = out.addEdge(label, in, T.id, edgeId);
            for (Map.Entry<String, Object> entry : props.entrySet()) {
                e.property(entry.getKey(), entry.getValue());
            }

            return e;
        }
View Full Code Here

Examples of com.tinkerpop.gremlin.structure.Element.property()

    }

    @Override
    public Property<V> attach(final Vertex hostVertex) {
        final Element hostElement = (Element) ((DetachedElement) this.element()).attach(hostVertex);
        final Property<V> property = hostElement.property(this.isHidden() ? Graph.Key.hide(this.key) : this.key);
        if (property.isPresent()) // && property.value().equals(this.value))
            return property;
        else
            throw new IllegalStateException("The detached property could not be be found at the provided vertex: " + this);
    }
View Full Code Here

Examples of com.tinkerpop.gremlin.structure.Vertex.property()

            final Object vertexId = getTypedValueFromJsonNode(json.get(GraphSONTokens._ID));
            final Vertex v = g.addVertex(T.id, vertexId);

            for (Map.Entry<String, Object> entry : props.entrySet()) {
                v.property(entry.getKey(), entry.getValue());
            }

            return v;
        }
View Full Code Here

Examples of com.tinkerpop.gremlin.structure.VertexProperty.property()

    @FeatureRequirement(featureClass = Graph.Features.VertexFeatures.class, feature = Graph.Features.VertexFeatures.FEATURE_META_PROPERTIES)
    public void shouldNotAllowVertexPropertySetProperty() {
        g.addVertex();
        assertException(g -> {
            final VertexProperty p = g.V().next().<String>property("test", "test");
            p.property("property", "on-a-property");
        });
    }

    @Test
    @FeatureRequirementSet(FeatureRequirementSet.Package.SIMPLE)
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.