com.ibm.etools.cobol.application.model.cobol

Interface XMLType

  • All Superinterfaces:
    ASTNode, org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier


    public interface XMLType
    extends ASTNode
    A representation of an XML type in the TYPE clause of the XML GENERATE statement.

    The following features are supported:

    See Also:
    COBOLPackage.getXMLType()
    • Method Detail

      • getDataItem

        DataRef getDataItem()
        Returns the value of the 'Data Item' containment reference.

        The value is a reference to the data item that a type is being specified for.

        Returns:
        the value of the 'Data Item' containment reference.
        See Also:
        setDataItem(DataRef), COBOLPackage.getXMLType_DataItem()
      • setDataItem

        void setDataItem(DataRef value)
        Sets the value of the 'Data Item' containment reference.
        Parameters:
        value - the new value of the 'Data Item' containment reference.
        See Also:
        getDataItem()
      • getType

        XMLTypeValue getType()
        Returns the value of the 'Type' attribute. The literals are from the enumeration XMLTypeValue.

        The value represents either ATTRIBUTE, ELEMENT, or CONTENT.

        Returns:
        the value of the 'Type' attribute.
        See Also:
        XMLTypeValue, setType(XMLTypeValue), COBOLPackage.getXMLType_Type()