public class DefaultQueryInfo
extends java.lang.Object
implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Java class for DefaultQueryInfoType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="DefaultQueryInfoType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="Targeting_Expression_Info" type="{http://taxii.mitre.org/query/taxii_default_query-1}TargetingExpressionInfoType"/>
<element name="Capability_Module" type="{http://www.w3.org/2001/XMLSchema}anyURI" maxOccurs="unbounded"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<java.lang.String> |
capabilityModules |
protected TargetingExpressionInfoType |
targetingExpressionInfo |
| Constructor and Description |
|---|
DefaultQueryInfo()
Default no-arg constructor
|
DefaultQueryInfo(TargetingExpressionInfoType targetingExpressionInfo,
java.util.List<java.lang.String> capabilityModules)
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.util.List<java.lang.String> |
getCapabilityModules()
Gets the value of the capabilityModules property.
|
TargetingExpressionInfoType |
getTargetingExpressionInfo()
Gets the value of the targetingExpressionInfo property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setTargetingExpressionInfo(TargetingExpressionInfoType value)
Sets the value of the targetingExpressionInfo property.
|
DefaultQueryInfo |
withCapabilityModules(java.util.Collection<java.lang.String> values) |
DefaultQueryInfo |
withCapabilityModules(java.lang.String... values) |
DefaultQueryInfo |
withTargetingExpressionInfo(TargetingExpressionInfoType value) |
protected TargetingExpressionInfoType targetingExpressionInfo
protected java.util.List<java.lang.String> capabilityModules
public DefaultQueryInfo()
public DefaultQueryInfo(TargetingExpressionInfoType targetingExpressionInfo, java.util.List<java.lang.String> capabilityModules)
public TargetingExpressionInfoType getTargetingExpressionInfo()
TargetingExpressionInfoTypepublic void setTargetingExpressionInfo(TargetingExpressionInfoType value)
value - allowed object is
TargetingExpressionInfoTypepublic java.util.List<java.lang.String> getCapabilityModules()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the capabilityModules property.
For example, to add a new item, do as follows:
getCapabilityModules().add(newItem);
Objects of the following type(s) are allowed in the list
String
public 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 DefaultQueryInfo withTargetingExpressionInfo(TargetingExpressionInfoType value)
public DefaultQueryInfo withCapabilityModules(java.lang.String... values)
public DefaultQueryInfo withCapabilityModules(java.util.Collection<java.lang.String> values)