public class DefaultQuery
extends java.lang.Object
implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Java class for DefaultQueryType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="DefaultQueryType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="Criteria" type="{http://taxii.mitre.org/query/taxii_default_query-1}CriteriaType"/>
</sequence>
<attribute name="targeting_expression_id" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected CriteriaType |
criteria |
protected java.lang.String |
targetingExpressionId |
| Constructor and Description |
|---|
DefaultQuery()
Default no-arg constructor
|
DefaultQuery(CriteriaType criteria,
java.lang.String targetingExpressionId)
Fully-initialising value constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
java.lang.Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy) |
CriteriaType |
getCriteria()
Gets the value of the criteria property.
|
java.lang.String |
getTargetingExpressionId()
Gets the value of the targetingExpressionId property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setCriteria(CriteriaType value)
Sets the value of the criteria property.
|
void |
setTargetingExpressionId(java.lang.String value)
Sets the value of the targetingExpressionId property.
|
DefaultQuery |
withCriteria(CriteriaType value) |
DefaultQuery |
withTargetingExpressionId(java.lang.String value) |
protected CriteriaType criteria
protected java.lang.String targetingExpressionId
public DefaultQuery()
public DefaultQuery(CriteriaType criteria, java.lang.String targetingExpressionId)
public CriteriaType getCriteria()
CriteriaTypepublic void setCriteria(CriteriaType value)
value - allowed object is
CriteriaTypepublic java.lang.String getTargetingExpressionId()
Stringpublic void setTargetingExpressionId(java.lang.String value)
value - allowed object is
Stringpublic boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
java.lang.Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equalspublic boolean equals(java.lang.Object object)
equals in class java.lang.Objectpublic int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodepublic int hashCode()
hashCode in class java.lang.Objectpublic DefaultQuery withCriteria(CriteriaType value)
public DefaultQuery withTargetingExpressionId(java.lang.String value)