Class BasicTagPath
java.lang.Object
com.inductiveautomation.ignition.common.sqltags.model.AbstractTagPath
com.inductiveautomation.ignition.common.sqltags.parser.BasicTagPath
- All Implemented Interfaces:
Path
,TagPath
,Serializable
,Comparable<TagPath>
Deprecated.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionDeprecated.protected TagPath
Deprecated.Deprecated.protected TagProp
Deprecated.protected String
Deprecated.protected String
Deprecated.Fields inherited from interface com.inductiveautomation.ignition.common.Path
SERIALIZATION_WHITELIST
-
Constructor Summary
ConstructorsConstructorDescriptionBasicTagPath
(String source) Deprecated.BasicTagPath
(String source, String system) Deprecated.Creates a tag path to a source folderBasicTagPath
(String source, String system, List<String> pathParts) Deprecated.Creates a tag path to a folderDeprecated.Creates a tag path to a tag's propertyBasicTagPath
(String source, List<String> pathParts) Deprecated.Creates a tag path to a folder.BasicTagPath
(String source, List<String> pathParts, TagProp prop) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic TagPath
Deprecated.Takes a folder path, and appends the second tag path on to it.static TagPath
Deprecated.Extends the tag path by the given name.static BasicTagPath
Deprecated.protected TagPath
createDerivedTagPath
(TagPath parent, String source, String system, List<String> parts, TagProp prop) Deprecated.getChildPath
(String nextId) Deprecated.Returns a path below the current path.getChildPath
(String nextId, boolean folder) Deprecated.Deprecated.Returns the name of the item at the end of the path that this path points to.Deprecated.Convenience function to return the last path element.Deprecated.Returns the path to the parent folder.getPathComponent
(int i) Deprecated.Returns the path element at the specified location.int
Deprecated.Returns the number of elements in the path, which can be retrieved through getPathComponent().Deprecated.Returns the type of property in the tag that this path is referencing.Deprecated.Returns the source for this tag path.Deprecated.Returns which system this tag is being driven by.boolean
isFolder()
Deprecated.static BasicTagPath
renameParentFolder
(TagPath path, TagPath newParent) Deprecated.Creates a path equal to the original, but with the new name specified by newParent.protected void
Deprecated.protected void
setPathParts
(List<String> parts) Deprecated.static BasicTagPath
Deprecated.Returns a sub portion of the path.Methods inherited from class com.inductiveautomation.ignition.common.sqltags.model.AbstractTagPath
_createPath, compareTo, equals, hashCode, isAncestorOf, toString, toStringFull, toStringPartial
-
Field Details
-
EMPTY_LIST
Deprecated. -
pathParts
Deprecated. -
source
Deprecated. -
system
Deprecated. -
prop
Deprecated. -
parent
Deprecated.
-
-
Constructor Details
-
BasicTagPath
Deprecated. -
BasicTagPath
Deprecated.Creates a tag path to a tag's property -
BasicTagPath
Deprecated.Creates a tag path to a folder -
BasicTagPath
Deprecated.Creates a tag path to a folder. System will be null. -
BasicTagPath
Deprecated.Creates a tag path to a source folder -
BasicTagPath
Deprecated.
-
-
Method Details
-
renameParentFolder
Deprecated.Creates a path equal to the original, but with the new name specified by newParent. The parent cannot change length, it can only be renamed. -
append
Deprecated.Takes a folder path, and appends the second tag path on to it. The returned tag will have the source and system of the root path, unless the root path source/system are null (not just empty string). -
append
Deprecated.Extends the tag path by the given name. Similar to getChildPath, however this static version will accept a null value for parent, and will generate a new path with just the name if necessary. -
copy
Deprecated. -
subPath
Deprecated.Returns a sub portion of the path. If the specified length covers the last component, the source path's property will be included in the resulting path as well. -
setPathParts
Deprecated. -
getItemName
Deprecated.Description copied from interface:TagPath
Returns the name of the item at the end of the path that this path points to. This will be a tag name or a folder name.- Specified by:
getItemName
in interfaceTagPath
-
getLastPathComponent
Deprecated.Description copied from interface:Path
Convenience function to return the last path element.- Specified by:
getLastPathComponent
in interfacePath
-
getParentPath
Deprecated.Returns the path to the parent folder.- Specified by:
getParentPath
in interfacePath
- Specified by:
getParentPath
in interfaceTagPath
-
setParent
Deprecated. -
getProperty
Deprecated.Description copied from interface:TagPath
Returns the type of property in the tag that this path is referencing.- Specified by:
getProperty
in interfaceTagPath
-
isFolder
Deprecated. -
getSource
Deprecated.Description copied from interface:TagPath
Returns the source for this tag path. Some tag paths don't have a source, indicating that they may be a relative, or they may wish to use a default source. -
getSystem
Deprecated.Description copied from interface:TagPath
Returns which system this tag is being driven by. If null, the system name won't be used to distinguish tags. -
getPathComponent
Deprecated.Description copied from interface:Path
Returns the path element at the specified location.- Specified by:
getPathComponent
in interfacePath
-
getPathLength
public int getPathLength()Deprecated.Description copied from interface:Path
Returns the number of elements in the path, which can be retrieved through getPathComponent().- Specified by:
getPathLength
in interfacePath
-
getChildPath
Deprecated. -
getChildPath
Deprecated.Description copied from interface:TagPath
Returns a path below the current path.- Specified by:
getChildPath
in interfaceTagPath
-
createDerivedTagPath
protected TagPath createDerivedTagPath(TagPath parent, String source, String system, List<String> parts, TagProp prop) Deprecated.
-