public class CustomCriteria extends CustomCriteriaLeaf implements Serializable
CustomCriteria object is used to perform custom criteria
targeting
on custom targeting keys of type CustomTargetingKey.Type#PREDEFINED
or CustomTargetingKey.Type#FREEFORM.| Constructor and Description |
|---|
CustomCriteria() |
CustomCriteria(Long keyId,
long[] valueIds,
CustomCriteriaComparisonOperator operator) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static org.apache.axis.encoding.Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer
|
Long |
getKeyId()
Gets the keyId value for this CustomCriteria.
|
CustomCriteriaComparisonOperator |
getOperator()
Gets the operator value for this CustomCriteria.
|
static org.apache.axis.encoding.Serializer |
getSerializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Serializer
|
static org.apache.axis.description.TypeDesc |
getTypeDesc()
Return type metadata object
|
long[] |
getValueIds()
Gets the valueIds value for this CustomCriteria.
|
long |
getValueIds(int i) |
int |
hashCode() |
void |
setKeyId(Long keyId)
Sets the keyId value for this CustomCriteria.
|
void |
setOperator(CustomCriteriaComparisonOperator operator)
Sets the operator value for this CustomCriteria.
|
void |
setValueIds(int i,
long _value) |
void |
setValueIds(long[] valueIds)
Sets the valueIds value for this CustomCriteria.
|
String |
toString() |
public CustomCriteria()
public CustomCriteria(Long keyId, long[] valueIds, CustomCriteriaComparisonOperator operator)
public String toString()
toString in class CustomCriteriaLeafpublic Long getKeyId()
CustomTargetingKey.id of the CustomTargetingKey
object
that was created using CustomTargetingService.
This attribute is
required.public void setKeyId(Long keyId)
keyId - * The CustomTargetingKey.id of the CustomTargetingKey
object
that was created using CustomTargetingService.
This attribute is
required.public long[] getValueIds()
CustomTargetingValue objects to target the
custom
targeting key with id keyId.
This attribute is
required.public void setValueIds(long[] valueIds)
valueIds - * The ids of CustomTargetingValue objects to target the
custom
targeting key with id keyId.
This attribute is
required.public long getValueIds(int i)
public void setValueIds(int i,
long _value)
public CustomCriteriaComparisonOperator getOperator()
public void setOperator(CustomCriteriaComparisonOperator operator)
operator - * The comparison operator. This attribute is required.public boolean equals(Object obj)
equals in class CustomCriteriaLeafpublic int hashCode()
hashCode in class CustomCriteriaLeafpublic static org.apache.axis.description.TypeDesc getTypeDesc()
public static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
Copyright © 2019. All rights reserved.