public class CriterionType
extends java.lang.Object
implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Java class for CriterionType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CriterionType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="Target" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="Test" type="{http://taxii.mitre.org/query/taxii_default_query-1}TestType"/>
</sequence>
<attribute name="negate" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Boolean |
negate |
protected java.lang.String |
target |
protected TestType |
test |
| Constructor and Description |
|---|
CriterionType()
Default no-arg constructor
|
CriterionType(java.lang.String target,
TestType test,
java.lang.Boolean negate)
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) |
java.lang.String |
getTarget()
Gets the value of the target property.
|
TestType |
getTest()
Gets the value of the test property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
boolean |
isNegate()
Gets the value of the negate property.
|
void |
setNegate(java.lang.Boolean value)
Sets the value of the negate property.
|
void |
setTarget(java.lang.String value)
Sets the value of the target property.
|
void |
setTest(TestType value)
Sets the value of the test property.
|
CriterionType |
withNegate(java.lang.Boolean value) |
CriterionType |
withTarget(java.lang.String value) |
CriterionType |
withTest(TestType value) |
protected java.lang.String target
protected TestType test
protected java.lang.Boolean negate
public CriterionType()
public CriterionType(java.lang.String target,
TestType test,
java.lang.Boolean negate)
public java.lang.String getTarget()
Stringpublic void setTarget(java.lang.String value)
value - allowed object is
Stringpublic TestType getTest()
TestTypepublic void setTest(TestType value)
value - allowed object is
TestTypepublic boolean isNegate()
Booleanpublic void setNegate(java.lang.Boolean value)
value - allowed object is
Booleanpublic 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 CriterionType withTarget(java.lang.String value)
public CriterionType withTest(TestType value)
public CriterionType withNegate(java.lang.Boolean value)