Package net.sf.okapi.filters.xini.jaxb
Class Field
- java.lang.Object
-
- net.sf.okapi.filters.xini.jaxb.Field
-
public class Field extends Object
Java class for Field complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Field"> <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="FieldID" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /> <attribute name="CustomerTextID" type="{http://www.w3.org/2001/XMLSchema}token" /> <attribute name="NoContent" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="RawSourceBeforeField" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="RawSourceAfterField" type="{http://www.w3.org/2001/XMLSchema}string" /> <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 intfieldIDprotected Stringlabelprotected BooleannoContentprotected StringrawSourceAfterFieldprotected StringrawSourceBeforeFieldprotected List<TextContent>segAndTrans
-
Constructor Summary
Constructors Constructor Description Field()
-
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.intgetFieldID()Gets the value of the fieldID property.StringgetLabel()Gets the value of the label property.StringgetRawSourceAfterField()Gets the value of the rawSourceAfterField property.StringgetRawSourceBeforeField()Gets the value of the rawSourceBeforeField 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.voidsetFieldID(int value)Sets the value of the fieldID property.voidsetLabel(String value)Sets the value of the label property.voidsetNoContent(Boolean value)Sets the value of the noContent property.voidsetRawSourceAfterField(String value)Sets the value of the rawSourceAfterField property.voidsetRawSourceBeforeField(String value)Sets the value of the rawSourceBeforeField property.
-
-
-
Field Detail
-
segAndTrans
protected List<TextContent> segAndTrans
-
fieldID
protected int fieldID
-
customerTextID
protected String customerTextID
-
noContent
protected Boolean noContent
-
rawSourceBeforeField
protected String rawSourceBeforeField
-
rawSourceAfterField
protected String rawSourceAfterField
-
label
protected String label
-
externalID
protected String externalID
-
emptySegmentsFlags
protected String emptySegmentsFlags
-
-
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
TransSeg- Returns:
- reference to the live list of
TextContents
-
getFieldID
public int getFieldID()
Gets the value of the fieldID property.- Returns:
- the value of the fieldID property
-
setFieldID
public void setFieldID(int value)
Sets the value of the fieldID property.
-
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
-
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
-
getRawSourceBeforeField
public String getRawSourceBeforeField()
Gets the value of the rawSourceBeforeField property.- Returns:
- possible object is
String
-
setRawSourceBeforeField
public void setRawSourceBeforeField(String value)
Sets the value of the rawSourceBeforeField property.- Parameters:
value- allowed object isString
-
getRawSourceAfterField
public String getRawSourceAfterField()
Gets the value of the rawSourceAfterField property.- Returns:
- possible object is
String
-
setRawSourceAfterField
public void setRawSourceAfterField(String value)
Sets the value of the rawSourceAfterField 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
-
-