Class CardinalityEntityGenerator<T>

    • Constructor Detail

      • CardinalityEntityGenerator

        public CardinalityEntityGenerator()
    • Method Detail

      • getToSketchFunction

        public abstract Function<Object,​T> getToSketchFunction()
      • getPropertiesToCopy

        public Set<String> getPropertiesToCopy()
      • setPropertiesToCopy

        public void setPropertiesToCopy​(Collection<String> propertiesToCopy)

        Copies the properties from the edge to the new entities.

        IMPORTANT - it does not clone the property values. You could end up with an object being shared between multiple elements.

        Parameters:
        propertiesToCopy - the properties to copy from the edge
      • propertiesToCopy

        public CardinalityEntityGenerator propertiesToCopy​(String... propertiesToCopy)

        Copies the properties from the edge to the new entities.

        IMPORTANT - it does not clone the property values. You could end up with an object being shared between multiple elements.

        Parameters:
        propertiesToCopy - the properties to copy from the edge
        Returns:
        this
      • getGroup

        public String getGroup()
      • setGroup

        public void setGroup​(String group)
      • getCardinalityPropertyName

        public String getCardinalityPropertyName()
      • setCardinalityPropertyName

        public void setCardinalityPropertyName​(String cardinalityPropertyName)
      • getCountProperty

        public String getCountProperty()
      • setCountProperty

        public void setCountProperty​(String countProperty)
      • getEdgeGroupProperty

        public String getEdgeGroupProperty()
      • setEdgeGroupProperty

        public void setEdgeGroupProperty​(String edgeGroupProperty)
      • setVertexValueConverter

        public void setVertexValueConverter​(Function<Object,​Object> vertexValueConverter)