Package org.smooks.edifact.binding.d03b
Class BadMessage.Segment
- java.lang.Object
-
- org.smooks.edifact.binding.d03b.BadMessage.Segment
-
- Enclosing class:
- BadMessage
public static class BadMessage.Segment extends Object
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="Name" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="Data" type="{http://www.w3.org/2001/XMLSchema}hexBinary"/> </sequence> </restriction> </complexContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description Segment()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getData()Gets the value of the data property.StringgetName()Gets the value of the name property.voidsetData(byte[] value)Sets the value of the data property.voidsetName(String value)Sets the value of the name property.BadMessage.SegmentwithData(byte[] value)BadMessage.SegmentwithName(String value)
-
-
-
Method Detail
-
getName
public String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(String value)
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getData
public byte[] getData()
Gets the value of the data property.- Returns:
- possible object is
String
-
setData
public void setData(byte[] value)
Sets the value of the data property.- Parameters:
value- allowed object isString
-
withName
public BadMessage.Segment withName(String value)
-
withData
public BadMessage.Segment withData(byte[] value)
-
-