Class ProjectResourceId
- java.lang.Object
- 
- com.inductiveautomation.ignition.common.project.resource.ProjectResourceId
 
- 
- All Implemented Interfaces:
- java.io.Serializable
 
 public class ProjectResourceId extends java.lang.Object implements java.io.SerializableUnique ID for a project resource, containing the project, module id, type id, and folder path.- See Also:
- Serialized Form
 
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.lang.StringprojectNameprotected ResourcePathresourcePath
 - 
Constructor SummaryConstructors Constructor Description ProjectResourceId(java.lang.String project, ResourcePath resourcePath)ProjectResourceId(java.lang.String project, ResourceType resourceType, java.lang.String path)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)static ProjectResourceIdfromJson(com.inductiveautomation.ignition.common.gson.JsonElement e)java.lang.StringgetFolderPath()Shortcut for getResourcePath().getPath().toString()java.lang.StringgetProjectName()ResourcePathgetResourcePath()ResourceTypegetResourceType()inthashCode()com.inductiveautomation.ignition.common.gson.JsonObjecttoJson()java.lang.StringtoString()
 
- 
- 
- 
Field Detail- 
projectNameprotected java.lang.String projectName 
 - 
resourcePathprotected ResourcePath resourcePath 
 
- 
 - 
Constructor Detail- 
ProjectResourceIdpublic ProjectResourceId(java.lang.String project, ResourceType resourceType, java.lang.String path)
 - 
ProjectResourceIdpublic ProjectResourceId(java.lang.String project, ResourcePath resourcePath)
 
- 
 - 
Method Detail- 
getProjectNamepublic java.lang.String getProjectName() 
 - 
getResourceTypepublic ResourceType getResourceType() 
 - 
getResourcePathpublic ResourcePath getResourcePath() - Returns:
- The resource path, which is the resource type id + folder path.
 
 - 
getFolderPathpublic java.lang.String getFolderPath() Shortcut for getResourcePath().getPath().toString()
 - 
equalspublic boolean equals(java.lang.Object o) - Overrides:
- equalsin class- java.lang.Object
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 - 
toJsonpublic com.inductiveautomation.ignition.common.gson.JsonObject toJson() 
 - 
fromJsonpublic static ProjectResourceId fromJson(com.inductiveautomation.ignition.common.gson.JsonElement e) 
 
- 
 
-