Class AbstractEventGraph.EventVertex

    • Constructor Detail

    • Method Detail

      • inherited

        public final Map<String,​Object> inherited()
        Returns inherited properties as an unmodifiableMap.
        Returns:
        inherited properties
      • local

        public final Map<String,​Object> local()
        Returns an unmodifiable Map of all properties set on this Element.
        Returns:
        all properties set on this element
      • getProperty

        public final Optional<Object> getProperty​(String name)
        Returns the value of a property. If the property is local its value is returned before checking for an inherited property.
        Parameters:
        name - of property to return
        Returns:
        value mapped to name
        Throws:
        NullPointerException - if name is null
      • property

        public final SELF property​(String name,
                                   Object value)
        Adds a local property to this element returning it.
        Parameters:
        name - of property
        value - of property
        Returns:
        this element