Interface IPrototypeService

All Superinterfaces:
IDataPrototypeProvider

public interface IPrototypeService extends IDataPrototypeProvider
Author:
POLARION SOFTWARE
  • Method Details

    • getPrototypeNames

      Collection getPrototypeNames()
      Returns:
      The collection of String prototype names.
    • getSortedPrototypeNames

      List getSortedPrototypeNames()
      Returns:
      The list of existing prototypes sorted in such a way, that for every prototype holds, that it's supertypes go before the type itself. In other words, if you will traverse the protorypes in the given order, then it's ensured, that you have already passed through the supertypes of the prototype on the current position.
    • getPrototype

      IPrototype getPrototype(String name)
      Returns the prototype with specified name.
      Parameters:
      name -
      Returns:
      the IPrototype with the specified name, null if no such prototype exist
    • getPrototype

      IPrototype getPrototype(SubterraURI prototypeURI)
      Returns:
      null if no such prototype exist.
    • getListPrototype

      IListType getListPrototype(String listTypeId)
      Parameters:
      listTypeId -
      Returns:
      null if such list type is not known.
    • getStructPrototype

      IStructType getStructPrototype(String structTypeId)
      Parameters:
      structTypeId -
      Returns:
      null if such list type is not known.
    • getStructPrototypeNames

      @NotNull List<String> getStructPrototypeNames()
      Returns:
      The list of String struct prototype names.
      Since:
      3.21.1