Class CustomContentProperties

java.lang.Object
com.aquima.interactions.portal.content.CustomContentProperties

public class CustomContentProperties extends Object
Since:
9.3
Author:
m.mahabiersing
  • Constructor Details

    • CustomContentProperties

      public CustomContentProperties()
    • CustomContentProperties

      public CustomContentProperties(Map<String,IValue> values)
    • CustomContentProperties

      public CustomContentProperties(CustomContentProperties source)
  • Method Details

    • getProperties

      public String[] getProperties()
      Return a list of all property keys
      Returns:
      A list of all property keys, never null
    • getProperty

      public IValue getProperty(String key)
      Retrieve a custom property
      Parameters:
      key - The key of the property to retrieve, may not be null or empty
      Returns:
      The value associated with the key, may be null if no value exists
    • hasProperty

      public boolean hasProperty(String key)
      Check if a given property key is present
      Parameters:
      key - The key of the property to check, may not be null or empty
      Returns:
      true if the key is present, false otherwise
    • setProperty

      public void setProperty(String key, IValue value)
      Set a property value
      Parameters:
      key - The key of the property to set, may not be null or empty
      value - The value of the property to set, may not be null
    • clearProperty

      public void clearProperty(String key)
      Clear a property value
      Parameters:
      key - The key of the property to clear, may not be null or empty
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object