Interface StringLiteral

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.eclipse.emf.common.util.EList<String> getContentTypes()
      Returns the value of the 'Content Types' attribute list.
      org.eclipse.emf.common.util.EList<String> getLines()
      Returns the value of the 'Lines' attribute list.
      boolean isSetContentTypes()
      Returns whether the value of the 'Content Types' attribute list is set.
      org.eclipse.emf.common.util.EList<String> lines​(boolean trim)
      * Gets content of the StringLiteral by its lines without service symbols ('"', '|')
      void unsetContentTypes()
      Unsets the value of the 'Content Types' attribute list.
      • Methods inherited from interface org.eclipse.emf.ecore.EObject

        eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
      • Methods inherited from interface org.eclipse.emf.common.notify.Notifier

        eAdapters, eDeliver, eNotify, eSetDeliver
    • Method Detail

      • getLines

        org.eclipse.emf.common.util.EList<String> getLines()
        Returns the value of the 'Lines' attribute list. The list contents are of type String.
        Returns:
        the value of the 'Lines' attribute list.
        See Also:
        BslPackage.getStringLiteral_Lines()
      • getContentTypes

        org.eclipse.emf.common.util.EList<String> getContentTypes()
        Returns the value of the 'Content Types' attribute list. The list contents are of type String. * Returns computed types of string literal content. If not set then types was not computed yet, if collection is empty then literal has no type.
        Returns:
        the value of the 'Content Types' attribute list.
        See Also:
        isSetContentTypes(), unsetContentTypes(), BslPackage.getStringLiteral_ContentTypes()
      • lines

        org.eclipse.emf.common.util.EList<String> lines​(boolean trim)
        * Gets content of the StringLiteral by its lines without service symbols ('"', '|')
        Parameters:
        trim - defines needing to removing leading and trailing whitespace
        Returns:
        list of string line without service symbols, never null