Package org.omg.space.xtce
Class ErrorDetectCorrectType
- java.lang.Object
-
- org.omg.space.xtce.ErrorDetectCorrectType
-
public class ErrorDetectCorrectType extends Object
A simple element that provides for simple, but common error checking and detection.Java class for ErrorDetectCorrectType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ErrorDetectCorrectType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <choice> <element name="Parity"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="type" use="required"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="Even"/> <enumeration value="Odd"/> </restriction> </simpleType> </attribute> <attribute name="bitsFromReference" use="required" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" /> <attribute name="reference" default="start"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="start"/> <enumeration value="end"/> </restriction> </simpleType> </attribute> </restriction> </complexContent> </complexType> </element> <element name="CRC"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="Polynomial" type="{http://www.omg.org/space/xtce}PolynomialType"/> </sequence> <attribute name="bitsFromReference" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" /> <attribute name="reference" default="start"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="start"/> <enumeration value="end"/> </restriction> </simpleType> </attribute> </restriction> </complexContent> </complexType> </element> </choice> </restriction> </complexContent> </complexType>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classErrorDetectCorrectType.CRCJava class for anonymous complex type.static classErrorDetectCorrectType.ParityJava class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected ErrorDetectCorrectType.CRCcrcprotected ErrorDetectCorrectType.Parityparity
-
Constructor Summary
Constructors Constructor Description ErrorDetectCorrectType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ErrorDetectCorrectType.CRCgetCRC()Gets the value of the crc property.ErrorDetectCorrectType.ParitygetParity()Gets the value of the parity property.voidsetCRC(ErrorDetectCorrectType.CRC value)Sets the value of the crc property.voidsetParity(ErrorDetectCorrectType.Parity value)Sets the value of the parity property.
-
-
-
Field Detail
-
parity
protected ErrorDetectCorrectType.Parity parity
-
crc
protected ErrorDetectCorrectType.CRC crc
-
-
Method Detail
-
getParity
public ErrorDetectCorrectType.Parity getParity()
Gets the value of the parity property.- Returns:
- possible object is
ErrorDetectCorrectType.Parity
-
setParity
public void setParity(ErrorDetectCorrectType.Parity value)
Sets the value of the parity property.- Parameters:
value- allowed object isErrorDetectCorrectType.Parity
-
getCRC
public ErrorDetectCorrectType.CRC getCRC()
Gets the value of the crc property.- Returns:
- possible object is
ErrorDetectCorrectType.CRC
-
setCRC
public void setCRC(ErrorDetectCorrectType.CRC value)
Sets the value of the crc property.- Parameters:
value- allowed object isErrorDetectCorrectType.CRC
-
-