This documentation supports the 9.1 to 9.1 Service Pack 3 version and its patches of BMC Atrium Core. The documentation for version 9.1.04 and its patches is available here.

To view the latest version, select the version from the Product version menu.

SetClass function

Sets or creates a specified class with the specified properties. If the class does not exist, it is created. If the class exists, it is updated with the specified settings.

Namespace



*

http://atrium.bmc.com/2009/01/classes/types*
 

WSDL operation

<operation name="SetClass" parameterOrder="inargs">
<input message="tns:SetClassRequest" 
	 name="SetClassRequest"/>
<output message="tns:SetClassResponse"
	 name="SetClassResponse"/>
<fault message="tns:AtriumFault" name="AtriumFault"/>
</operation>

WSDL messages

<message name="SetClassRequest">
	 <part element="types:SetClass" name="inargs"/>
</message>
<message name="SetClassResponse">
	 <part element="common:StatusOutput" name="outargs"/>
</message>
<message name="AtriumFault">
	<part element="common:AtriumFault" name="errargs"/>
</message>

XSD schema

<element name="SetClass">
	<complexType>
		<sequence>
			<element name="lang" type="string"/>
			<element name="classNameId" type="common:ClassNameId"/>
			<element name="newClassNameId" type="common:ClassNameId"
				nillable="true" />
			<element name="classInfo" type="common:ClassInfoIn"
				nillable="true" />
			<element name="extensions" type="common:ExtensionsList"
				nillable="true" />
		/sequence>
	</complexType>
</element>
<element name="StatusOutput">
	<complexType>
		<sequence>
			<element name="status" type="impl:StatusList"/>
		</sequence>
	</complexType>
</element>
<element name="AtriumFault">
	<complexType>
		<choice>
			<element name="serviceFault"
				type="tns:AtriumServiceFault" />
			<element name="backendFault"
				type="tns:AtriumBackendFault" />
		</choice>
	</complexType>
</element>

Input arguments

 

lang

The language of the product specific to the locale. If no language is specified, the default language is used.

classNameId

The name of the class. It is a two-part structure that contains the namespace name and the class name. The name of the class must be unique to the namespace. See ClassNameId.

newClassNameId

The new name for the class. Specify NULL for this parameter if there is no superclass. See ClassNameId.

classInfo

Class information, see ClassInfoIn.

extensions

A list of extension types for the operation.

 

Return value

 

status

A list of zero or more notes, warnings, or errors generated from a call of this operation.

 

Fault message

 

Fault message

See Fault message

Was this page helpful? Yes No Submitting... Thank you

Comments