Class ScheduleSeg
- java.lang.Object
-
- com.automation_pros.odva.cip.path.PathSegment
-
- com.automation_pros.odva.cip.path.NetworkSeg
-
- com.automation_pros.odva.cip.path.ScheduleSeg
-
- All Implemented Interfaces:
java.lang.Comparable<PathSegment>
public class ScheduleSeg extends NetworkSeg
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ScheduleSeg.Decoder
Decode bytes expected to contain one encoded path segment.static class
ScheduleSeg.Parser
This parser is expected to registered for the 'sched' and 'schedule' keywords.-
Nested classes/interfaces inherited from class com.automation_pros.odva.cip.path.PathSegment
PathSegment.HasAlternateHex
-
-
Field Summary
Fields Modifier and Type Field Description static byte
SUBTYPE
-
Fields inherited from class com.automation_pros.odva.cip.path.NetworkSeg
data, exttype, SEGTYPE, subtype
-
Fields inherited from class com.automation_pros.odva.cip.path.PathSegment
identifierChars, segtype
-
-
Constructor Summary
Constructors Constructor Description ScheduleSeg()
ScheduleSeg(byte sched)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(PathSegment o)
byte
getSchedule()
java.util.List<java.lang.String>
getTokens()
java.lang.String
simpleString()
Supply s simple descriptive name usable when browsing a hierarchy.-
Methods inherited from class com.automation_pros.odva.cip.path.NetworkSeg
getBytes, getValue, getWords, hashCode, put, set
-
Methods inherited from class com.automation_pros.odva.cip.path.PathSegment
decode, decodeAll, equals, getSegtype, hexString, mergeTokens, registerHandler, setSegtype, toString
-
-
-
-
Field Detail
-
SUBTYPE
public static final byte SUBTYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getSchedule
public byte getSchedule()
-
compareTo
public int compareTo(PathSegment o)
- Specified by:
compareTo
in interfacejava.lang.Comparable<PathSegment>
- Overrides:
compareTo
in classNetworkSeg
-
simpleString
public java.lang.String simpleString()
Description copied from class:PathSegment
Supply s simple descriptive name usable when browsing a hierarchy. A simple type name for elementary types, a non-detailed description for complex types.- Specified by:
simpleString
in classPathSegment
- Returns:
-
getTokens
public java.util.List<java.lang.String> getTokens()
- Specified by:
getTokens
in classPathSegment
-
-