ObjectType

The ObjectType element in the view query definition file specifies the object type to use in the query.

If you do not specify a DisplayType element, the value of ObjectType determines the display type name used to show the results, as mapped by the current perspective.

The following table shows the allowable values for ObjectType and the corresponding display-type value used when retrieving a collection view definition from the current perspective, if different.
ObjectType value display-type value used (where different)
WSDLDocument  
XMLDocument  
XSDDocument  
PolicyDocument  
GenericDocument  
GenericObject  
WSDLBinding  
WSDLMessage  
WSDLOperation  
WSDLPart  
WSDLPort  
WSDLPortType  
WSDLService  
WSDLInput  
WSDLOutput  
WSDLFault  
SOAPAddress  
SOAPBinding  
XSDAttribute AttributeDeclaration
XSDComplexType ComplexTypeDefinition
XSDSimpleType SimpleTypeDefinition
XMLElement ElementDeclaration
SCAModule  
ModuleDocument  
ImportDocument  
ExportDocument  
Module  
Import  
Export  
SCAImportBinding  
SLSBImportBinding  
WebServiceImportBinding  
SCAWSDLPortType  
SCAExportBinding  
WebServiceExportBinding  
Subscription  
GraphQuery  
PropertyQuery  
PolicyExpression  
PolicyAttachment  
ExtensionLogicalObject  

The ObjectType element is optional. If you do not specify an ObjectType element, the display type name used to show the results is "Results", and the query is performed over all entities in WSRR.

Example

The following ObjectType element, when defined in a Query element, specifies that the GenericObject type is used in the query.
<ObjectType>GenericObject</ObjectType>