Interface JSBundleObject

All Known Subinterfaces:
JSBundle, JSBundleAsset, JSModule, JSPackage, JSResolvableBundleAsset, ModifiableJSPackage

public interface JSBundleObject
Provides an object related to the NPM description model that can be directly referenced by its unique ID. A JSBundle contains JSBundleObjects.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the model object's unique ID.
    Returns the model object's name.
  • Method Details

    • getId

      String getId()
      Returns the model object's unique ID. Since these IDs are guaranteed to be unique across one portal, they can be used for referencing the object and lookups.
      Returns:
      the unique ID of the model object
    • getName

      String getName()
      Returns the model object's name. Unlike IDs, names can be duplicated and may be not unique.
      Returns:
      the symbolic name of the object