Package com.uc4.api.objects
Class CustomAttribute
- java.lang.Object
-
- com.uc4.api.objects.CustomAttribute
-
public class CustomAttribute extends java.lang.Object
Custom Attribute.
-
-
Constructor Summary
Constructors Modifier Constructor Description CustomAttribute(java.lang.String name, java.lang.String value)
Creates a newCustomAttribute
.protected
CustomAttribute(org.w3c.dom.Element row)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getName()
Returns the name of the Custom Attribute.java.lang.String
getValue()
Returns the value of the Custom Attribute.int
hashCode()
-
-
-
Constructor Detail
-
CustomAttribute
public CustomAttribute(java.lang.String name, java.lang.String value)
Creates a newCustomAttribute
.- Parameters:
name
- Name (Key) of the Custom Attribute Variable defined in the Variable UC_CUSTOM_ATTRIBUTESvalue
- Selected Key of the user defined custom attribute
-
CustomAttribute
protected CustomAttribute(org.w3c.dom.Element row)
-
-
Method Detail
-
getName
public java.lang.String getName()
Returns the name of the Custom Attribute.- Returns:
- Name of the Custom Attribute
-
getValue
public java.lang.String getValue()
Returns the value of the Custom Attribute.- Returns:
- Value of the Custom Attribute
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-