Skip to content

Representation - changing values vs. hasNullValues #10

Description

@lathspell

How can I modify an already present property in a Representation object?

There seems to be only withProperty(key, value) but it gives an exception if the key is already present. The getProperties() method returns a Collections.unmodifiableMap(properties) so I cannot use put()/remove() there.

Maybe an optional "boolean replaceIfExists" flag as last parameter for the with* Methods would be a solution?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions