Package com.uc4.api.objects
Class CustomAttribute
- java.lang.Object
-
- com.uc4.api.objects.CustomAttribute
-
public class CustomAttribute extends java.lang.ObjectCustom Attribute.
-
-
Constructor Summary
Constructors Modifier Constructor Description CustomAttribute(java.lang.String name, java.lang.String value)Creates a newCustomAttribute.protectedCustomAttribute(org.w3c.dom.Element row)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetName()Returns the name of the Custom Attribute.java.lang.StringgetValue()Returns the value of the Custom Attribute.inthashCode()
-
-
-
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:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-