Class CycServiceItemDbReadType
- java.lang.Object
-
- org.apache.plc4x.java.s7.readwrite.CycServiceItemType
-
- org.apache.plc4x.java.s7.readwrite.CycServiceItemDbReadType
-
- All Implemented Interfaces:
Message,Serializable
public class CycServiceItemDbReadType extends CycServiceItemType implements Message
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCycServiceItemDbReadType.CycServiceItemDbReadTypeBuilderImpl-
Nested classes/interfaces inherited from class org.apache.plc4x.java.s7.readwrite.CycServiceItemType
CycServiceItemType.CycServiceItemTypeBuilder
-
-
Field Summary
Fields Modifier and Type Field Description protected List<SubItem>itemsprotected shortnumberOfAreas-
Fields inherited from class org.apache.plc4x.java.s7.readwrite.CycServiceItemType
byteLength, FUNCTIONID, syntaxId
-
-
Constructor Summary
Constructors Constructor Description CycServiceItemDbReadType(short byteLength, short syntaxId, short numberOfAreas, List<SubItem> items)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)List<SubItem>getItems()intgetLengthInBits()intgetLengthInBytes()shortgetNumberOfAreas()inthashCode()protected voidserializeCycServiceItemTypeChild(WriteBuffer writeBuffer)static CycServiceItemType.CycServiceItemTypeBuilderstaticParseCycServiceItemTypeBuilder(ReadBuffer readBuffer)StringtoString()-
Methods inherited from class org.apache.plc4x.java.s7.readwrite.CycServiceItemType
getByteLength, getFunctionId, getSyntaxId, serialize, staticParse, staticParse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.plc4x.java.spi.utils.Serializable
serialize
-
-
-
-
Method Detail
-
getNumberOfAreas
public short getNumberOfAreas()
-
serializeCycServiceItemTypeChild
protected void serializeCycServiceItemTypeChild(WriteBuffer writeBuffer) throws SerializationException
- Specified by:
serializeCycServiceItemTypeChildin classCycServiceItemType- Throws:
SerializationException
-
getLengthInBytes
public int getLengthInBytes()
- Specified by:
getLengthInBytesin interfaceMessage- Overrides:
getLengthInBytesin classCycServiceItemType
-
getLengthInBits
public int getLengthInBits()
- Specified by:
getLengthInBitsin interfaceMessage- Overrides:
getLengthInBitsin classCycServiceItemType
-
staticParseCycServiceItemTypeBuilder
public static CycServiceItemType.CycServiceItemTypeBuilder staticParseCycServiceItemTypeBuilder(ReadBuffer readBuffer) throws ParseException
- Throws:
ParseException
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classCycServiceItemType
-
hashCode
public int hashCode()
- Overrides:
hashCodein classCycServiceItemType
-
toString
public String toString()
- Overrides:
toStringin classCycServiceItemType
-
-