java.lang.Object
com.inductiveautomation.ignition.common.project.resource.ProjectResourceId
All Implemented Interfaces:
Serializable

public class ProjectResourceId extends Object implements Serializable
Unique ID for a project resource, containing the project, module id, type id, and folder path.
See Also:
  • Field Details

    • projectName

      protected String projectName
    • resourcePath

      protected ResourcePath resourcePath
  • Constructor Details

  • Method Details

    • getProjectName

      public String getProjectName()
    • getResourceType

      public ResourceType getResourceType()
    • getResourcePath

      public ResourcePath getResourcePath()
      Returns:
      The resource path, which is the resource type id + folder path.
    • getFolderPath

      public String getFolderPath()
      Shortcut for getResourcePath().getPath().toString()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toJson

      public com.inductiveautomation.ignition.common.gson.JsonObject toJson()
    • fromJson

      public static ProjectResourceId fromJson(com.inductiveautomation.ignition.common.gson.JsonElement e)