Class CustomAttribute

java.lang.Object
com.uc4.api.objects.CustomAttribute

public class CustomAttribute extends Object
Custom Attribute.
  • Constructor Details

    • CustomAttribute

      public CustomAttribute(String name, String value)
      Creates a new CustomAttribute.
      Parameters:
      name - Name (Key) of the Custom Attribute Variable defined in the Variable UC_CUSTOM_ATTRIBUTES
      value - Selected Key of the user defined custom attribute
    • CustomAttribute

      protected CustomAttribute(Element row)
  • Method Details

    • getName

      public String getName()
      Returns the name of the Custom Attribute.
      Returns:
      Name of the Custom Attribute
    • getValue

      public String getValue()
      Returns the value of the Custom Attribute.
      Returns:
      Value of the Custom Attribute
    • hashCode

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

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