public final class AudienceAttribute extends BaseAttribute
Constructor and Description |
---|
AudienceAttribute(java.lang.String id,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getName() |
int |
hashCode() |
java.lang.String |
toString() |
getId
public AudienceAttribute(java.lang.String id, java.lang.String name)
id
- of the Audiencename
- of the Audience.java.lang.IllegalArgumentException
- when id or name are null or empty.public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- the object to compare against.public java.lang.String getName()