Class AbstractTagPath
java.lang.Object
com.inductiveautomation.ignition.common.tags.paths.AbstractTagPath
- All Implemented Interfaces:
Path
,TagPath
,Serializable
,Comparable<TagPath>
- Direct Known Subclasses:
BasicTagPath
,PropertyAlteredTagPath
,SimplifiedTagPath
,SourceAlteredTagPath
This implementation simply takes care of the toString functions of TagPath.
- See Also:
-
Field Summary
Fields inherited from interface com.inductiveautomation.ignition.common.Path
SERIALIZATION_WHITELIST
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected String
_createPath
(boolean full) static int
compareNullLow
(Property<?> c1, Property<?> c2) Null-safe compare.int
boolean
int
hashCode()
boolean
isAncestorOf
(Path child) Returns whether the provided path is a child path of this one.toString()
Returns the full string representation, with source (if any), and property designator (if any)Returns the string representation of the path without the source or the property.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.inductiveautomation.ignition.common.Path
getLastPathComponent, getPathComponent, getPathLength
Methods inherited from interface com.inductiveautomation.ignition.common.tags.model.TagPath
getChildPath, getChildPath, getItemName, getParentPath, getProperty, getSource
-
Constructor Details
-
AbstractTagPath
public AbstractTagPath()
-
-
Method Details
-
toStringFull
Description copied from interface:TagPath
Returns the full string representation, with source (if any), and property designator (if any)- Specified by:
toStringFull
in interfaceTagPath
-
toStringPartial
Description copied from interface:TagPath
Returns the string representation of the path without the source or the property.- Specified by:
toStringPartial
in interfaceTagPath
-
isAncestorOf
Description copied from interface:Path
Returns whether the provided path is a child path of this one.- Specified by:
isAncestorOf
in interfacePath
-
hashCode
public int hashCode() -
equals
-
_createPath
-
toString
-
compareNullLow
Null-safe compare. Null is the lowest value possible. -
compareTo
- Specified by:
compareTo
in interfaceComparable<TagPath>
-