public class QueryHeader extends Object implements Serializable, Cloneable, Documentable
Constructor and Description |
---|
QueryHeader()
Create a blank query header.
|
QueryHeader(Node node)
Create a query header from an XML node.
|
QueryHeader(String id,
String title,
String description,
String type,
String statusID,
String securityType,
String revisionNote,
String dataDictID)
Create a query header with the specified values.
|
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
boolean |
equals(Object rhs) |
String |
getDataDictID()
Get the ID of the data dictionary used by this query.
|
String |
getDescription()
Get a string describing this query.
|
String |
getID()
Get the identification of this query.
|
String |
getRevisionNote()
Get a note about the revision history of this query.
|
String |
getSecurityType()
Get the type of security to apply to this query.
|
String |
getStatusID()
Get the status of the query.
|
String |
getTitle()
Get the title of this query.
|
String |
getType()
Get the type of the query, usually QUERY.
|
URI |
getURIID()
Get the identification of this query as a URI.
|
int |
hashCode() |
void |
setDataDictID(String dataDictID)
Set the ID of the data dictionary used by this query.
|
void |
setDescription(String description)
Set a string describing this query.
|
void |
setID(String id)
Set the identification of this query.
|
void |
setRevisionNote(String revisionNote)
Set a note about the revision history of this query.
|
void |
setSecurityType(String securityType)
Set the type of security to apply to this query.
|
void |
setStatusID(String statusID)
Set the status of the query.
|
void |
setTitle(String title)
Set the title of this query.
|
void |
setType(String type)
Set the type of the query, usually QUERY.
|
String |
toString() |
Node |
toXML(Document doc)
Document (aka serialize) this object into an XML DOM node.
|
public QueryHeader()
public QueryHeader(String id, String title, String description, String type, String statusID, String securityType, String revisionNote, String dataDictID)
id
- The identification of this query.title
- The title of this query.description
- A string describing this query.type
- The type of the query, usually QUERY.statusID
- The status of the query.securityType
- The type of security to apply to this query.revisionNote
- A note about the revision history of this query.dataDictID
- The ID of the data dictionary used by this query.public QueryHeader(Node node)
node
- The <queryAttributes> node.public String getID()
public URI getURIID()
URI
value.public String getTitle()
public String getDescription()
public String getType()
public String getStatusID()
public String getSecurityType()
public String getRevisionNote()
public String getDataDictID()
public void setID(String id)
id
- The identification of this query.public void setTitle(String title)
title
- The title of this query.public void setDescription(String description)
description
- A string describing this query.public void setType(String type)
type
- The type of the query, usually QUERY.public void setStatusID(String statusID)
statusID
- The status of the query.public void setSecurityType(String securityType)
securityType
- The type of security to apply to this query.public void setRevisionNote(String revisionNote)
revisionNote
- A note about the revision history of this query.public void setDataDictID(String dataDictID)
dataDictID
- The ID of the data dictionary used by this query.public Node toXML(Document doc) throws DOMException
Documentable
toXML
in interface Documentable
doc
- What document will own the node.DOMException
- If an error occurs while creating the DOM structure.Copyright © 1999–2017 Apache OODT. All rights reserved.