Package net.sf.okapi.filters.xini.jaxb
Class TD
- java.lang.Object
-
- net.sf.okapi.filters.xini.jaxb.TD
-
public class TD extends Object
Java class for TD complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TD"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <sequence maxOccurs="unbounded" minOccurs="0"> <element name="Seg" type="{}Seg"/> <element name="Trans" type="{}Trans" maxOccurs="unbounded" minOccurs="0"/> </sequence> </sequence> <attribute name="NoContent" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="CustomerTextID" type="{}TokenMaxLen255" /> <attribute name="Label" type="{}TokenMaxLen255" /> <attribute name="ExternalID" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="EmptySegmentsFlags" type="{}TokenMaxLen255" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected StringcustomerTextIDprotected StringemptySegmentsFlagsprotected StringexternalIDprotected Stringlabelprotected BooleannoContentprotected List<TextContent>segAndTrans
-
Constructor Summary
Constructors Constructor Description TD()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCustomerTextID()Gets the value of the customerTextID property.StringgetEmptySegmentsFlags()Gets the value of the emptySegmentsFlags property.StringgetExternalID()Gets the value of the externalID property.StringgetLabel()Gets the value of the label property.List<Seg>getSeg()List<TextContent>getSegAndTrans()Gets the value of the segAndTrans property.BooleanisNoContent()Gets the value of the noContent property.voidsetCustomerTextID(String value)Sets the value of the customerTextID property.voidsetEmptySegmentsFlags(String value)Sets the value of the emptySegmentsFlags property.voidsetExternalID(String value)Sets the value of the externalID property.voidsetLabel(String value)Sets the value of the label property.voidsetNoContent(Boolean value)Sets the value of the noContent property.
-
-
-
Method Detail
-
getSegAndTrans
public List<TextContent> getSegAndTrans()
Gets the value of the segAndTrans property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the segAndTrans property.For example, to add a new item, do as follows:
getSegAndTrans().add(newItem);Objects of the following type(s) are allowed in the list
SegTrans
-
isNoContent
public Boolean isNoContent()
Gets the value of the noContent property.- Returns:
- possible object is
Boolean
-
setNoContent
public void setNoContent(Boolean value)
Sets the value of the noContent property.- Parameters:
value- allowed object isBoolean
-
getCustomerTextID
public String getCustomerTextID()
Gets the value of the customerTextID property.- Returns:
- possible object is
String
-
setCustomerTextID
public void setCustomerTextID(String value)
Sets the value of the customerTextID property.- Parameters:
value- allowed object isString
-
getLabel
public String getLabel()
Gets the value of the label property.- Returns:
- possible object is
String
-
setLabel
public void setLabel(String value)
Sets the value of the label property.- Parameters:
value- allowed object isString
-
getExternalID
public String getExternalID()
Gets the value of the externalID property.- Returns:
- possible object is
String
-
setExternalID
public void setExternalID(String value)
Sets the value of the externalID property.- Parameters:
value- allowed object isString
-
getEmptySegmentsFlags
public String getEmptySegmentsFlags()
Gets the value of the emptySegmentsFlags property.- Returns:
- possible object is
String
-
-