Class NodeId
java.lang.Object
com.inductiveautomation.ignition.common.tags.NodeId
- All Implemented Interfaces:
Serializable
- Since:
- 8.0
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
static class
static class
-
Method Summary
Modifier and TypeMethodDescriptionboolean
static NodeId
forChain
(Serializable... ids) static NodeId
fromString
(String value) This returns the root entity id for the overall object.Returns the last portion of the node id, which is the specific id of the particular member.getOwner()
int
hashCode()
idChain()
inheritedMemberId
(NodeId member) Replaces the member's entity id with the entity id of this node id.boolean
boolean
isMember()
boolean
isMemberOf
(NodeId other) Returns true if this id is under the provided id.Takes a NodeId, which represents the id of an inherited node, and turns it into a member node of this id.static NodeId
newId()
static NodeId
newId
(Serializable name) Used for testing only, the default factory will ignore the passed namenewParentEntity
(Serializable entityId) static void
setIdFactory
(NodeId.IdFactory factory) toString()
-
Method Details
-
setIdFactory
-
newId
-
newId
Used for testing only, the default factory will ignore the passed name -
newChildId
-
forChain
-
memberId
Takes a NodeId, which represents the id of an inherited node, and turns it into a member node of this id. This is used in the case of composite tags. For example, if we're node id 8, and we have an instance of udt 2, which has member 5, we would received "2.5" and return "8.2.5". -
inheritedMemberId
Replaces the member's entity id with the entity id of this node id. -
newParentEntity
-
getMemberId
Returns the last portion of the node id, which is the specific id of the particular member. -
getMemberNodeId
-
isInherited
public boolean isInherited() -
isMember
public boolean isMember() -
getOwner
-
isMemberOf
Returns true if this id is under the provided id. -
getEntityId
This returns the root entity id for the overall object. -
idChain
-
toString
-
fromString
-
hashCode
public int hashCode() -
equals
-